@import url("https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,200..800&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  width: 100vw;
  height: 100vh;
  background-color: #263d43;
  font-family: "Bricolage Grotesque", sans-serif;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

main {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  width: 100%;
  height: 100%;
}

@media screen and (max-width: 920px) {
  main {
    flex-direction: column-reverse;
  }
}

main .left {
  width: 100%;
  height: 100%;
  padding: 1.5rem;
  padding-top: 50px;

  display: flex;
  flex-direction: column;
}

@media screen and (min-width: 640px) {
  main .left {
    width: 50%;
    padding-left: 5%;
    padding-right: 10%;
  }
}

@media screen and (min-width: 920px) {
  main .left {
    width: 50%;
    padding-left: 5%;
    padding-right: 10%;
  }
}

main .left h1 {
  margin-bottom: 48px;
  font-size: 24px;
  line-height: 34px;
  font-weight: 600;
  text-align: left;
  color: #fff;
  text-align: center;
}

@media screen and (min-width: 450px) {
  main .left h1 {
    font-size: 48px;
    line-height: 64px;
  }
}
@media screen and (min-width: 920px) {
  main .left h1 {
    text-align: left;
  }
}

main .left p {
  font-weight: 400;
  color: #fff;

  font-size: 20px;
  line-height: 32px;
  text-align: center;
}

@media screen and (min-width: 920px) {
  main .left p {
    text-align: left;
  }
}

main .left a,
main .left a:visited,
main .left a:active {
  margin-left: auto;
  margin-right: auto;
  margin-top: 16px;

  width: fit-content;
  padding: 24px;

  border-radius: 100px;

  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: all 0.3s ease-in-out;

  background: #263d43;
}

main .left a:hover {
  background: #ffffff36;
}

@media (min-width: 920px) {
  main .left a,
  main .left a:visited,
  main .left a:active {
    margin-top: 48px;
    margin-left: -24px;
  }
}

main .right {
  position: relative;
  background-image: url("../img/bg.webp");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 50%;
  height: 100%;
}

@media screen and (max-width: 920px) {
  main .right {
    width: 100%;
    height: 40%;
  }
}

main .right img {
  position: absolute;
  right: auto;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

@media screen and (min-width: 920px) {
  main .right img {
    right: 65px;
    left: auto;
    top: 175px;
  }
}

.social {
  width: 64px;
  height: 64px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  color: #fff;

  background: transparent;
  border-radius: 50%;

  transition: all 0.3s ease-in-out;
}

.social:hover {
  background: #ffffff36;
}

footer {
  position: absolute;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  width: 90%;
  padding: 0.8rem 1rem;
  padding-top: 0.5rem;

  border-top: solid 1px #fff;
}

@media screen and (min-width: 920px) {
  footer {
    justify-content: flex-start;
    padding: 1.2rem 1rem;
  }
}
@media screen and (min-height: 720px) {
  footer {
    bottom: 0;
  }
}
@media screen and (min-height: 920px) {
  footer {
    bottom: 8%;
  }
}

.spacer {
  height: 100vh;
  background: #f0f0f0;
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
  transition-delay: var(--delay, 0s);
}

.fade-in-img {
  opacity: 0;

  transition: all 0.6s ease;
}

.fade-in-img.visible {
  opacity: 1;

  transition-delay: var(--delay, 0s);
}
