* {
    margin: 0;
    padding: 0; 
    box-sizing: border-box;
}
  
a {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
    color: black; 
}

.letra {
    font-family: 'Oxygen', sans-serif;
}

.formulario {
    align-items: initial;
}

.input {
    display: inline;
    margin-top: 2%;
    margin-bottom: 1%;
}

input:focus {
    outline: none;
    border: 1px solid rgb(202, 202, 202);
}

/* ------------------------- index ------------------------- */

.fondo {
    background-image: url(../img/paper.png);
    background-size: cover;
}

.titulo {
    text-decoration: none;
    font-family: 'Patrick Hand', cursive;
    font-size:500%;
    color: white;
    text-align: center;
    font-weight: bolder;
    padding-top: 1%;
    padding-bottom: 1%;
    background-color: #1d545c;
}

@media (max-width: 760px) {
    .titulo{
        font-size: 350%;
    }
}

@media (max-width: 480px) {
    .titulo{
        font-size: 250%;
    }
}

@media (max-width: 320px) {
    .titulo{
        font-size: 200%;
    }
}

.subtitulo {
    font-family: 'Patrick Hand', cursive;
    font-size:x-large;
    color: rgb(61, 61, 61);
    text-align: center;
    line-height: normal;
    margin-top: 3%;
    margin-bottom: 2%;
    padding-left: 3%;
    padding-right: 3%;
}

@media (max-width: 480px) {
    .subtitulo{
        font-size: large;
    }
}

#calculatorPage {
    padding: 2%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.card {
    flex-wrap: wrap;
    display: inline-block;
    width: 30%;
    margin-left: 1%;
    margin-right: 1%;
    height: fit-content;
    margin-bottom: 1%;
}

@media (max-width: 760px) {
    .card{
        width: 50%;;
    }
}

@media (max-width: 600px) {
    .card{
        width: 65%;;
    }
}

@media (max-width: 500px) {
    .card{
        width: 75%;;
    }
}

.tituloCard {
    text-align: center;
}

h5 > a {
    color: black;
}

h5 > a:hover {
    color: #1d545c;
}

/* ------------------------- común temas/sesiones ------------------------- */

.fondoSesiones {
    background-image: url(../img/fondo.jpg);
    background-repeat: no-repeat;
}

@media (min-width: 760px) {
    .fondoSesiones{
        background-size:cover;
    }
}

.tituloSesiones {
    font-family: 'Patrick Hand', cursive;
    font-size:400%;
    color: white;
    text-align: center;
    font-weight: bolder;
    padding-top: 1%;
    padding-bottom: 1%;
    background-color: #1d545c;
}

@media (max-width: 760px) {
    .tituloSesiones{
        font-size: 350%;
    }
}

@media (max-width: 480px) {
    .tituloSesiones{
        font-size: 250%;
    }
}

@media (max-width: 320px) {
    .tituloSesiones{
        font-size: 200%;
    }
}

h1 > a {
    color: white;
}

h1 > a:hover {
    color: white;
}

/* ------------------------- temas ------------------------- */

.subtituloTemas {
    background-color: #fad36a;
    font-family: 'Patrick Hand', cursive;
    font-size:xx-large;
    color: white;
    text-align: center; 
    line-height: normal;
    margin-bottom: 6%;
}

@media (max-width: 480px) {
    .subtituloTemas{
        font-size: x-large;
    }
}

.opcionesVert {
    padding-top: 2%;
}

@media (max-width: 760px) {
    .opcionesVert{
        padding-top: 8%;
    }
}

.opcCalcuVert {
    background-color: rgb(202, 202, 202);
    padding: 1%;
    font-size: large;
    width: 40%;
    margin: 1%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    justify-content: center;
}

@media (max-width: 760px) {
    .opcCalcuVert{
        width: 60%;
    }
}

@media (max-width: 480px) {
    .opcCalcuVert{
        width: 80%;
    }
}

.opcCalcuVert > div > h3 {
    padding-bottom:2%;
    text-align: center;
}

@media (max-width: 480px) {
    .opcCalcuVert > div > h3{
        font-size: medium;
    }
}

.opcCalcuVert > div > h3 > a {
    color: black;
}

.opcCalcuVert > div > h3 > a:hover {
    color: black;
}

/* ------------------------- navbar ------------------------- */

nav {
    padding-top: 0%;
    margin:auto;
    background-color: rgb(202, 202, 202);
}

.menu-horizontal {
    padding-left: 0%;
    width: 100%;
    list-style: none;
    display: flex;
    justify-content: space-around;
}

.menu-horizontal > li {
    text-align: center;
    width: 33.33%;
}

.menu-horizontal > li:hover {
    background-color: #fad36a;
}

.menu-horizontal > li > a {
    display:block;
    padding: 15px 20px;
    color:black;
    text-decoration: none;
}

.menu-vertical {
    position: absolute;
    display: none;
    list-style: none;
    padding-left: 0%;
    width: 33.33%;
    background-color: rgb(235, 235, 235);
}

.menu-horizontal li:hover .menu-vertical {
    display: block;
    z-index: 1;
}

.menu-vertical li:hover {
    background-color: #fdd4648a;
}

.menu-vertical li a {
    display: block;
    color:black;
    padding-top: 5px;
    padding-bottom: 5px;
    text-decoration: none;
}

/* ------------------------- común sesiones ------------------------- */

.subtituloSesiones {
    background-color: #fad36a;
    font-family: 'Patrick Hand', cursive;
    font-size:xx-large;
    color: white;
    text-align: center; 
    line-height: normal;
}

@media (max-width: 480px) {
    .subtituloSesiones{
        font-size: x-large;
    }
}

@media (max-width: 320px) {
    .subtituloSesiones{
        font-size: large;
    }
}

.seccionCalcu {
    padding: 3%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.fila {
    margin-top: 2%;
    padding: 2%;
}

.row {
    justify-content: center;
    font-weight: normal;
}

.tituloCalcu {
    padding: 2%;
    background-color: rgb(202, 202, 202);
    font-weight: bolder;
    font-size: larger;
}

.cuadroOperaciones {
    padding: 2%;
}

.boton {
    background-color: #fad36a;
    border: 1px outset;
    font-weight: bold;
    font-size: medium;
    margin-top: 2%;
    padding-left: 5%;
    padding-right: 5%;
    width: 30%;
    padding: 1%;
    margin-left: 5% auto;
}

.resultadoCalcu {
    padding: 2%;
    background-color: rgb(202, 202, 202);
    font-weight: normal;
    font-size: medium;
}

/* ------------------------- estilo calculadoras ------------------------- */

.calcuOpB {
    text-align: center;
    margin: 2%;
    width: 40%;
    background-color: white;
    border: solid 7px;
    border-color: rgb(202, 202, 202);
}

@media (max-width: 800px) {
    .calcuOpB{
        width: 80%;
    }
}

@media (max-width: 500px) {
    .calcuOpB{
        width: 95%;
    }
}

.calcuM {
    text-align: center;
    margin: 2%;
    width: 45%;
    background-color: white;
    border: solid 7px;
    border-color: rgb(202, 202, 202);
}


@media (max-width: 800px) {
    .calcuM{
        width: 80%;
    }
}

@media (max-width: 500px) {
    .calcuM{
        width: 95%;
    }
}

/* ------------------------- particulares ------------------------- */

.clickme {
    text-align: end;
    background-color: rgb(235, 233, 233);
    font-size: small;
    padding-left: 3%;
    padding-right: 3%;
    border-style: none;
    border: 0.5px groove;
    color: #1d545c;
}

.listaDolar {
    background-color: rgb(202, 202, 202);
    padding: 1%;
    color: #1d545c;
    text-align: center;
}

@media (max-width: 400px) {
    .listaDolar{
        font-size:small;
    }
}