:root {
    --bg: #f0f4f8
}

body{
    background-color: var(--bg);
    color: #333;
}

.btn {
    width: fit-content;
    white-space: normal;
    height: clamp(3vh, 7vh, 10vh);
    background-color: #e1e6eb;
    border: none;
    border-radius: 45vh;
    color: white;
    font-size: clamp(.5rem, 1rem, 1.5rem);
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: end;
    transition: all 0.3s ease;
    color: black;
    margin: 10px;
    text-decoration: none;
}
.btn:hover {
    background-color: rgb(150, 183, 255);
    font-weight: bold;
}

.btn:hover .x-btn {
    display: block;
}

.btn:active {
    background-color: rgb(118, 161, 252);
    transform: scale(1.1);
}

.btn p {
    transition: margin 0.3s ease;
}

.btn:hover p {
    margin-right: clamp(1vh, 3vh, 5vh);
}
.x-btn {
    width: clamp(4.5vw, 6.5vw, 8.5vw);
    height: clamp(4vh, 6vh, 8vh);
    background-color: red;
    border: none;
    display: none;
    border-radius: 45vh;
    color: white;
    margin-right: .5vh;
    transition: all 0.3s ease;
}

.x-btn:hover {
    background-color: rgb(212, 0, 0);
}

.x-btn:active {
    background-color: rgb(161, 0, 0);
    transform: scale(0.90);
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
}

.classes-box {
    width: 80%;
    min-height: 200px;
    height: fit-content;
    background-color: white;
    margin: 20px auto;
    flex-wrap: wrap;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    transition: box-shadow 0.3s ease;
}

.box-rest {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
    height: auto;
}


.classes-box:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.classes-box:hover .title {
    margin-bottom: 15px;
    color: #828282;
}

.welcome-txt {
    text-align: center;
    font-size: 1.5rem;
    margin-top: 20px;
}

.title {
    font-size: 20px;
    margin-top: -5px;
    color: #dedede;
    transition: all 0.6s ease;
}