@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;700&display=swap");

* {
  box-sizing: border-box;
}

body {
  background-color: #eee;
  color: #e6b938;
  font-size: 1.2rem;
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
}

/* header and footer */

.main-nav ul,
.footer-nav ul {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav a,
.footer-nav a {
  color: black;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 5px;
  font-family: bebas;
  padding: 1rem;
}

.main-nav a:hover,
.footer-nav a:hover {
  color: #adadad;
}

.main-header,
.main-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.main-header {
  height: 140px;
}

.brand-logo {
  display: flex;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.brand-logo img{
    height: 25px;
}

.brand-logo-name {
    font-family: bebas;
    color: black;
  font-size: 30px;
  font-weight: normal;
  margin: 0 0 0 1rem;
  letter-spacing: 5px;
}

.main-footer {
  height: 70px;
  background-color: #f79c3a;
  font-weight: bold;
}

.social-link svg {
  width: 1em;
  margin-right: 0.25rem;
}

.main-footer .container {
  display: flex;
  justify-content: space-between;
}

/* layout */

.full-height-grow {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  flex-grow: 1;
}

/* hero */

.hero-section {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  flex-grow: 1;
}

.hero-section .img-wrapper {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-end;
  min-width: 30vw;
  
  flex-grow: 1;
}

.hero-section .My-image {
  background: url("cool.jpg") bottom left /
    contain no-repeat;
  flex-grow: 1;
  min-width: 30vw;
  max-height: 70vh;
}

.hero-section .call-to-action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 1rem;
  align-self: center;
}

.title {
  text-decoration: solid;
  font-size: 3em;
  margin-bottom: 1px;
  margin-top: 0;
}

.subtitle {
    font-family: moon;
    color: rgb(171, 169, 169);
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 2rem;
  margin-top: 5px;
  letter-spacing: 5px;
}

.btn {
  cursor: pointer;
  font-weight: 500;
  background-color: white;
  color: black;
  text-decoration: none;
  font-size: 0.9rem;
  border-radius: 0.5rem;
  padding: 0.75rem 1.5rem;
  outline: none;
  border: none;
}

.btn:hover {
  background-color: #2180d8;
}

.btn:focus {
  background-color: #2796ff;
}

.hero-circle-1 {
  position: absolute;
  bottom: 5vw;
  left: 5vw;
  width: 25vw;
  height: 25vw;
  border-radius: 50%;
  background-color: rgb(188, 58, 128, 0.1);
  z-index: -1;
}

.hero-circle-2 {
  position: absolute;
  top: 15vh;
  left: 30vw;
  width: 25vw;
  height: 25vw;
  border-radius: 50%;
  background-color: rgb(52, 87, 178, 0.1);
  z-index: -1;
}

.hero-circle-3 {
  position: absolute;
  overflow: hidden;
  bottom: 0;
  right: 0;
  width: 45vw;
  height: 45vw;
  z-index: -1;
}

.hero-circle-3::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: rgb(52, 87, 178, 0.1);
  transform: translate(40%, 40%);
}

/* discover */

.alternate-background {
  background: white;
  background: radial-gradient(#e6b938, #f79c3a);
}

.discover-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-grow: 1;
  color: white;
}

.discover-section .covers-image {
  width: 30vw;
  margin-left: 2rem;
  height: auto;
  max-width: 350px;
}

.icon-section {
  display: flex;
}

.icon {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  margin: 0.5rem 0.5rem 2rem;
  padding: 0.75rem;
  width: 100px;
  height: 100px;
  background-color: #eee;
  border-radius: 8px;
  color: black;
}

.icon a{
  font-size: 80%;
}

.icon svg{
    margin-top: 10px;
    height: 30px;
}

.icon img {
  width: 40px;
}

/* join */

.join-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-grow: 1;
}

.join-text {
  font-size: 3.5em;
  font-weight: bold;
  margin: 0px;
  line-height: 90%;
}

.accent-text {
  color: #bc3a80;
}

.join-form {
  background-color: #f79c3a;
  width: 50vw;
  max-width: 50%;
  padding: 3%;
  border-radius: 8px;
}

.input-group {
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  
}


.input-group:last-child {
  margin-bottom: 0;
}

.input-group label {
  font-family: moon;
  letter-spacing: 10px;
  font-size: 70%;
    color: white;
  font-weight: bolder;
  margin-bottom: 0.5rem;
}

.input-group input {
  outline: none;
  background: #eee;
  border: 1px ;
  font-size: 1em;
  padding: 0.5em;
  color: black;
  border-radius: 5px;
}

.input-group input:focus {
  border-color: #596da0;
}

.circles {
  position: relative;
}

.join-circle-1 {
  position: absolute;
  overflow: hidden;
  width: 35vw;
  height: 35vw;
  bottom: 0;
  left: 0;
  z-index: -1;
}

.join-circle-1::before {
  content: "";
  transform: translateX(-20%);
  position: absolute;
  height: 100%;
  width: 100%;
  border-radius: 50%;
  background-color: rgb(188, 58, 128, 0.1);
}

.join-circle-2 {
  position: absolute;
  overflow: hidden;
  width: 30vw;
  height: 30vw;
  top: 0;
  left: 20vw;
  z-index: -1;
}

.join-circle-2::before {
  content: "";
  transform: translateY(-30%);
  position: absolute;
  height: 100%;
  width: 100%;
  border-radius: 50%;
  background-color: rgb(52, 87, 178, 0.1);
}

@media (max-width: 992px) {
  .main-header,
  .container {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
  }

  .main-footer {
    height: 140px;
    background-color: #f79c3a;
  }

  .hero-section {
    flex-direction: column-reverse;
  }

  .hero-section .call-to-action {
    align-items: center;
  }

  .title {
    font-size: 2em;
  }

  .subtitle {
    font-size: 1em;
    margin-bottom: 1rem;
    text-align: center;
  }

  @media (max-height: 500px) {
    .hero-section .lady-image {
      display: none;
    }
  }

  .discover-section {
    flex-direction: column;
    justify-content: center;
  }

  .discover-section .covers-image {
    margin: 2rem 0 0;
    height: 30vh;
    width: auto;
  }

  .icon-section {
    justify-content: center;
  }

  .join-section {
    flex-direction: column;
    justify-content: center;
  }

  .join-text {
    font-size: 2.5em;
  }

  .join-form {
    width: 80vw;
    max-width: inherit;
    margin: 2rem 0;
  }
}
