/* Aplica estilos a todos los elementos */
* {
  /* Elimina cualquier margen predeterminado de todos los elementos */
  margin: 0;

  /* Elimina cualquier relleno (padding) predeterminado de todos los elementos */
  padding: 0;

  /* Establece el modelo de caja para que el ancho y el alto del elemento incluyan el borde y el relleno */
  box-sizing: border-box;
}

/* COLOR PRINCIPAL 
background-color:  rgb(41, 103, 92);

COLOR DE ICONOS, LETRAS
background-color: rgb(245, 245, 245);

FUENTE DE LETRAS
font-family: "Rokkitt", serif;
*/

/* BODY */
body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  background-color: rgb(245, 245, 245);
  width: 100%;
  height: 100vh;
}
/* HEADER */
header {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgb(41, 103, 92);
  width: 100%;
  height: 10vh;
}
/* MAIN */
main {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
  overflow: auto;
  width: 100%;
  height: 70vh;
}
main::-webkit-scrollbar {
  width: 10px; /* Para ejes verticales */
}
main::-webkit-scrollbar-track {
  border: solid 3px rgb(41, 103, 92);
  border-radius: 5px;
}
main::-webkit-scrollbar-thumb {
  background-color: rgb(41, 103, 92);
  border-radius: 5px;
}
/* FOOTER */
footer {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  background-color: rgb(41, 103, 92);
  width: 100%;
  height: 15vh;
}

/* MEDIA QUERY PARA DISPOSITIVO MOVIL */
@media (min-width: 320px) and (max-width: 576px) {
  /* NAV */
  .nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100%;
  }
  .nav-home {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 100%;
  }
  .nav-home h3 {
    display: none;
  }
  .nav-bars {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 100%;
  }
  .navItems-container {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    background-color: rgb(41, 103, 92, 0.9);
    border: solid 3px rgb(245, 245, 245);
    position: absolute;
    z-index: 10;
    top: 0;
    width: 100%;
    height: 100vh;
  }
  .navItems-header {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: rgb(245, 245, 245);
    border-radius: 10px;
    width: 90%;
    height: 50px;
  }
  .navItems-container li {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgb(245, 245, 245);
    color: rgb(41, 103, 92);
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 600;
    font-family: "Rokkitt", serif;
    letter-spacing: 1px;
    text-transform: uppercase;
    list-style-type: none;
    width: 50%;
    height: 40px;
  }

  /* CONTENEDOR DE FUNCIONES NAV ITEMS */
  .function-nav-items-container {
    display: none;
    justify-content: center;
    align-items: center;
    background-color: rgb(41, 103, 92, 0.9);
    border: solid 3px rgb(245, 245, 245);
    position: absolute;
    top: 0;
    z-index: 30;
    width: 100%;
    height: 100vh;
  }
  .function-nav-items-container button {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: red;
    position: absolute;
    border: none;
    border-radius: 5px;
    margin-left: 85%;
    margin-bottom: 90vh;
    width: 25px;
    height: 25px;
  }

  /* CALCULATOR */
  .calculator-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-transform: uppercase;
    padding: 5px;
    width: 100%;
    height: 100%;
  }
  .calculator-header {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    font-family: "Rokkitt", serif;
    width: 100%;
    height: 20%;
  }
  .calculator-header h4 {
    color: rgb(41, 103, 92);
    font-size: 1.4rem;
  }
  .calculator-header p {
    text-align: center;
    font-size: 1rem;
  }
  .section-ars {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    background-color: rgb(41, 103, 92);
    color: rgb(245, 245, 245);
    border-radius: 10px;
    width: 90%;
    height: 20%;
  }
  .section-ars label {
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: "Rokkitt", serif;
    font-size: 1.2rem;
    width: 100%;
    height: 40%;
  }
  .section-ars input {
    text-align: center;
    text-transform: uppercase;
    border: none;
    border-radius: 5px;
    width: 70%;
    height: 30%;
  }
  .dollar-results-container {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    height: 55%;
  }
  .section-dollar-results {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    background-color: rgb(41, 103, 92);
    color: rgb(245, 245, 245);
    border-radius: 10px;
    width: 95%;
    height: 25px;
  }
  .section-dollar-results p {
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: "Rokkitt", serif;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    width: 60%;
    height: 95%;
  }
  .section-dollar-results input {
    border: none;
    border-radius: 5px;
    text-align: center;
    width: 25%;
    height: 75%;
  }
  /* CONTACTO */
  .contact-container {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    width: 100%;
    height: 100%;
  }
  .contact-header {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80%;
    height: 15%;
  }
  .contact-header h4 {
    text-align: center;
    color: rgb(245, 245, 245);
    font-family: "Rokkitt", serif;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
  }
  .contact-networks {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    width: 95%;
    height: 70%;
  }
  .contact-networks section {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    background-color: rgb(245, 245, 245);
    border-radius: 10px;
    width: 60%;
    height: 15%;
  }
  .contact-networks p {
    color: rgb(41, 103, 92);
    font-family: "Rokkitt", serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
  }
  /* ABOUT THE SITE */
  .about-the-site-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
  }
  .about-the-site-container article {
    width: 95%;
  }
  .about-the-site-container p {
    color: rgb(245, 245, 245);
    text-align: center;
    text-transform: uppercase;
    font-size: 0.8rem;
    font-family: "Rokkitt", serif;
    font-weight: 600;
    letter-spacing: 1px;
    line-height: 2;
  }
  .about-the-site-container a {
    color: black;
    text-decoration: none;
  }

  /* MAIN */

  /* CARD DE MONEDA*/
  .card-dolar {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    background-color: rgb(41, 103, 92);
    border-radius: 15px;
    font-family: "Rokkitt", serif;
    text-transform: uppercase;
    width: 95%;
    height: 180px;
    margin: 10px;
  }
  .card-dolar h4 {
    display: flex;
    justify-content: center;
    align-items: center;
    color: rgb(245, 245, 245);
    width: 100%;
    height: 35px;
  }
  .card-dolar section {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    background-color: rgb(245, 245, 245);
    color: rgb(27, 38, 49);
    border-radius: 5px;
    width: 90%;
    height: 40px;
  }
  .card-dolar section p {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30%;
    height: 60%;
  }
  .card-dolar section span {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgb(41, 103, 92);
    color: rgb(245, 245, 245);
    border-radius: 10px;
    letter-spacing: 1px;
    font-weight: 600;
    width: 30%;
    height: 70%;
  }
  .card-dolar button {
    background-color: transparent;
    color: rgb(245, 245, 245);
    border: solid 2px rgb(245, 245, 245);
    border-radius: 10px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    width: 50%;
    height: 30px;
  }
  /* FOOTER */
  .footer h4 {
    display: flex;
    justify-content: center;
    align-items: center;
    color: rgb(245, 245, 245);
    font-family: "Rokkitt", serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: 75%;
    height: 30%;
  }
  .info-page-container {
    display: none;
    justify-content: center;
    align-items: center;
    background-color: rgb(41, 103, 92, 0.9);
    position: absolute;
    top: 0;
    z-index: 30;
    width: 100%;
    height: 100vh;
  }
  .info-page-container button {
    background-color: red;
    border: none;
    border-radius: 50%;
    position: absolute;
    margin-left: 85%;
    margin-bottom: 90vh;
    width: 30px;
    height: 30px;
  }
  .info-page-container p {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: rgb(239, 239, 239);
    border-radius: 10px;
    font-family: "Rokkitt", serif;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.5;
    padding: 3px;
    width: 95%;
    height: 80%;
  }
  .redes-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 90%;
    height: 50%;
  }
  .redes-container li {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgb(239, 239, 239);
    border-radius: 5px;
    list-style-type: none;
    width: 10%;
    height: 70%;
  }
}

/* MEDIA QUERY PARA TABLETS */
@media (min-width: 577px) and (max-width: 992px) {
  /* NAV */
  .nav-inicio {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 90px;
    height: 100%;
  }
  .nav-inicio i {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 40%;
  }
  .nav-inicio h3 {
    display: flex;
    justify-content: center;
    align-items: center;
    color: rgb(0, 99, 92);
    font-family: "Rokkitt", serif;
    text-transform: uppercase;
    width: 100%;
    height: 40%;
  }
  .open-items {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 90px;
    height: 100%;
  }
  .nav-items {
    display: none;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    background-color: rgb(0, 99, 92);
    border-radius: 10px 0 0 10px;
    position: absolute;
    z-index: 10;
    margin-left: 60%;
    top: 0;
    width: 40%;
    height: 100vh;
  }
  .close-items {
    background-color: red;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
  }
  .nav-items li {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgb(239, 239, 239);
    color: rgb(0, 99, 92);
    border-radius: 15px;
    font-size: 1rem;
    font-weight: 600;
    font-family: "Rokkitt", serif;
    text-transform: uppercase;
    width: 80%;
    height: 40px;
  }
  /* MAIN */

  /* TITULO CONTAINER */
  .title-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80%;
    height: 10%;
  }
  .title-container h4 {
    color: rgb(0, 99, 92);
    text-transform: uppercase;
    font-family: "Rokkitt", serif;
    font-size: 2rem;
  }

  /* CONTENEDOR DE VALORES */
  .container-values {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    background-color: rgb(0, 99, 92);
    width: 100%;
    height: 40%;
  }
  .card-dolar {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    background-color: rgb(239, 239, 239);
    color: rgb(0, 99, 92);
    border-radius: 10px;
    font-family: "Rokkitt", serif;
    text-transform: uppercase;
    width: 90%;
    height: 60%;
  }
  .card-dolar section {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    border: solid 2px rgb(0, 99, 92);
    border-radius: 15px;
    width: 95%;
    height: 40%;
  }
  .card-dolar p {
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: "Rokkitt", serif;
    font-size: 1.8rem;
    font-weight: 600;
    text-transform: uppercase;
    width: 30%;
    height: 70%;
  }
  .card-dolar span {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgb(0, 99, 92);
    color: rgb(239, 239, 239);
    border-radius: 10px;
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 2px;
    width: 30%;
    height: 70%;
  }

  /* BOTON PARA MOSTRAR LA INFORMACION DEL DOLAR */
  .container-values button {
    color: rgb(0, 99, 92);
    border-radius: 10px;
    font-family: "Rokkitt", serif;
    font-size: 1.8rem;
    font-weight: 600;
    text-transform: uppercase;
    width: 30%;
    height: 20%;
  }

  /* CONTENEDOR DE CALCULADORA */
  .calculadora-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    border: solid 1px rgb(0, 99, 92);
    width: 100%;
    height: 40%;
  }
  .dolar-info {
    display: none;
  }
}

/* MEDIA QUERY PARA TABLETS HORIZONTAL, NOTEBOOKS, MONITORES */
@media (min-width: 993px) and (max-width: 1200px) {
  /* NAV */
  .nav-inicio {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    height: 100%;
    width: 10%;
  }
  .nav-inicio i {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 40%;
  }
  .nav-inicio h3 {
    display: flex;
    justify-content: center;
    align-items: center;
    color: rgb(0, 99, 92);
    text-transform: uppercase;
    width: 100%;
    height: 40%;
  }
  .open-items {
    display: none;
  }
  .nav-items {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 70%;
    height: 100%;
  }
  .close-items {
    display: none;
  }
  .nav-items li {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgb(0, 99, 92);
    color: rgb(239, 239, 239);
    border-radius: 10px;
    text-transform: uppercase;
    font-size: 0.7rem;
    white-space: nowrap;
    cursor: pointer;
    width: 120px;
    height: 50%;
  }
  .nav-items li:hover {
    background-color: rgb(239, 239, 239);
    color: rgb(0, 99, 92);
    outline: solid 2px rgb(0, 99, 92);
  }
}

/* MEDIA QUERY PARA MONITORES GRANDES Y ULTRA-WIDE */
@media (min-width: 1201px) {
  /* NAV */
  .nav-inicio {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    height: 100%;
    width: 10%;
  }
  .nav-inicio i {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 40%;
  }
  .nav-inicio h3 {
    display: flex;
    justify-content: center;
    align-items: center;
    color: rgb(0, 99, 92);
    text-transform: uppercase;
    width: 100%;
    height: 40%;
  }
  .open-items {
    display: none;
  }
  .nav-items {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 70%;
    height: 100%;
  }
  .close-items {
    display: none;
  }
  .nav-items li {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgb(0, 99, 92);
    color: rgb(239, 239, 239);
    border-radius: 10px;
    text-transform: uppercase;
    font-size: 0.9rem;
    white-space: nowrap;
    cursor: pointer;
    width: 150px;
    height: 60%;
  }
  .nav-items li:hover {
    background-color: rgb(239, 239, 239);
    color: rgb(0, 99, 92);
    outline: solid 2px rgb(0, 99, 92);
  }

  /* MAIN */

  /*  */
}
