/* Base Styles (Desktop and Larger Screens) */
body {
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    background-image: url('./fitness-items-background_23-2150154416 (1).jpg');
    background-size: cover;
}

h1 {
    color: #fff;
    text-align: center;
    font-size: 50px;
}

.container {
    width: 500px;
    height: 500px;
    background-color: rgba(70, 68, 68, 0.53);
    margin: 0 auto;
    border-radius: 20px;
    padding: 20px;
}

input {
    width: 300px; 
    height: 40px;
    margin: 60px auto 0;
    display: block;
    border-radius: 10px;
    background-color: rgba(212, 202, 202, 0.53);
    font-size: 20px;
    font-weight: bold;
    color: #fff;
    box-sizing: border-box;
}

button {
    display: block;
    margin: 12px auto 0;
    width: 180px;
    height: 35px;
    border-radius: 10px;
    font-weight: bolder;
    font-size: 25px;
    color: #171512;
    background-color: #d4caca;
    border: none;
}

.box {
    margin: 0 auto;
    margin-left: 200px;
}

h4 {
    font-size: 21px;
    color: #d1d4d9;
    width: 200px;
    height: 30px;
    border-radius: 10px;
    font-weight: bolder;
    padding: 4px;
    
}

#result {
    font-size: 25px;
    font-weight: bolder;
    background-color: #6f7c92;
    width: 90px;
    text-align: center;
    border-radius: 10px;
}

.comment {
    font-size: 20px;
    font-weight: bolder;
}

/* Tablet (Portrait) */
@media screen and (max-width: 768px) {
    h1 {
        font-size: 40px;
    }

    .container {
        width: 400px;
        height: auto;
        padding: 15px;
    }

    input {
        width: 250px;
        height: 35px;
        margin: 40px auto 0;
    }

    button {
        width: 150px;
        height: 30px;
        font-size: 20px;
    }

    .box {
        margin: 0 auto;
    }

    #result {
        width: 80px;
        font-size: 20px;
    }

    h4 {
        width: 180px;
        font-size: 19px;
    }
}

/* Tablet (Landscape) and Small Laptop */
@media screen and (max-width: 1024px) {
    h1 {
        font-size: 45px;
    }

    .container {
        width: 450px;
        height: auto;
        padding: 15px;
    }

    input {
        width: 275px;
        height: 38px;
        margin: 50px auto 0;
    }

    button {
        width: 160px;
        height: 33px;
        font-size: 22px;
    }

    .box {
        margin: 0 auto;
        margin-left: 150px;
    }

    #result {
        width: 85px;
        font-size: 22px;
    }

    h4 {
        width: 190px;
        font-size: 20px;
    }
}

/* Phone (Portrait) */
@media screen and (max-width: 480px) {
    body {
        width: 100%;
        height: 932px;
        
    }

    h1 {
        font-size: 20px;
        text-align: start;
    }

    .container {
        width: 300px;
        height: auto;
        margin: 20px auto;
        padding: 10px;
    }

    input {
        width: 200px;
        height: 40px;
        margin: 20px auto;
    }

    button {
        width: 100px;
        height: 35px;
        font-size: 20px;
    }

    .box {
        margin: 0 auto;
        margin-left: 100px;
    }

    #result {
        width: 70px;
        font-size: 20px;
    }

    h4 {
        width: 150px;
        font-size: 18px;
    }
}
