html, body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
}


.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #333;
    padding: 15px 20px;
    width: 100vw;
    max-width: 100%;
    box-sizing: border-box;
}

.nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    justify-content: space-between;
}

.nav li {
    color: white;
    font-size: 18px;
    font-weight: bold;
}

.nav button {
    background-color: #1b4e66;
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 5px;
}

.nav button:hover {
    background-color: #204e48;
}

/* Header */
header {
    background-color: #fafafa;
    color: rgb(3, 3, 3);
}

header h1 {
    text-align: center;
    margin: 20px;
    font-size: 24px;
    color: #000000;
}


.layout {
    border: 3px solid #333;
    padding: 20px;
    max-width: 450px;
    width: 90%;
    margin: 120px auto 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 3px 3px 12px rgba(0, 0, 0, 0.1);
}

select {
    width: 100%;
    padding: 10px;
    margin: 12px 0;
    border: 1px solid #030303;
    transition: 0.3s;
    background-color: #fff;
    font-size: 16px;
}

select:hover,
select:focus {
    border-color: #000000;
}


table {
    width: 100%;
    max-width: 600px;
    margin: 20px auto;
    border-collapse: collapse;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    min-height: 30px;
}

th, td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

th {
    background-color: #070707;
    color: white;
    text-transform: uppercase;
}

tr:nth-child(even) {
    background-color: #f2f2f2;
}

h3 {
    text-align: center;
    font-size: 18px;
    margin-top: 20px;
}

#gpa {
    font-weight: bold;
    font-size: 27px;
    color: #273faa;
}


footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px;
    position: relative;
    bottom: 0;
    width: 100%;
    margin-top: 50px;
}

footer p {
    margin: 0;
}

.icon {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
}

.icon img {
    width: 30px;
    height: 30px;
    transition: transform 0.3s ease;
}

.icon img:hover {
    transform: scale(1.2);
}


#clock {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 18px;
    font-weight: bold;
    color: #333;
    background: rgba(255, 255, 255, 0.8);
    padding: 5px 10px;
    border-radius: 5px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
}

.details
{
    text-align: center;
}
.pomodoro-container {
    text-align: center;
    background-color: #08373aa1;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 300px;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.timer-display {
    font-size: 48px;
    font-weight: bold;
    margin: 20px 0;
    color: #e74c3c;
}

#status {
    font-size: 20px;
    color: #000000;
    margin-bottom: 20px;
}

.buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
}

button {
    background-color: #185177;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

button:hover {
    background-color: #2980b9;
}

button:disabled {
    background-color: #bdc3c7;
    cursor: not-allowed;
}

#sessionCount {
    margin-top: 15px;
    font-size: 16px;
    color: #000000;
}


@media (max-width: 600px) {
    body {
        margin: 10px;
    }

    .layout {
        max-width: 100%;
        padding: 15px;
    }

    select {
        font-size: 14px;
    }

    table {
        font-size: 14px;
    }

    .pomodoro-container {
        width: 80%;  
    }
}
