* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* font-family: sans-serif; */
    font-family: 'Quicksand', sans-serif;
}






body {
    background-color: #2d4059;
    color: #fff;
}

header {
    width: 100%;
    height: 100vh;

}

.container {
    padding: 10px 10%;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;

}

.logo {
    width: 200px;

}



nav ul li {
    display: inline-block;
    margin: 10px 30px;
    list-style: none;
    position: relative;
}

nav ul li a {
    text-decoration: none;
    color: white;
    font-size: 18px;
    position: relative;

}

nav ul li a::after {
    content: '';
    background: #9f7928;
    height: 3px;
    width: 0;
    position: absolute;
    left: 0px;
    bottom: -6px;
    transition: 0.5s;

}

nav ul .dropdown li a:hover::after {
    width: 0;
}

nav ul li a:hover::after {
    width: 100%;
}

nav ul li a:hover {
    font-weight: bold;
}

ul li ul.dropdown li {
    display: block;
}

.dropdown li a:hover {
    font-weight: normal;
}


ul li ul.dropdown {
    margin-top: 2.5%;
    padding: 0px;
    background: #445c7c;
    border-radius: 5px;
    position: absolute;
    z-index: 999;
    display: none;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

ul li:hover ul.dropdown {
    display: block;
}

.user-box {
    margin-top: 70px;
    display: inline-block;
    position: relative;
}

.user-box img {
    display: inline-block;
    height: auto;

    width: 410px;
    padding-top: 1px;
    opacity: 50%;
}

.user-box::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 90px;
    background: linear-gradient(transparent, #2d4059 80%, #2d4059);
}

.text-box {
    margin-top: 130px;
    max-width: 600px;
    position: absolute;
    top: 15%;
    right: 12%;
    font-size: 20px;
    font-weight: bold;
    padding-left: 8%;
    line-height: 35px;
}

.text-box h1 {
    font-size: 30px;
    margin-bottom: 30px;
    color: goldenrod;
}

@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');

.left-to-right {
    font-family: 'Poppins', sans-serif;
    animation: 0.4s left-to-right forwards;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -.005em;
    font-family: "SF Pro Display", "SF Pro Icons", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
    color: rgba(0, 0, 0, 0.8);
    text-align: left;
}

@keyframes left-to-right {
    from {
        transform: translateX(100vw);
    }

    to {
        transform: translateX(0);
    }
}

.text-box p {
    display: inline-block;
    margin-top: 20px;
    font-weight: normal;
    font-size: 13px;
    line-height: 25px;
}

.text-box img {
    width: 500px;
}

/** animating the logo **/
@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

img.pulsing {
    animation: pulse 2s infinite;
}

/*Ressources pages */

#L2 {
    margin-top: 30px;
    margin-bottom: 30px;
}

.sub-title {
    font-size: 60px;
    font-weight: 600;
    color: white;
    position: relative;
    text-align: center;
    display: inline-block;

}

.sub-title::after {
    content: '';
    background: #9f7928;
    height: 22px;
    width: 100%;

    position: absolute;
    left: 0px;
    bottom: 4px;
    z-index: -1;
    opacity: 70%;
}

.ressources-boxes {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    gap: 90px;
    margin-top: 60px;
    margin-bottom: 80px;
}


.ressources-box {

    min-width: 250px;
    /* background: #262626; */
    background: #445c7c;

    padding: 60px 50px;
    font-size: 13px;
    font-weight: 300;
    border-radius: 10px;
    transition: background 0.5s, transform 0.5s;
    margin-top: 30px;
    margin-bottom: 30px;
    margin: 10px;
    box-shadow: 10px 4px 8px rgba(160, 126, 53, 0.2);

}


.ressources-box h1 {
    font-size: 35px;
    font-weight: 800;
    margin-top: 15px;
    margin-bottom: 20px;
    text-align: center;
}

.ressources-box a {
    text-decoration: none;
    margin-top: 20px;
    font-size: 25px;
    color: white;
    display: inline-block;
}

.fa-folder {
    margin-top: 20px;
    font-size: 25px;
    display: inline-block;
    margin: 10px 15px 10px 0;
    cursor: pointer;

}

.ressources-box:hover {
    transform: translateY(-10px);
    /* background: radial-gradient(ellipse farthest-corner at right bottom, #FEDB37 0%, #FDB931 8%, #9f7928 30%, #8A6E2F 40%, transparent 80%),
        radial-gradient(ellipse farthest-corner at left top, #FFFFFF 0%, #FFFFAC 8%, #D1B464 25%, #5d4a1f 62.5%, #5d4a1f 100%); */
    background: #445c7c;



}


nav .fas {
    display: none;
}

/*********footer********/
footer {

    /* background: #111; */
    background: #24262b;

    height: auto;
    width: 100vw;
    font-family: "Open Sans";
    padding-top: 40px;
    color: #fff;
}

.footer-logo {
    width: 200px;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

.footer-content h3 {
    font-size: 1.8rem;
    font-weight: 400;
    text-transform: capitalize;
    line-height: 3rem;
}

.footer-content p,
.links {
    max-width: 500px;
    margin: 10px auto;
    line-height: 28px;
    font-size: 14px;
}


.footer-bottom {
    background: #445c7c;
    width: 100vw;
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
    word-spacing: 2px;
    text-transform: capitalize;
}

.footer-bottom span {
    text-transform: uppercase;
    opacity: .4;
    font-weight: 200;
}



/* -----------Responsiveness--------- */
@media only screen and (max-width :600px) {
    .text-box img {
        width: 300px;
    }

    .container {
        padding: 10px 10%;
    }

    .user-box {
        display: none;
    }

    nav .fas {
        display: block;
        font-size: 25px;
    }

    nav ul {
        background: #445c7c;
        position: fixed;
        top: 0;
        right: -200px;
        width: 200px;
        height: 100vh;
        padding-top: 50px;
        z-index: 2;
        transition: right 0.5s;
    }

    ul li:hover ul.dropdown {
        display: none;
    }

    nav ul li {
        display: block;
        margin: 25px;
    }

    nav ul .fas {
        position: absolute;
        top: 25px;
        left: 25px;
        cursor: pointer;
    }

    .footer-logo {
        width: 45%;
    }

}

/**footer2 */
.row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

ul {
    list-style: none;
}

.footer2 {
    background-color: #24262b;
    padding: 70px 0;
}

.footer-col {
    width: 25%;
    padding: 0 15px;
}

.footer-col h4 {
    font-size: 18px;
    color: #ffffff;
    text-transform: capitalize;
    margin-bottom: 35px;
    font-weight: 500;
    position: relative;
}

.footer-col h4::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    background-color: #9f7928;
    height: 2px;
    box-sizing: border-box;
    width: 50px;
}

.footer-col ul li:not(:last-child) {
    margin-bottom: 10px;
}

.footer-col ul li a {
    font-size: 16px;
    text-transform: capitalize;
    color: #ffffff;
    text-decoration: none;
    font-weight: 300;
    color: #bbbbbb;
    display: block;
    transition: all 0.3s ease;
}

.footer-col ul li a:hover {
    color: #ffffff;
    padding-left: 8px;
}

.footer-col .social-links a {
    display: inline-block;
    height: 40px;
    width: 40px;
    background-color: rgba(255, 255, 255, 0.2);
    margin: 0 10px 10px 0;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    color: #ffffff;
    transition: all 0.5s ease;
}

.footer-col .social-links a:hover {
    color: #24262b;
    background-color: #ffffff;
}

/*responsive*/
@media(max-width: 767px) {
    .footer-col {
        width: 50%;
        margin-bottom: 30px;

    }

    .user-box {
        display: none;
    }
}

@media(max-width: 574px) {
    .footer-col {
        width: 100%;
    }
}