/* div {
    border:1px solid #e4e4e4
} */

.all-card {
    display: flex;
    justify-content: center;
}

.content-card {
    width: min(100% - 2rem, 110rem);
    display: flex;
    flex-direction: column;
    /* min-height: 900px; */
    flex-wrap: wrap;
    justify-content: center;
    gap:20px;
    padding: 50px 0;
}

.content-card .back {
    background-color: #321A59;
    color: white;
    width: 50px;
    height: 50px;
}

.content-card .back a {
    color: white;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: .3s;
    font-size: 4rem;
}

.content-card .back a:hover {
    color: #ffa14d;
    cursor:pointer;
}

.content-card .back i:hover {
    cursor:pointer;
}

.content-card .subject-card{
    display: flex;
    align-items: center;
    justify-content: center;
}

.content-card .subject-card iframe {
width: 100%;
height: 620px;
box-shadow: 0 0 20px 1px rgb(138, 138, 138);

} 

.subject-card img {
    /* width: 100%; */
    max-width: 600px;
    box-shadow: 0 0 20px 1px rgb(138, 138, 138);
}


.content-card .title-subject-card h2 {
    color: #321A59;
    font-size: 5rem;
    font-weight: 700;
    padding: .5rem 0;
    margin-bottom: .5rem;
    border-bottom: 2px solid #321A59;
}

.content-card .title-subject-card p {
    color: #321A59;
    font-size: 2rem;
    font-weight: 600;
    padding-top: .5rem;

}


.content-card .features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap:30px;
    width: 100%;
    padding:5rem 0;
}


.content-card .features div {
    width: 100%;
    padding:3rem 3rem;
}

.content-card .features div {
    background-color: #f8f8f8;
}

.content-card .features h2 {
    color: #321A59;
    font-size: 3rem;
    font-weight: 700;
    padding-bottom: .5rem;
    margin-bottom: .5rem;
    border-bottom: 2px solid #321A59;
}

.content-card .features p {
    color: #321A59;
    font-size: 1.8rem;
    font-weight: 400;
    line-height: 1.2em;
    padding:1em 0;
}

.content-card .features a {
    color: #ffa14d;
    font-weight: 600;
    text-decoration: none;
}


/* -----------photo----------- */

.photos-paysage {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    gap:20px;
    justify-content: center;
}

.photo-paysage {
    width: 49%;
    background-color: #f8f8f8;
    padding:1rem;
}

.photos-paysage img {
    width: 100%;

}

.photos-paysage, .photos-paysage div {
    /* border:2px solid rgb(233, 233, 233); */
    padding:.5rem;
}

.photo-paysage h3 {
    font-size: 1.8rem;
    color: #321A59;
    padding-bottom: 1rem;
}

/* portrait */


.photos-portrait {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    gap:20px;
    justify-content: center;
}

.photo-portrait {
    width: 32%;
    background-color: #f8f8f8;
    padding:1rem;
}

.photos-portrait img {
    width: 100%;

}

.photos-portrait, .photos-portrait div {
    /* border:2px solid rgb(233, 233, 233); */
    padding:.5rem;
}

.photo-portrait h3 {
    font-size: 1.8rem;
    color: #321A59;
    padding-bottom: 1rem;
}





.photo-paysage p, .photo-portrait p {
    font-size: 1.2rem;
}


@media screen and (max-width: 1100px) {

    .content-card .subject-card iframe {
        width: 800px;
        height: 450px;
    } 

    .photo-paysage {
        width: 90%;
    }

}

@media screen and (max-width: 820px) {

    .content-card .subject-card iframe {
        width: 600px;
        height: 350px;
        } 

}

@media screen and (max-width: 650px) {

    .content-card .subject-card iframe {
        width: 100%;
        height: 200px;
    } 

    .content-card .title-subject-card h2 {
        font-size: 3rem;
    }

    .content-card .features p {
        font-size: 1.5rem;
    }

    .photo-paysage {
        width: 100%;
    }

    .photo-portrait {
        width: 47%;
    }

}

@media screen and (max-width: 400px) {

    .photo-portrait {
        width: 100%;
    }

}

