

.intro {
    width: 100%;
    height: 45vh;
    color: white;
    text-shadow: 5px 5px 15px black;
    background-image: url('../img/background-people.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center ;
    font-size: 50px;
    text-align: center;
}

.page {
    padding-top: 50px;
    padding-bottom: 50px;
    width: 100%;
    /* background-color: white; */
}

.page .box {
    margin-left: 60px;
    margin-right: 60px;
    margin-bottom: 50px;
}

.line1 {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.active {
    height: 350px;
}

.line2 {
    display: flex;
    justify-content: center;
    width: 100%;
}

.pic img {
    width: 200px;
    height: 250px;
    text-align: center;
}

.wording {
    text-align: start;
}

.wording p {
    color: rgb(0, 0, 0, 0.7);
}

.detail {
    cursor: pointer;
    font-size: 12px;
    border: 1px solid;
    padding: 10px 15px;
    border-radius: 20px;
    text-align: center;
    transition: all .5s;
}

.detail:hover{
    background-color: rgb(45, 45, 45, 0.7);
    color: whitesmoke;
    transition: all .5s;
}

.hide {
    /* display: flex; */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    display: none;
    width: calc(100% - 60px);
    height: calc(100% - 60px);
    border-radius: 15px;
    padding: 30px;
    background-color: rgba(0, 0, 0, 0.9);
    color: white;
    position: absolute;
    top: 0;
    left: 0;
    text-align: center;
    z-index: 2; /* Ensures it appears on top */
    border: 1px;
    border-style: inset;
}

.hide p {
    line-height: 16px;
}

.box {
    position: relative;
    width: 250px;
    text-align: center;
    padding: 20px;
    background-color: aliceblue;
    border-radius: 15px;
    display: grid;
    box-shadow: 5px 5px 15px black;
}


.flex {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    width: 100%;
    /* background-color: yellowgreen; */
}


@media (max-width: 768px) {
    .intro {
        font-size: 24px;
    }
    
    .line1 {
        display: flex;
        flex-direction: column;
    }
}