*,

*:before,
*:after{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
body{
    height: 100vh;
    background: #7E89A5;
}

.container{
    background-color: #ffffff;
    padding: 30px 30px;   
    width: 700px;
    position: absolute;
    transform: translate(-50%,-50%);
    top: 50%;
    left: 50%;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    box-shadow: 25px 25px 30px rgba(0,0,0,0.15);
}


.grid-container-input{
    display: grid;
    /*grid-template-columns: 100px 25% 100px 25% 75px;*/
    grid-template-columns: 15% 30% 15% 30% 10%;
    align-items: center;
    row-gap: 25px;
}

.grid-container-output{
	background:#7E89A5;
    color: white;
    display: grid;
    /*grid-template-columns: 80px 40% 40%;*/
    grid-template-columns: 15% 40% 40%;
    row-gap: 20px;
    box-shadow: 0 0 30px rgba(126,137,165,0.5); 
    border-radius: 5px;
    padding-top: 30px;
    padding-bottom: 30px;
    margin-bottom: 30px;
}

.hac_logo{
    text-align: right; 
    margin-top:40 px; 
    margin-bottom: -30px;
}


.container h1{
	background:#92B86A;
	color: white;
	text-align: center;
	font-size: 23px;
	letter-spacing: 1px;
	margin-top: -30px;
	margin-left: -30px;
	margin-right: -30px;
	margin-bottom: 40px;
    padding: 10px;
}

.row{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;

}
.row span{
    font-weight: 500;
}

input[type="range"]{
    width: 95%;
    height: 3.5px;
    -webkit-appearance: none;
    appearance: none;
    background-color: #dcdcdc;
    border-radius: 3px;
    outline: none;
}

input[type="range"]::-webkit-slider-thumb{
    -webkit-appearance: none;
    appearance: none;
    height: 15px;
    width: 15px;
    background-color: #1c1c1c;
    border-radius: 50%;
    cursor: pointer;
}

#result{
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 1px;
    text-align: center;
    color: #0be881;
}


.display{
box-shadow: 0 0 20px rgba(0,139,253,0.25);
margin-bottom: 60px;
}


.output{
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1px;
    text-align: center;
}

.align_left{
    text-align: left;
}

.copy_button{
    text-align: center;
    font-size: 20px;
    font-weight: 700;
}




@media only screen and (max-width: 700px) {
    .container{
        width: 90vw;
    }

    .grid-container-output{
        grid-template-columns: 30% 70%;
        padding-top: 10px;
        padding-bottom: 10px;
        row-gap: 10px;
    }

    .grid-container-input{
        grid-template-columns: 30% 60% 30%;
    }

    .hidden-mobile {
        display: none;
    }    

    .copy_button{
        display: none;
    }
    
    .hac_logo{
        text-align: center; 
        padding-top: 15px;
        margin-bottom: 0px;
    }

    /* for checking 
    body{
        background-color: black;
    }
    */
}
