:root{
    --bg-color:#f0d8b5;
    --bd-color:#69441e;
    --white:#FFFFFF;
    --black:#000000;
    --sm: 12px;
    --md: 16px;
    --lg: 18px;
}
*{
    box-sizing: border-box;
    margin: 0;
    font-size: var(--sm);
}
body{
    font-size: var(--sm);
    background-color: var(--bg-color);
    font-family: 'Quicksand', sans-serif;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-container{
    display: flex;
    flex-direction: column;
    align-items: center;
}


.container{
    display: flex;
    border: 1px solid var(--bd-color);
    border-radius: 10px ;
    margin: 10px 0px;
    padding: 10px;
    width: 80%;
    text-align: justify;
    max-width: 620px;
    min-width: 300px;

}
.i{
    position: absolute;
    top: 20px;
    right: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 20px;
    height: 20px;
    border: 1px solid var(--bd-color);
    border-radius: 50%;
    cursor: pointer;
    padding: 0;
}
.hide{ 
    display: none;
}

.form{
    width: 300px;
    height: auto;
    display: flex;
    flex-direction: column;    
}
.inputs{
    padding: 0px;
    display: flex;
}
.inputs input{
    width: 50px;
    margin-right: 5px;
 
}

.input-button{
    margin-top: 20px;
    justify-content: center;
    width: 60px;
    cursor: pointer;
    border: 3px double #5d4c2f;
    border-top-color: #c9a584;
    border-left-color: #c9a584;
    color: #542c0f;
    display: inline-block;
    padding: 2px 10px;
    background: #eccf8e url(/src/img/button-bg.png) repeat-x;
    font-weight: 700;
    text-align: center;
    font-weight: 700;
    font-size: 12px;
    white-space: nowrap;
}

.speed{
    padding: 10px 0px;
}
.speed img{
    width: 25px;
    height: 25px;
}
.poseidon *{ 
    margin: 0 2px;
}
.result{
    display: flex;
    width: 100%;
    height: 100%;
    border: 1px solid var(--bg-color);
    border-radius: 10px;
    margin-top: 10px;
    align-items: center;
    justify-content: center;
    font-size: small;
    font-weight: bold;
    padding: 10px;
}
.back-link{
    display: flex;
    position: absolute;
    left: 40px;
    top: 20px;
    justify-content: center;
    text-decoration: none;
    color: var(--bd-color);
    font-weight: bold;
}

.back-link img{
    transform: rotate(180deg);
    padding: 0px 5px;
}

@media(max-width:640px){
    
    .container{
        flex-direction:column;
    }
    
    .form{
        padding: 5px;
    }

}
