.projet{
    background-color: #333333;
    gap: 4rem;
}
main{
    padding: 0 5rem 0 5rem;
    gap: 4rem;
}
.prj-container{
    display: flex;
    justify-content: center;
}
.prj{
    display: grid;
    grid-template-columns: 56% 44%;
    min-width: 80vw;
    background-color: #555555;
    border: 1px solid #707070;
    border-radius: 20px;
}
.prj-img{
    display: flex;
    justify-content: center;
    align-items: flex-end;
    width: 100%;
    aspect-ratio: 4 / 3;
    margin: 0.4rem;
}
.prj-img > img{
    object-fit: cover;
    width: 100%;
    min-height: 100%;
    border-radius: 1rem;
}
.info{
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    padding: 1rem 0 2rem 0;
    font-family: the-seasons, serif;
    font-weight: 500;
}
.info > h1{
    font-size: 2.5rem;
    color: white;
}
.trow{
    display: flex;
    justify-content: space-between;
}
.info > .trow{
    width: 80%;
    border-bottom: 1px solid white;
    color: white;
    padding: 0.5rem;
    font-size: 1.3rem;
}
.accordion {
    font-family: the-seasons, serif;
    font-size: 1.3rem;
    background-color: #555555;
    color: white;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    transition: 0.4s;
}
.active, .accordion:hover {
    background-color: #212121;
    color: white;
}
.panel {
    padding: 0 18px;
    background-color: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
}
footer{
    display: flex;
    justify-content: center;
    gap: 5rem;
}
footer > #pre,
footer > #suiv{
    font-family: ClashDisplay-Semibold, sans-serif;
    font-size: 1.8rem;
    width: 15rem;
    height: 3.5rem;
    padding: 0.5rem;
    border-radius: 15px;
    border: none;
    cursor: pointer;
    background: #000000;
    color: #F2F2F2;
    transition: all 0.2s ease-in-out;
    margin-bottom: 3rem;
    box-shadow: 0 0 1px #ffffff;
}
footer > #pre:hover,
footer > #suiv:hover{
    background: #ffffff;
    color: #333333;
}


.iframe-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    padding-top: 56.25%;
    overflow: hidden;
}

.iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

@media screen and (max-width: 1230px) {
    .prj{
        grid-template-columns: 50% 50%;
    }
    .info {
        gap: 0.8rem;
        padding: 0.5rem 0 0.5rem 0;
    }
    .info > .trow {
        font-size: 1.2rem;
        width: 90%;
    }
    .info > h1 {
        font-size: 2.2rem;
    }
    main{
        padding: 0 0.7rem 0 0.7rem;
    }
}
@media screen and (max-width: 770px) {
    .prj{
        display: flex;
        flex-direction: column;
    }
    .prj-img {
        margin: unset;
    }
    .prj-img > img {
        border-radius: 1.5rem;
        padding: 0.5rem;
    }
    .info {
        padding: 0.5rem 0 0.8rem 0;
    }
    .info > .trow {
        font-size: 1.2rem;
    }
    footer{
        gap: 1.5rem;
        justify-content: space-between;
    }
}
@media screen and (max-width: 460px) {
    .info > .trow {
        font-size: 1rem;
    }
}

