html{
    overflow-x: hidden;
}
body{
    margin: 0;
    font-size: 16px;
    background-color: #1e272e;
    width: 100%;
    
}
h1{
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 3em;
    color: white;
    white-space: nowrap;
}
p{
    width: 55%;
    font-size: 1em;
    margin: 0 auto;
    color: white;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}
header{
    margin-bottom: 2em;
}
header h1{
    margin-bottom: 0.3em;
}
section{
    display: flex;
    flex-direction: row;
    gap: 3em;
    justify-content: center;
}
section div{
    display: flex;
    flex-direction: column;
}
div h1{
    margin-top: 0;
    margin-bottom: 0;
    text-align: center;
}
div h2{
    text-align: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 3em;
    color: white;
    margin-top: 0.4em;
    margin-bottom: 0;
}
input{
    margin-top: 2em;
    font-size: 1.2em;
    border-radius: 10px;
    border-color: transparent;
    text-align: center;
}
header{
    text-align: center;
}
section{
    margin-bottom: 3em;
}
button{
    font-family: Arial, Helvetica, sans-serif;
    font-size: 2em;
    padding: 0.4em;
    border-radius: 17px;
    border-color: transparent;
    background-color: rgb(50, 110, 50);
    color: white;
    transition-duration: 0.5s;
}
button:hover{
    cursor: pointer;
    background-color: rgb(31, 160, 31);
    transform: scale(110%);
}
#result{
    display: flex;
    flex-direction: column;
    gap: 0.2em;
}
#fields h1{
    transition-duration: 0.5s;
}
#fields h1:hover{
    color: rgb(255, 187, 0);
    cursor: pointer;
}
#result h1{
    display: none;
    text-align: center;
    margin-bottom: 0.2em;
    margin-top: 0.5em;
}
#result4{
    font-size: 5em!important;
}
@media (max-width: 1900px){
    h1{
        font-size: 2em;
    }
    h2{
        font-size: 2em;
    }
}
@media (max-width: 1746px){
    body{
        font-size: 14px;
    }
}
@media (max-width: 1525px){
    body{
        font-size: 13px
    }
}
@media (max-width: 1453px){
    body{
        font-size: 18px;
    }
    section{
        display: grid;
        gap: 1em;
        grid-auto-flow: dense;
        grid-auto-rows: max-content;
        grid-template-columns: repeat(auto-fill, minmax(30%, 1fr));
        text-align: center;
    }
    #secb{
        display:block
    }
    input{
        width: 80%;

    }
}
@media (max-width: 540px){
    body{
        font-size: 13px;
    }
    p{
        width: 80%;
    }
}
@media (max-width: 423px){
    body{
        font-size: 12px;
    }
    p{
        font-size: 1.2em;
    }
}
