/* Common styles for all screen sizes */
body {
    background-image: url("https://source.unsplash.com/random");
    background-size: cover;
    font-family: 'Open Sans', 'Helvetica Neue', sans-serif;
    text-align: center;
    height: 100vh;
}

.container {
    background: white;
    max-width: 50%;
    margin: auto;
    border: 3px solid rgb(236, 228, 228);
    border-radius: 10px;
    padding: 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

h1 {
    margin-top: 10px;
    margin-bottom: 10px;
}

h2 {
    font-size: 50px;
    margin-top: 0;
    margin-bottom: 20px;
}

button {
    border: 2px solid rgb(255, 255, 255);
    padding-top: 10px;
    padding-bottom: 10px;
    color: rgb(254, 254, 254);
    font-weight: bold;
    width: 200px;
    margin-bottom: 5px;
    border-radius: 5px;
    transition: background-color 0.2s ease-in-out;
    background-color: darkred;
}



#increment-btn {
    background: #03019a;

}
#increment-btn:hover {
    background: #2e7911;
}

#save-btn:hover {
    background: #2e7911;;
}

#save-btn {
    background: darkred;
}

#save-el {
    font-weight: bold;
}

/* Media queries for different screen sizes */
@media (max-width: 768px) { /* For mobile devices */
    .container {
        max-width: 90%;
        padding: 10px;
        border: 1px solid rgb(236, 228, 228);
    }

    h1 {
        font-size: 30px;
    }

    h2 {
        font-size: 30px;
    }

    button {
        width: 150px;
        padding-top: 5px;
        padding-bottom: 5px;
        font-size: 14px;
    }
}

@media (min-width: 769px) { /* For desktop devices */
    .container {
        max-width: 50%;
        padding: 20px;
        border: 3px solid rgb(236, 228, 228);
    }

    h1 {
        font-size: 50px;
    }

    h2 {
        font-size: 70px;
    }

    button {
        font-size: 16px;
    }
}
