.flex-container {
    display: flex;
    flex-direction: column;
    justify-content: center space-between;
    align-items: center;
    width: 80%;
    gap: 20px;
}

body{
    display: flex;
    justify-content: center;
    flex-direction: column;
      align-items: center; /* Center vertically */
}
#wrapper {
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border: 2px solid #06D85F;
    border-radius: 20px;
}

#imgBox {
    width: 10%;
    height: 50vh;
    background-size: cover;
    background-position: center;
    transition: all 1s ease-in-out;
}

.box {
    border: 2px solid #01170a00;    
    border-radius: 20px;
    width: 90%;
}

.box .row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 5%;
}

.button {
    color: #fff;
    border-radius: 20px;
    width: 24vw;
    height: 24vw;
    max-width: 640px;
    max-height: 640px;
    border: 3px solid #000000b3;
    text-decoration: none;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease-out;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    font-size: 3rem;
    color: rgb(0, 0, 0);
    font-weight: bolder;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

@media (max-width: 640px) {
    .button {
        width: 50vw;
        height: 50vw;
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .box .row {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    .button {
        width: 40vw;
        height: 60vw;
    }
}

.button:hover {
    transform: scale(1.1);
    box-shadow: 0px 4px 100px #01010100;
    border: 4px solid #00020100;
    border-radius: 20px;
}

.overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0);
    visibility: hidden;
    opacity: 0;
    transition: opacity 500ms;
}

.overlay:target {
    visibility: visible;
    opacity: 1;
}

.popup {
    position: relative;
    margin: 100px auto;
    padding: 20px;
    background: #ffffff;
    border-radius: 5px;
    width: 80%;
    height: fit-content;
    text-align: justify;
}

.popup .close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    text-decoration: none;
    color: #333;
}

@media screen and (max-width: 100%) {
    .flex-container {
        flex-direction: column;
        align-items: center;
    }
    #wrapper, .box {
        width: 100%;
    }
    #imgBox {
        height: 40vh;
    }
}

.custom-list {
    list-style-type: square;
}

.scroll-box {
    height: 700px;
    overflow-y: scroll;
}
