@import url('https://fonts.googleapis.com/css2?family=Chakra+Petch:wght@400;600;700&display=swap');

#Main {
    display:flex;
    width: 100%;
    flex-direction: column;
    background-color: rgb(255, 255, 255);
}
#t10 {
    background-color: lightskyblue;
    display:flex;
    height: 300px;
    align-items: center;
    align-content: center;
    justify-content: center;
}
#t21 {
    background-color: lightskyblue;
    display:flex;
    font-size: 150px;
    height: 150px;
    width: 150px;
    background-color: rgb(255, 255, 255);
    border: 25px solid lightskyblue;
    border-radius: 100px;
    align-items: center;
    align-content: center;
    justify-content: center;
}
#t22 {
    background-color: lightskyblue;
    display:flex;
    flex-direction: column;
    height: 200px;
    align-items: center;
    align-content: center;
    justify-content: center;
}
#t11 {
    background-color: rgb(255, 255, 255);
    display:flex;
    flex-direction: row;
    justify-content: center;
    align-items:center;
    height: 80px;
}
#t13 {
    background-color: rgb(255, 255, 255);
    display:flex;
    flex-direction: row;
    justify-content: center;
    align-items:flex-start;
    height: 40px;
}
#input1 {
    position: relative;
    top: 20px;
    right: 20px; 
    height: 28px;
    width: 100%;
    border: 3px solid rgb(75, 75, 75);
    border-radius: 5px;
}
#input2 {
    border: 1px solid rgb(255, 255, 255);
    background-color: lightskyblue; 
    position: relative;
    top: 20px;
    left: 10px;   
    height: 35px;
    width: 35px;
    border-radius: 21px;
    font-size: 28px;
    font-weight:300
}
#form1{
    display:flex;
    width: 500px;
    flex-direction: row;    
}
#t12 {
    display:grid;
    grid-template-columns: auto auto auto;
    align-items: center;
    justify-content: center;
}
.t2 {
    display:flex;
    width: 550px;
    height: 1000px;
    align-items:center;
    justify-content:flex-start;
    flex-direction: column;
    border: 3px solid rgb(75, 75, 75);
}
.t40{
    display:flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}
#text1 {
    font-size: 80px;
    font-style: normal;
    font-family: sans-serif;
    vertical-align: sub;
}
#text2 {
    font-size: 15px;
    font-style: normal;
    font-family: sans-serif;
}
.t30{
    display: flex;
    background-color: #87cefa;
    margin-top: 20px;
    margin-bottom: 20px;  
    width: 90%;
    height: 50px;
    border-radius: 20px;
    align-items: center;
    justify-content:center;    
}
.text4 {
    color: rgb(0, 0, 0);
    font-size: 25px;
    font-style: normal;
    font-family: sans-serif;  
}
#text5 {
    color: rgb(0, 0, 0);
    margin-left: 40px;
    padding-left: 30px;
    padding-right: 30px;
    font-size: 25px;
    border-radius: 10px;
    font-style: normal;
    font-weight: bolder;
    font-family: sans-serif;
}
#resolucion {
    background-color: rgb(255, 255, 255);
    display: flex;
    width: 99%;
    height:fit-content;
    font-size: 25px;
    flex-direction:column-reverse;
    align-items:flex-start;
    justify-content:flex-end;
    font-style: normal;
    font-family: sans-serif;        
}
.resultados{
    display: flex;
    background-color: rgb(255, 255, 255);
    margin-top: 2px;
    margin-bottom: 2px;  
    padding-left: 15px;
    padding-right: 15px;  
    width: 90%;
    height: 20px; 
    color: rgb(0, 0, 0);
    font-size: 13px;
    align-items:center;
    justify-content:flex-start;
    font-style: normal;
    font-family: sans-serif;
}
.etapas{
    display: flex;
    box-sizing: border-box;
    background-color: rgb(231, 231, 231);
    width: 100%;
    height: 25px;
    margin-top: 2px;
    margin-bottom: 2px; 
    padding-left: 20px;
    color: rgb(0, 0, 0);
    font-size: 15px;
    align-items:center;
    justify-content:flex-start;
    font-style: normal;
    font-family: sans-serif; 
}
.formOrg{
    display: flex;
    background-color: rgb(227, 246, 255);
    width: 100%;
    height: 25px;
    margin-top: 5px;
    margin-bottom: 5px;     
    color: rgb(0, 0, 0);
    font-size: 18px;
    align-items:center;
    justify-content:center;
    font-style: normal;
    font-family: sans-serif;       
}
#resultado{
    display:none;
    animation: fadeIn 0.3s;
    -webkit-animation: fadeIn 0.3s;
    -moz-animation: fadeIn 0.3s;
    -o-animation: fadeIn 0.3s;
    -ms-animation: fadeIn 0.3s;
}
.subTitulo{
    display: flex;
    background-color: rgb(227, 246, 255);
    width: 93.5%;
    height: 25px;
    margin-top: 5px;
    margin-bottom: 5px;
    padding-left: 15px;
    padding-right: 15px;      
    color: rgb(0, 0, 0);
    font-size: 18px;
    align-items:center;
    justify-content:center;
    font-style: normal;
    font-family: sans-serif;     
}
.ejemOperacion{
    display: flex;
    background-color: rgb(255, 255, 255);
    width: 80%;
    height: 20px;
    margin-top: 3px;
    margin-bottom: 3px;
    padding-left: 15px;
    padding-right: 15px;      
    color: rgb(0, 0, 0);
    font-size: 15px;
    align-items:center;
    justify-content:flex-start;
    font-style: normal;
    font-family: sans-serif;     
}
.formEjem{
    display:flex;
    flex-direction: row;    
}
.inputEjem1 {
    position: relative;
    margin-left: 20px;
    margin-top: 3px;
    margin-bottom: 3px;
    height: 20px;
    width: 170px;
    font-size: 12px;
    border: 1.5px solid rgb(75, 75, 75);
    border-radius: 5px;
}
.inputEjem2 {
    border: 1px solid rgb(255, 255, 255);
    background-color: lightskyblue; 
    position: relative;
    margin-top: 1.5px;
    margin-bottom: 3px;
    margin-left: 20px;
    top: 1.5px;  
    height: 25px;
    width: 25px;
    border-radius: 21px;
    font-size: 15px;
    font-weight:300;
}
#botonMath{
    display: flex;
    position:relative;
    background-color: lightgray;
    margin-top: 5px;
    right:200px; 
    width: 100px;
    height: 20px;
    border-radius: 20px;
    align-items: center;
    justify-content:center; 
    color: rgb(0, 0, 0);
    font-size: 13px;
    font-style: normal;
    font-family: sans-serif; 
}

.dropdown {
    width: 50px;
    height: 50px;
    position: relative;
    display: inline-block;
  }

#dropdown-botonMath {
    display:none;
    position: absolute;
    grid-template-columns: auto auto auto auto auto auto;
    padding: 10px;
    top: 0px;
    left: 100px;
    background-color:lightgray;
    border-radius: 5px;
    z-index: 1;
  }
.teclado{
    display: flex;
    background-color: rgb(255, 255, 255); 
    border: 1.0px solid rgb(167, 167, 167);
    margin: 5px;
    z-index: 2;
    border-radius: 5px;
    width: 20px;
    height: 20px;
    align-items:center;
    justify-content:center;
}
#error{
    display: none;
    background-color: rgb(255, 255, 255);
    border: 2.0px solid rgb(255, 0, 0);
    border-radius: 5px;
    position: absolute;
    padding: 2px;
    padding-left: 10px;
    padding-right: 10px;
    top: 310px;
    z-index: 3;
}
.formHist{
    display: flex;
    border: 2.0px solid rgb(70, 70, 70);
    padding: 2px;
    padding-left: 10px;
    padding-right: 10px;
}
#limpiar{
    display: none;
    background-color: rgb(255, 255, 255);
    position:relative;
    left: 20px;
    margin-top: 20px;
    margin-bottom: 20px;  
    width: 100px;
    height: 30px;
    border-radius: 10px;
    align-items: center;
    justify-content:center;
    font-size: 17px;
    font-style: normal;
    font-weight:bold;
    font-family: sans-serif;  
}
#histCalc{
    margin-left: 130px;
}
#contCalc{
    justify-content: flex-start;   
}
.formHist{
    display:flex;
    flex-direction: row;
    background-color:rgb(255, 255, 255);  
    border: 0px;  
}
.inputHist1 {
    display: flex;
    position: relative;
    margin-left: 20px;
    margin-top: 3px;
    margin-bottom: 3px;
    height: 20px;
    width: 380px;
    font-size: 12px;
    border: 1.5px solid rgb(75, 75, 75);
    border-radius: 5px;
}
.inputHist2 {
    border: 1px solid rgb(255, 255, 255);
    background-color: lightskyblue; 
    position: relative;
    margin-top: 1.5px;
    margin-bottom: 3px;
    margin-left: 25px;
    top: 1.5px;  
    height: 25px;
    width: 25px;
    border-radius: 21px;
    font-size: 15px;
    font-weight:300;
}
.inputHist3 {
    border: 1px solid rgb(255, 255, 255);
    background-color:tomato;
    position: relative;
    margin-top: 1.5px;
    margin-bottom: 3px;
    margin-left: 30px;
    padding-right: 5px;
    top: 1.5px;  
    height: 25px;
    width: 25px;
    border-radius: 21px;
    font-size: 15px;
    font-weight:300;  
}
#historial{
    display: flex;
    flex-direction: column;
}
.errorMsg{
    color: rgb(0, 0, 0);
    font-size: 15px;
    font-style: normal;
    font-family: sans-serif;      
}
#main_drawer_button{
    display: flex;
    position: fixed;
    align-items: center;
    justify-content: center;
    left:25px;
    top:25px;
    height: 50px;
    width: 50px;
    border: 2px solid black;
    background-color: white;
    border-radius: 5px;
    z-index: 1;
}
#main_drawer{
    display: none;
    position: absolute;
    z-index: 1;
    left:-2px;
    top:48px;
    background-color: white;
    border: 2px solid black;
}
#main_drawer li{
    margin:10px;
    padding: 10px;
    width: 300px;
    transition: background-color 150ms linear;
}
#main_drawer li a{
    font-family: 'Chakra Petch';
    color: black;
    text-decoration: none;
    width: 300px;
    font-size: 2rem;
}

@media screen and (max-width: 799px) {
    #help{
        display: flex;
        flex-direction: column;
        margin-left: auto;
        margin-right: auto;
        align-items: center;
        width: 50vw;
    }
    #help h1{
        font-family: 'Chakra Petch';
        color: black;
        margin-top: 20px;
        font-size: 1.8rem;   
    }
    #help p{
        font-family: 'Chakra Petch';
        color: black;
        margin-top: 20px;
        font-size: 0.8rem;     
    }
    #help li{
        list-style-type: disc;
        font-family: 'Chakra Petch';
        color: black;
        margin-top: 20px;
        font-size: 0.5rem;     
    }
    #about{
        display: flex;
        flex-direction: column;
        margin-left: auto;
        margin-right: auto;
        align-items: center;
        width: 50vw;    
    }
    #about h1{
        font-family: 'Chakra Petch';
        color: black;
        margin-top: 20px;
        font-size: 1.5rem;      
    }
    #typed_text{
        font-family: 'Chakra Petch';
        color: black;
        margin-top: 20px;
        overflow: hidden;
        border-right: .15em solid #87cefa;
        white-space: nowrap;
        font-size: 1.0rem;
        width: 0;      
        animation: 
        typing2 3.5s steps(18, end) forwards infinite;
    }
    #about h3{
        font-family: 'Chakra Petch';
        color: black;
        margin-top: 20px;
        font-size: 0.8rem;      
    }
    #typing_container{
        display: inline-block;    
    }
    #about p{
        font-family: 'Chakra Petch';
        color: black;
        margin-top: 20px;
        margin-bottom: 20px;
        font-size: 0.6rem;        
    }
    #about a{
        margin: 20px;
        color: black;
    }
    #about_icon_container{
        display: flex;
        flex-direction: row;
        height: 50px;
    }
    .about_link{
        font-family: 'Chakra Petch';
        color: black;
        margin-top: 20px;
        font-size: 1.0rem;   
    }
    #about iframe{
        width: 300px;
        height: 500px;
        margin-top: 20px;    
    }
}

@media screen and (min-width: 800px) {
    #help{
        display: flex;
        flex-direction: column;
        margin-left: auto;
        margin-right: auto;
        align-items: center;
        width: 50vw;
    }
    #help h1{
        font-family: 'Chakra Petch';
        color: black;
        margin-top: 20px;
        font-size: 2.3rem;   
    }
    #help p{
        font-family: 'Chakra Petch';
        color: black;
        margin-top: 20px;
        font-size: 1.2rem;     
    }
    #help li{
        list-style-type: disc;
        font-family: 'Chakra Petch';
        color: black;
        margin-top: 20px;
        font-size: 0.8rem;     
    }
    #about{
        display: flex;
        flex-direction: column;
        margin-left: auto;
        margin-right: auto;
        align-items: center;
        width: 50vw;    
    }
    #about h1{
        font-family: 'Chakra Petch';
        color: black;
        margin-top: 20px;
        font-size: 3rem;      
    }
    #typed_text{
        font-family: 'Chakra Petch';
        color: black;
        margin-top: 20px;
        overflow: hidden;
        border-right: .15em solid #87cefa;
        white-space: nowrap;
        font-size: 2.0rem;
        width: 0;      
        animation: 
        typing 3.5s steps(18, end) forwards infinite;
    }
    #about h3{
        font-family: 'Chakra Petch';
        color: black;
        margin-top: 20px;
        font-size: 1.5rem;      
    }
    #typing_container{
        display: inline-block;    
    }
    #about p{
        font-family: 'Chakra Petch';
        color: black;
        margin-top: 20px;
        margin-bottom: 20px;
        font-size: 1.0rem;        
    }
    #about a{
        margin: 20px;
        color: black;
    }
    #about_icon_container{
        display: flex;
        flex-direction: row;
        height: 50px;
    }
    .about_link{
        font-family: 'Chakra Petch';
        color: black;
        margin-top: 20px;
        font-size: 1.5rem;   
    }
    #about iframe{
        width: 500px;
        height: 500px;
        margin-top: 20px;    
    }
}

@media screen and (min-width: 1400px) {
    #help{
        display: flex;
        flex-direction: column;
        margin-left: auto;
        margin-right: auto;
        align-items: center;
        width: 50vw;
    }
    #help h1{
        font-family: 'Chakra Petch';
        color: black;
        margin-top: 20px;
        font-size: 3rem;   
    }
    #help p{
        font-family: 'Chakra Petch';
        color: black;
        margin-top: 20px;
        font-size: 1.5rem;     
    }
    #help li{
        list-style-type: disc;
        font-family: 'Chakra Petch';
        color: black;
        margin-top: 20px;
        font-size: 1.0rem;     
    }
}


@keyframes fadeIn {
    0% {opacity:0;}
    100% {opacity:1;}
}
  
@-moz-keyframes fadeIn {
    0% {opacity:0;}
    100% {opacity:1;}
}
  
@-webkit-keyframes fadeIn {
    0% {opacity:0;}
    100% {opacity:1;}
}
  
@-o-keyframes fadeIn {
    0% {opacity:0;}
    100% {opacity:1;}
}
  
@-ms-keyframes fadeIn {
    0% {opacity:0;}
    100% {opacity:1;}
}

@keyframes typing {
    0% { width: 0 }
    20% { width: 0}
    60% { width: 300px }
    80% { width: 300px }
    100% { width: 0}
}

@keyframes typing2 {
    0% { width: 0 }
    20% { width: 0}
    60% { width: 150px }
    80% { width: 150px }
    100% { width: 0}
}


@media only screen and (max-width: 1700px) {
    #t12 {grid-template-columns: auto auto;}
  }
@media only screen and (max-width: 1200px) {
    #t12 {grid-template-columns: auto;}
    #form1 {width: 400px;}
    .t2 {width: 450px;
        display: inline;}
    .t30{width: 100%;}
    #limpiar{left: 10px;}
    .t40{width: 450px;
        flex-direction: column;}
    #botonMath{right:150px}

}

#main_drawer_button:hover{
    cursor: pointer;
}

#main_drawer_button:hover div{
    display: flex;
}

#main_drawer li:hover{
    background-color: #87cefa;
}