@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  outline: 0;
  font-family: 'Inter', sans-serif;
}

.show-menu-side {
  background: transparent;
  color: white;
}

.sub-main-title {
  z-index: 2;
}

/* Popup de feedback do cadastro (padrao antigo, sem overlay
   escuro, com botao "Confirmar" que leva para o site do CIEE).
   Escondido por padrao. Mostrado pelo JS via classe `.show`.
   Classe namespace-safe (.alert-cadastro) para nao colidir
   com a `.alert` do schoolData.css. */
.alert-cadastro {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: #ffffff;
  outline: 2px solid gray;
  width: 90%;
  max-width: 720px;
  padding: 1rem 1.5rem;
  border-radius: 0.8rem;
  /* Centralizado vertical e horizontalmente na viewport */
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
}

.alert-cadastro.show {
  display: flex;
}

.alert-cadastro .title-cadastro {
  font-size: 1.2em;
  font-weight: 700;
  margin: 1rem auto 0rem auto;
}

.alert-cadastro .message-final {
  margin: 1rem auto;
  font-size: 1em;
  line-height: 1.5;
}

.alert-cadastro .data-erro {
  font-size: 0.85rem;
  color: #6b7a90;
  margin-top: 0.5rem;
}

.alert-cadastro .data-erro p {
  margin: 0;
}

.title {
  background-color: #004892;
  color: white;
  height: 3.1rem;
  display: flex;
  align-items: center;
}

.title h1 {
  margin-left: 0.9rem;
  font-size: 1.2rem;
}

.fixed {
  position: fixed;
  bottom: 0;
  z-index: 3;
}

.nav-bar {
  top: 0;
  width: 12rem;
  height: 100vh;
  background-color: white;
  outline: 0.1rem solid rgb(204, 204, 204);
  padding-top: 1rem;
  overflow: auto;
}

.position {
  position: relative;
  top: 0;
}

.position:nth-child(3) {
  position: absolute;
}

.container {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.container img {
  width: 8rem;
  margin: 1rem 1rem 1rem 0rem;

}

.container-mobile {
  display: none;
}

.main {
  margin-top: 0rem;
}

.main-side {
  display: block;
  margin: 0 0 3rem 0;
}

.big-basic-data,
.big-terms-conditions,
.big-address,
.big-school-data,
.big-socio-economic,
.big-programa-curso {
  background-color: white;
  border-radius: 10px;
  padding: 1rem 0.5rem;
  display: flex;
  align-items: center;
  border: none;
  font-size: 1rem;
  font-weight: 500;
  color: #2f2f2f;
  cursor: pointer;
  /* outline: none; */
  margin-top: 0.5rem;
  margin-left: 0.5rem;
  text-align: left;
  transition: all 600ms;
  width: 92%;
}

.big-basic-data img,
.big-terms-conditions img,
.big-address img,
.big-school-data img,
.big-socio-economic img,
.big-programa-curso img {
  margin-right: 1rem;
  width: 1.3rem;
}

.big-address {
  padding-right: 2rem;
}

.big-basic-data:hover,
.big-terms-conditions:hover,
.big-address:hover,
.big-school-data:hover,
.big-socio-economic:hover,
.big-programa-curso:hover {
  background-color: rgba(86, 88, 94, 0.3);
}

.big-basic-data:focus,
.big-terms-conditions:focus,
.big-address:focus,
.big-school-data:focus,
.big-socio-economic:focus,
.big-programa-curso:focus {
  outline: none;
}

.screen-main .sub-main-title {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  height: 2.7rem;
  background-color: white;
  outline: 0.1rem solid rgb(204, 204, 204);
  display: flex;
  flex-direction: row;
  align-items: center;
}

.screen-main h1 {
  margin-left: 13rem;
  color: black;
}

.h1-sub-title {
  font-size: 1.5rem;
}

.main-side-mobile {
  display: none;
  margin: 0 0 3rem 0;

}

.button-menu-mobile,
.screen-basic-data1,
.screen-address,
.screen-school-data,
.screen-socio-economic,
.screen-programa-curso {
  display: none;
}

/* width */
::-webkit-scrollbar {
  width: 1px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #f1f1f1;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #f1f1f1;
}

@media screen and (max-width: 920px) {

  .nav-bar {
    display: block;
    position: absolute;
    width: 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    overflow: auto;
  }

  .title {
    background-color: #004892;
    color: white;
    height: 3.1rem;
    display: flex;
    align-items: center;
  }

  .title h1 {
    margin-left: 0.9rem;
    font-size: 1.2rem;
  }

  .div-button {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .screen-main {
    margin-top: 2.5rem;
  }

  .screen-main h1 {
    margin-left: 4.7rem;
    color: black;
  }

  .screen-main .sub-main-title {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
  }

  .h1-sub-title {
    margin: auto 0rem;
    font-size: 1rem;
  }

  .main-side {
    display: none;
    margin: 0 0 3rem 0;
  }

  .top-menu {
    top: 0;
    position: fixed;
    z-index: 1;
    display: flex;
    align-items: center;
    background: linear-gradient(90deg, rgba(1, 72, 146, 255) 35%, rgba(201, 46, 109, 255) 100%);
    width: 100%;
    height: 2.5rem;
    outline: solid 1px rgb(84, 84, 84, 0.3);
  }

  .button-menu-mobile {
    position: absolute;
    margin-left: 4.5rem;
    display: flex;
    align-items: center;
  }

  .button-menu-mobile button {
    background-color: transparent;
    border: none;
    cursor: pointer;
  }

  .close-menu-side {
    display: none;
  }

  .fixed {
    top: 0;
  }

  .container {
    margin: -0.7rem 0.3rem 0rem 0.3rem;
  }

  .container img {
    margin-top: 0.5rem;
    margin-left: 0.5rem;
    width: 4rem;
    padding-left: 0.2rem;
    margin-bottom: 0rem;
  }

  .big-basic-data img,
  .big-terms-conditions img,
  .big-address img,
  .big-school-data img,
  .big-socio-economic img,
  .big-programa-curso img {
    margin-right: 1rem;
    width: 1rem;
  }

  .main-side-mobile {
    display: block;
    margin: 0 0 3rem 0;
  }

  .main-side-mobile button {
    padding-bottom: 1rem;
    background-color: white;
    cursor: pointer;
    border: none;
    margin-bottom: 2rem;
  }

  .main-side-mobile img {
    padding: 0.5rem;
    width: 2.6rem;
  }

  .main-side-mobile button:focus {
    outline: none;
  }

  .button-basic-data:hover,
  .button-terms-conditions:hover,
  .button-address:hover,
  .button-school-data:hover,
  .button-socio-economic:hover,
  .button-programa-curso:hover {
    background-color: rgba(88, 84, 84, 0.3);
  }
}

@media screen and (max-width: 300px) {
  .h1-sub-title {
    font-size: 1rem;
  }
}

@media screen and (max-height:700px) {

  .big-basic-data,
  .big-terms-conditions,
  .big-address,
  .big-school-data,
  .big-socio-economic,
  .big-programa-curso {
    padding: 1rem 0.5rem;
    margin-top: 0rem;
  }

  .main-side-mobile {
    padding: 0rem;
    margin: 0 0 3rem 0;
  }

  .main-side-mobile button {
    padding-bottom: 1rem;
    margin-bottom: 1rem;
  }

  .container {
    margin: -1.2rem 0.5rem 0.25rem 1rem;
  }
}

@media screen and (max-height:570px) {
  .main-side-mobile button {
    padding-bottom: 0.5rem;
    margin-bottom: 0.5rem;
  }
}

@media screen and (max-height:600px) {
  .container {
    margin: -1.2rem 0.5rem 0.25rem 1rem;
  }

  .main-side-mobile {
    margin-top: -2rem;
  }

  .nav-bar {
    overflow: auto;
  }
}

@media screen and (max-height:400px) {
  .nav-bar {
    overflow: auto;
  }
}

@media screen and (max-height:360px) {
  .nav-bar {
    overflow: auto;
  }
}