.connect-modal-container {
  /* position: fixed;
    z-index: 1000;
    background-color: #f6f1ed;
    opacity: 1;
    display: none;
    transition: all 300ms ease-in-out;
    position: fixed;
    margin: auto;
    padding: 10px;
    width: 1000px;
    height: 500px;
    box-shadow: rgb(17 17 26 / 10%) 0px 8px 24px, rgb(17 17 26 / 10%) 0px 16px 56px, rgb(17 17 26 / 10%) 0px 24px 80px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); */
  position: fixed;
  z-index: 1000;
  background-color: #f6f1ed;
  opacity: 1;
  display: none;
  transition: all 300ms ease-in-out;
  position: absolute;
  margin: auto;
  padding: 10px;
  width: 1000px;
  height: 500px;
  box-shadow: rgb(17 17 26 / 10%) 0px 8px 24px,
    rgb(17 17 26 / 10%) 0px 16px 56px, rgb(17 17 26 / 10%) 0px 24px 80px;
  top: 60%;
  /* left: 50%; */
  left: 0;
  right: 0;
}

.open {
  pointer-events: auto;
  display: block;
  /* animation: fadein .5s; */
  z-index: 100000;
  overflow-y: auto;
}

.connect-modal-subheader {
  max-width: 80%;
  display: flex;
  justify-content: center;
  margin: auto;
  margin: 10px auto;
}

.connect-links-container img {
  padding-right: 3px;
  width: 29px;
}

.image-container img {
  width: 100%;
  height: auto;
}

.image-container {
  width: 100%;
  /* max-width: 315px; */
  margin: 0 auto;
}

@keyframes fadein {
  from {
    opacity: 0.8;
  }

  to {
    opacity: 1;
  }
}

.xConnect {
  cursor: pointer;
}

a.info-wrapper-link:hover {
  color: black;
}

.xImage:hover {
  transform: rotate(180deg);
  transition: transform 0.5s ease-out;
}

img.xImage {
  width: 32px;
}

.close-modal {
  display: flex;
  justify-content: flex-end;
}

.connect-modal-alert {
  max-width: 80%;
  display: flex;
  justify-content: center;
  margin: auto;
  padding-top: 1rem;
  background: #ea3f34;
  color: #fff;
  margin: 10px auto;
}

.connect-modal-wrapper {
  display: grid;
  position: relative;
  top: 4%;
  max-width: 1023px;
  margin: auto;
  height: fit-content;
  /* overflow-y: auto; */
  grid-template-columns: 1fr 40px;
  grid-gap: 20px;
  padding: 0 2rem;
  padding-bottom: 2rem;
}

a.info-wrapper-link {
  text-decoration: none;
  font-size: 20px;
  color: #ea3f34;
}

.info-wrapper {
  position: relative;
  top: 5rem;
}

.info-wrapper > * {
  padding-bottom: 10px;
}

.connect-modal-body-text {
  font-family: stolzl, sans-serif;
  font-style: normal;
  font-size: 16px;
  line-height: 30px;
}

.connect-modal-desc-text {
  font-family: stolzl, sans-serif;
  font-style: normal;
  font-size: 17px;
  color: black;
  line-height: 24px;
}

.connect-modal-desc-text a {
  color: black;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
}

.connect-modal-desc-text a:hover {
  text-decoration: underline;
}

.connect-links-container {
  display: flex;
  justify-content: space-around;
  /* flex-direction: column; */
}

.connect-modal-title-text {
  font-family: stolzl, sans-serif;
  font-style: normal;
  font-size: 40px;
  color: black;
  font-weight: 600;
  /* line-height: 58px; */
}

a.connect-wallet {
  font-size: 16px;
  padding: 8px 12px 8px 8px;
  /* border: 2px solid rgb(255, 255, 255); */
  /* background-color: rgb(0, 0, 0); */
  /* color: rgb(255, 255, 255); */
  font-weight: 700;
  appearance: none;
  /* margin: 2px 2px 2px 14px; */
  cursor: pointer;
}

@media screen and (max-width: 768px) {
  .xImage {
    width: 25px;
  }

  .connect-modal-wrapper {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
  }

  .connect-modal-body-text {
    font-size: 16px;
  }

  .connect-modal-desc-text {
    font-size: 16px;
  }

  .connect-modal-title-text {
    font-size: 24px;
  }

  .xConnect {
    position: absolute;
    right: 6px;
    top: -50px;
    font-size: 20px;
  }

  .image-container {
    width: 100%;
    max-width: 315px;
    margin: 0 auto;
  }

  .connect-modal-wrapper {
    padding: 0;
  }

  .connect-links-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-left: 10px;
  }

  .connect-modal-desc-text {
    margin-top: 1rem;
  }

  .connect-modal-alert {
    font-size: 14px;
    padding: 18px;
  }

  .connect-modal-subheader p {
    font-size: 14px;
  }
}

@media screen and (max-width: 1000px) {
  a.connect-wallet {
    margin: 2px 2px 2px 0;
  }

  .connect-modal-container {
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    transform: none;
  }

  .connect-modal-alert {
    max-width: 97%;
  }

  .connect-modal-wrapper {
    padding: 0;
    top: 20%;
  }

  .connect-modal-subheader {
    max-width: 97%;
  }

  .connect-wallet {
    padding-left: 0;
  }
}
