@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Satisfy&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
}

body {
  width: 100%;
  height: 100%;
}

/*------------------------------HEADER------------------------------*/
header {
  width: 100%;
}

header .container-header {
  display: grid;
  grid-template: auto / 25% 75%;
}

.logo {
  display: grid;
  color: #e85186;
  align-items: center;
  justify-content: center;
}

.logo h1 {
  font-size: 6vw;
  font-weight: lighter;
  font-family: "Satisfy", cursive;
}

.navbar {
  width: 100%;
  display: grid;
  align-items: center;
  justify-content: flex-end;
}

.nav-menu {
  display: flex;
  list-style: none;
  justify-content: flex-end;
}

.nav-item {
  font-size: 1.7vw;
  padding: 1vh 1.7vw;
}

.nav-link {
  color: black;
  text-decoration: none;
}

.nav-link:hover {
  text-decoration: underline;
  text-decoration-color: #e85186;
}

.hamburger {
  display: none;
}

.bar {
  width: 30px;
  height: 3px;
  display: block;
  margin: 3px auto;
  background-color: #e85186;
  transition: all 0.3s ease-in-out;
  -webkit-transition: all 0.3s ease-in-out;
}

/*---------------------------------------- CONTAINER ----------------------------------------*/
.container {
  width: 100%;
  height: 100%;
  display: grid;
  align-items: center;
  justify-items: center;
  grid-template: auto auto / 100%;
}

.container .title {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.container .title h1 {
  font-size: 6vw;
  color: #e85186;
  font-weight: lighter;
  font-family: "Satisfy", cursive;
}

.container .content {
  width: 100%;
  display: grid;
}

.container .content .cronograma {
  width: 50%;
  height: 100%;
  margin: auto;
  display: grid;
  padding: 2vh 2vw;
  align-items: flex-start;
  justify-content: center;
}

/* Style the buttons that are used to open and close the accordion panel */
.accordion {
  width: 70vw;
  border: none;
  margin: 2vh 0;
  outline: none;
  display: grid;
  color: white;
  cursor: pointer;
  font-size: 1.5vw;
  transition: 0.4s;
  padding: 2vh 1vw;
  text-align: left;
  border-radius: 20px;
  align-items: center;
  justify-content: center;
  background-color: #e85186;
  grid-template: auto / 95% 5%;
}

.accordion:after {
  float: right;
  font-size: 1vw;
  margin-top: 1vh;
  content: url("../assets/arrow-down.svg"); /* Unicode character for "plus" sign (+) */
}

.accordion .active:after {
  content: url("../assets/arrow-up.svg"); /* Unicode character for "minus" sign (-) */
}

/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
.accordion .active,
.accordion:hover {
  background-color: #fd8ab2;
}

/* Style the accordion panel. Note: hidden by default */
.panel {
  display: none;
  padding: 0 1vw;
  overflow: hidden;
  font-size: 1.3vw;
  text-align: justify;
}

.container .content .forms {
  display: grid;
  align-items: flex-start;
  justify-content: center;
  background-color: #e85186;
  border-radius: 20px 20px 0 0;
}

.container .content .forms form {
  display: grid;
  padding: 2vh 0;
}

.container .content .forms form label {
  width: 35vw;
  margin: auto;
  display: none;
  color: white;
  font-size: 1.5vw;
  padding: 2vh 2vw;
  text-align: center;
  border-radius: 10px;
}

.container .content .forms form input {
  width: 40vw;
  margin: 4vh 0;
  color: #e85186;
  font-size: 1.5vw;
  padding: 1vh 1vw;
  border-style: none;
  border-radius: 10px;
  background-color: white;
}

.container .content .forms form .text::placeholder {
  color: #e85186;
}

.container .content .forms form .subscribe {
  width: 20vw;
  margin: auto;
}

/*------------------------------FOOTER------------------------------*/
footer {
  width: 100%;
}

footer .container-footer {
  width: 100%;
  display: grid;
  align-items: center;
  justify-content: center;
  grid-template: auto auto / 100%;
}

footer .container-footer .regua {
  width: 100%;
  display: grid;
  align-items: center;
  justify-content: center;
}

footer .container-footer .regua img {
  width: 99%;
  margin: auto;
  margin-bottom: 1vh;
}

footer .container-footer .termos {
  display: grid;
  padding: 2vh 0;
  justify-content: center;
}

footer .container-footer .termos ul {
  display: flex;
  list-style: none;
}

footer .container-footer .termos ul li {
  font-size: 1.4vw;
  padding: 1vh 15vw;
}

footer .container-footer .termos ul li a {
  color: lightgray;
  text-decoration: none;
}

footer .container-footer .termos ul li a:hover {
  text-decoration: underline;
  text-decoration-color: #e85186;
}

/*------------------------------RESPONSIVIDADE------------------------------*/
@media screen and (max-width: 768px) {
  /*------------------------------HEADER------------------------------*/
  header .container-header {
    grid-template: auto / 50% 50%;
  }

  .logo h1 {
    font-size: 10vw;
  }

  .nav-menu {
    top: 15vh;
    width: 100%;
    left: -100%;
    transition: 0.3s;
    text-align: center;
    position: absolute;
    flex-direction: column;
    background-color: #fff;
    /* box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05); */
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-item {
    margin: 2vh 0;
  }

  .nav-item {
    font-size: 3vw;
  }

  .hamburger {
    display: grid;
    margin: 2vh 2vw;
    cursor: pointer;
    align-items: center;
    justify-content: flex-end;
    grid-template: auto auto auto / auto;
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }

  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }

  /*------------------------------CONTAINER------------------------------*/
  .container .title h1 {
    font-size: 8vw;
  }

  .accordion {
    width: 70vw;
    font-size: 2vw;
  }

  .panel {
    font-size: 1.5vw;
  }

  .container .content .forms form label {
    width: 50vw;
    font-size: 2vw;
  }

  .container .content .forms form input {
    width: 60vw;
    font-size: 2.5vw;
  }

  .container .content .forms form .subscribe {
    width: 30vw;
  }

  /*------------------------------FOOTER------------------------------*/
  footer .container-footer .termos ul li {
    font-size: 2vw;
  }
}

@media screen and (max-width: 425px) {
  /*------------------------------HEADER------------------------------*/
  .nav-menu {
    top: 10vh;
  }

  .bar {
    width: 20px;
    margin: 2px auto;
  }

  .hamburger.active .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /*------------------------------CONTAINER------------------------------*/
  .container .title h1 {
    font-size: 10vw;
  }

  .accordion {
    width: 80vw;
    font-size: 3vw;
    grid-template: auto / 90% 10%;
  }

  .panel {
    font-size: 2.5vw;
  }

  .container .content .forms form label {
    width: 60vw;
    font-size: 2.5vw;
  }

  .container .content .forms form input {
    width: 70vw;
    font-size: 3vw;
  }

  .container .content .forms form .subscribe {
    width: 50vw;
  }

  /*------------------------------FOOTER------------------------------*/
  footer .container-footer .termos ul li {
    padding: 1vh 10vw;
    font-size: 2.5vw;
  }
}
