/* Reset styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #121212;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    height: 100vh;
    background-image: url('../day-two/assets/img/bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    overflow: hidden;
}

/* Main layout */
.main {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 20px;
    overflow: hidden;
}

/* Containers */
.container-one,
.container-two {
    flex: 0 0 auto;
    width: 900px;
    height: 40%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 20px 30px;
    margin: 20px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Specific height control */
.container-two {
    height: 600px;
}

h1 {
    font-size: 2.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 10px;
    text-align: center;
    text-shadow: 0 0 10px #00ffcc;
    color: #3b2323;
    font-weight: 600;
}

p {
    color: #070303f3;
    font-size: 18px;
    opacity: 0.8;
    margin: 30px 0;
}

#timer {
    font-size: 4rem;
    font-weight: bold;
    margin: 20px 0;
    color: #ffffff;
    text-shadow: 0 0 10px #00ffcc;
}

.container-two .buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

button {
    padding: 12px 25px;
    font-size: 1.2rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    color: #fff;
}

#start {
    background: linear-gradient(135deg, #28a745, #218838);
}

#pause {
    background: linear-gradient(135deg, #ffc107, #e0a800);
    color: #222;
}

#reset {
    background: linear-gradient(135deg, #dc3545, #c82333);
}

button:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.more-btn {
    color: #fff;
    border-radius: 50px;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.2s ease;
    display: inline-block;
    margin: 5px 0;
}

.more-btn button {
    color: #000000;
    text-decoration: none;
    font-size: 14px;
    border: #00ccff 1px solid;
    border-radius: 40px;

    margin: 15px 5px 5px 5px;
    padding: 2.5px 5px;
}

.more-btn button:hover {
    background: linear-gradient(135deg, #00ccff, #00aaff);
    color: #fff;
    transform: scale(1.05);
    opacity: 0.9;
}

/* Mobile Responsive */
@media (max-width: 430px) {
    .main {
        padding: 10px;
        display: flex;
    }

    .container-one {
        padding: 15px 20px;
        width: 400px !important;
        height: 200px;
    }

    .container-two {
        padding: 15px 20px;
        width: 400px !important;
        height: 450px;
        top: 350px;
    }

    h1 {
        font-size: 2rem;
    }

    #timer {
        font-size: 3rem;
    }

    button {
        padding: 10px 18px;
        font-size: 1rem;
    }

    .more-btn {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 5px 10px;
        font-size: 0.8rem;
        /* border: #00ccff 1px solid; */
        border-radius: 50px;
        text-decoration: none;
        margin: 20px 0;

    }

    .more-btn button {
        font-size: 14px;
        padding: 2px 4px;
    }
}

/* Tablet Responsive */
@media (max-width: 1024px) {

    .main {
        padding: 10px;
        display: flex;
    }

    .container-one {
        padding: 15px 20px;
        width: 500px;
        height: 200px;
    }

    .container-two {
        padding: 15px 20px;
        width: 500px;
        height: 400px;
        top: 350px;
    }

    h1 {
        font-size: 2.5rem;
    }

    h1 {
        font-size: 2.2rem;
    }

    #timer {
        font-size: 3.5rem;
    }

    button {
        font-size: 1.1rem;
    }

    .more-btn {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 5px 10px;
        font-size: 0.8rem;
        /* border: #00ccff 1px solid; */
        border-radius: 50px;
        text-decoration: none;
        margin: 20px 0;

    }

    .more-btn a {
        font-size: small;
        padding: 2px 4px;
    }
}