* {
  margin: 0;
  padding: 0;
  border: none;
}

body {
    background-color: #EFC69B;
}

.header {
    height: 10vh;
    background-color: #AF1B3F;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #CCB69B;
}

.workArea {
    height: 60vh;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.outerBox {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

input {
    border-radius: 50%;
    background-color: #473144;
    color: white;
    width: 150px;
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    text-align: center;
}

.box {
    width: 150px;
    height: 180px;
    text-align: center;
    color: #AF1B3F;
}

#attendedClasses:hover {
    transform: translateY(-8px);
}

#totalClasses:hover {
    transform: translateY(-8px);
}

#minPercentageReq:hover {
    transform: translateY(-8px);
}

.resultArea {
    display: flex;
    justify-content: center;
    align-items: center;
}

.resultAreaBox {
    cursor: pointer;
    height: 10vh;
    width: 490px;
    border: 3px solid #473144;
    border-radius: 10px;
    background-color: #CCB69B;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: #473144;

}

.resultAreaBox:hover {
    transform: scale(1.05);
}

label {
    color: #473144;
    font-size: 0.8rem;
}

.labels {
    font-size: 1.5rem;
}

.error {
    color: red;
}

.footer {
    width: 100%;
    position: fixed;
    bottom: 0;
    height: 10vh;
    background-color: #AF1B3F;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #CCB69B;
    font-size: 1.2rem;
    font-weight: bold;
}

@media (max-width: 768px) {
    .header {
        width: 100%;
        font-size:70%;
    }

    .workArea {
        height: 40vh;
    }

    .outerBox {
        gap: 10px;
    }

    input {
        width: 100px;
        height: 100px;
        font-size: 2rem;
    }

    .box {
        width: 100px;
        height: 120px;
        font-size: 1.5rem;
    }

    .resultAreaBox {
        width: 80vw;
        height: 8vh;
        font-size: 1.2rem;
    }

    .labels {
        font-size: 1.2rem;
    }

    .footer {
        font-size: 1rem;
    }
}

