html {
    --epitech-blue: #0090D2;
    --epitech-violet: rgba(96, 70, 150);
    --epitech-dark-blue: #1F495E;
    --light-1: white;
    font-family: 'Mulish', sans-serif;
}

body {
    margin: 0rem;
}

header {
    background-color: var(--epitech-violet);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding-bottom: 4rem;
}

p {
    text-align: justify;
}

a {
    color: black;
}

section {
    padding-left: 2rem;
    padding-right: 2rem;
    padding-top: 4rem;
    padding-bottom: 4rem;
}

h2 {
    color: rgba(31, 72, 94);
}

li:not(:last-child) { 
    margin-bottom: 1rem;
}

ul {
    padding-left: 1rem;
}

.paragraph-left {
    display: flex;
    flex-direction: row;
}

.paragraph-left div {
    width: 50%;
}

.paragraph-left div:last-child {
    margin-top: 3rem;
    margin-left: 1rem;
}

.signaling-button > .testimony-button {
    padding: 3rem;
    margin: 1rem;
}

.epitech-logo {
    height: 10rem;
}

.navigation {
    background-color: var(--epitech-violet);
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    padding-right: 2rem;
}

.engagements-img {
    width: 40vw;
    margin-top: 5rem;
}

.navigation > a {
    background-color: var(--epitech-dark-blue);
    box-shadow: none;
    margin-bottom: 0.2rem;
    padding: 2rem;
    text-decoration: none;
    color: var(--light-1);
    font-weight: bold;
    align-items: center;
    display: flex;
    border-radius: 1rem;
    margin-left: 1rem;
    border: solid 1px transparent;
}

.navigation > a:hover {
    background-color: var(--light-1);
    color: #1f485e;
    transition: all ease-in-out 0.4s;
    border: solid 1px var(--epitech-dark-blue);
}

.more-info {
    display: flex;
    flex-direction: row;
}

.how {
    margin-right: 2rem;
}

.engagement {
    display: flex;
    flex-direction: row;
    padding-bottom: 6rem;
    background-color: var(--epitech-violet);
    color: var(--light-1);
    position: relative;
}

.engagement-box {
    display: flex;
    flex-direction: row;
}

.engagement-box:after, .engagement-box:before {
    content: '';
    position: absolute;
    bottom: -1px;
    width: calc(50% + .5px);
    height: 50px;
    z-index: 9;
    background: #FFF;
}

.engagement-box:before {
    left: 0;
    border-top-right-radius: 5rem;
}

.engagement-box:after {
    right: 0;
    border-top-left-radius: 5rem;
}


.engagement-box h2 {
    color: var(--light-1);
}

.engagement-box > div {
    max-width: 60vw;
    margin-right: 5rem;
}

.engagement-text {
    display: flex;
    flex-direction: column;
}

.engagement-box >  p, li{
    max-width: 60vw;
    text-align: left;
}

.engagement-box > .testimony-button {
    visibility: hidden;
    display: none;
}

.resp {
    display: flex;
    flex-direction: row;
}

.resp-panel {
    width: 45vw;
    display: flex;
    flex-direction: column;
}

.volontary {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.volontary-img {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
}

.volontary-img > div {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.resp-img > div {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.resp-text {
    display: flex;
    flex-direction: column;
    width: 50vw;
}

.resp-img {
    margin-top: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.testimony-button {
    background-color: var(--light-1);
    border-radius: 1rem;
    color: var(--epitech-blue);
    box-shadow: none;
    font-size: 1.5rem;
    text-align: center;
    justify-content: center;
    align-items: center;
    display: flex;
    transition: all ease-in-out 0.4s;
    width: 15vw;
    margin: 2rem;
    padding: 2rem;
    text-decoration: none;
}

.testimony-button:hover {
    background-color: var(--epitech-blue);
    color: var(--light-1);
}

.signaling {
    display: flex;
    flex-direction: row;
    margin: 0rem;
    background-color: var(--epitech-blue);
    color: var(--light-1);
}

.signaling h2 {
    color: var(--light-1);
}

.signaling-text {
    max-width: 60vw;
}

.iframe {
    width: 30vw;
    height: 70vh;
}

.signaling-button {
    width: 40vw;
    display: flex;
    justify-content: center;
    align-items: center;
}

.resp-text > div {
    max-width: 60vw;
}

@media (max-width: 1250px) {
    .epitech-logo {
        height: 5rem;
        justify-self: center;
        align-self: center;
    }
    
    .testimony-button {
        padding: 2rem;
        width: 7vw;
        font-size: 0.8rem;
        height: 1rem;
        align-self: center;
    }

    .engagement-box {
        display: flex;
        flex-flow: column-reverse;
    }
    
    .engagement-box > div {
        max-width: 100vw;
        width: 100%;

    }

    .engagement-box >  p, li{
        max-width: 100vw;
        width: 100%;
        text-align: left;
    }
        
    .engagement-box > .testimony-button {
        visibility: hidden;
        display: none;
    }

    .engagements-img {
        width: 80vw;
        margin-top: 5rem;
        margin: auto;
    }

    .navigation {
        padding-right: 1rem;
        padding-left: 1rem
    }

    .navigation a {
        text-align: center;
        padding: 1rem;
        margin-left: 0rem;
    }

    .navigation > a:not(:last-child) { 
        margin-right: 1rem;
    }

    .volontary {
        display: flex;
        flex-wrap: wrap;
        padding: 2rem;
        align-items: center;
        justify-content: center;
    }
    
    .resp {
        display: flex;
        flex-direction: column;
    }

    .resp-text {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .resp-text > div {
        max-width: 100vw;
    }

    .resp-img {
        margin-top: 2rem;
    }

    .resp-panel {
        width: 100%;
    }

    .signaling {
        flex-direction: column;
        align-items: center;
    }

    .signaling-text {
        width: 100vw;
        max-width: 100%;
    }

    .signaling-button > .testimony-button {
        padding: 3rem;
        width: 30vw;
        font-size: 1.5rem;
        height: 1rem;
        align-self: center;
        margin-top: 1rem;
    }

    .iframe {
        width: 100vw;
        height: 70vh;
    }
}

@media (max-width: 640px) {
    header > .testimony-button {
        visibility: hidden;
        display: none;
    }

    .engagement-box {
        padding-top: 2rem;
    }

    header {
        flex-direction: column;
        padding-bottom: 1rem;
    }

    .navigation {
        flex-direction: column;
        padding: 0px;
    }

    .navigation a {
        justify-content: center;
    }

    .navigation > a:not(:last-child) { 
        margin-right: 0rem;
    }

    .testimony-button {
        width: 90%;
        font-size: 1.2rem;
        margin-top: 1rem;
    }

    .paragraph-left div:last-child {
        margin-top: 0rem;
        margin-left: 0rem;
    }

    .paragraph-left {
        display: flex;
        flex-direction: column;
    }
    
    .paragraph-left div {
        width: 100%;
        margin-left: 0rem;
    }

    .more-info {
        flex-direction: column;
    }
    .how {
        margin-right: 0px;
    }
    .iframe {
        width: 100vw;
    }
    ul {
        padding-left: 1.2rem;
    }

    .volontary-img img {
        width: 15rem;
    }
    .resp-img img {
        width: 15rem;
    }
}