#content{
    display: grid;
    justify-items: center;
}

a:hover, button:hover {
    cursor: pointer;
}

.success {
    background: #5BAE50;
    padding: 10px;
    color: white;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.error {
    background: #9D2235;
    padding: 10px;
    color: white;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

#container {
    min-height: 100vh;
    margin-bottom: 30px;
    overflow-x: hidden;
}

#head-card {
    background: #DBD1BE;
    width: 265px;
    height: 105px;
    display: grid;
    align-items: center;
    border-radius: 10px;
    margin-top: -60px;
    text-align: center;
    margin-bottom: 50px;
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.2);
}

#head-card h1 {
    font-size: 21px;
}

.main-content {
    display: grid;
    justify-items: center;
    justify-content: center;
    overflow: hidden;
    padding-bottom: 30px;
}

.info-form {
    background: #dcdcdc;
    display: grid;
    width: 265px;
    justify-content: center;
    justify-items: center;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.2);
}

.select-grid {
    display: grid;
    padding-bottom: 20px;
}

.select-grid label {
    padding-bottom: 8px;
    font-size: 15px;
    font-weight: bold;
}

.select-grid input, .select-grid select {
    height: 35px;
    width: 215px;
    padding-left: 5px;
    border-radius: 5px;
    border: 1px solid black;
    background: white;
}

.thermal-card {
    width: 265px;
    padding: 30px;
    text-align: center;
    background: #dcdcdc;
    margin-top: 30px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.2);
}

.hoz-bar {
    width: 235px;
    height: 4px;
    background: black;
    margin-top: 30px;
}

.therm-title {
    font-size: 18px;
    font-weight: bold;
    padding-bottom: 15px;
}

.calc-button {
    background: #397019;
    color: white;
    height: 35px;
    width: 155px;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    margin-top: 10px;
}

.reset-button {
    background: #397019;
    color: white;
    height: 35px;
    width: 155px;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    margin-top: 10px;
    text-align: center;
    display: grid;
    align-items: center;
    text-decoration: none;
}

.select-grid select:focus, .select-grid input:focus{
    outline: 2px auto;
}


.info-form button:focus, .info-form a:focus{
    outline: 2px auto black;
    border-radius: 5px;
    text-decoration: none;
}

.info-form button:focus:not(:focus-visible), .info-form a:focus:not(:focus-visible){
    outline: none;
}


.info-form a:active{
    text-decoration: none!important;
}

.disclaimer {
    width: auto;
    padding: 25px;
    font-size: 11px;
    margin-top: 100px;
}

@media only screen and (min-width: 375px) {

    #head-card {
        width: 325px;
        height: 125px;
        padding-right: 23px;
        padding-left: 23px;
        margin-top: -75px;
    }

    .info-form, .thermal-card {
        width: 325px;
    }

    #head-card h1 {
        font-size: 24px;
    }

    .select-grid input, .select-grid select {
        height: 35px;
        width: 250px;
    }

    .select-grid label, .info-form button {
        font-size: 16px;
    }

    /*#container {*/
    /*    margin-bottom: 100px;*/
    /*}*/

    .hoz-bar {
        width: 250px;
    }

    .therm-title {
        font-size: 21px;
    }

    .therm-unit {
        font-size: 19px;
    }

}

@media only screen and (min-width: 425px) {

    #head-card {
        width: 340px;
        padding-right: 23px;
        padding-left: 23px;
        margin-top: -65px;
    }

    .info-form, .thermal-card {
        width: 340px;
    }

    #container{
        margin-bottom: 0;
    }
}

@media only screen and (min-width: 500px) {
    .disclaimer{
        width: 95%;
    }
}

@media only screen and (min-width: 768px) {

    #head-card {
        width: 625px;
        margin-bottom: 75px;
    }

    #head-card h1 {
        font-size: 28px;
    }

    /*#container {*/
    /*    margin-bottom: 150px;*/
    /*}*/
}

@media only screen and (min-width: 1024px) {
    .disclaimer{
        width: 900px;
    }
}

@media only screen and (min-width: 1100px) {
    #container{
        margin-bottom: 30px;
    }
}

@media only screen and (min-width: 1440px) {
    #head-card {
        height: 150px;
        margin-bottom: 90px;
        margin-top: -80px;
    }

    #head-card h1 {
        font-size: 30px;
    }
}
