@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@500&display=swap');

body {
    display: flex;
    flex-direction: column;
    margin: 0px;
    height: 200vh;
    font-family: 'Comfortaa', cursive;
    background-color: #222121;
}
main {color: aliceblue;}
#laplateforme {font-family: 'Roboto Slab', serif; font-weight: 500;}


/* -------------------- | header | -------------------- */

.head-box {
    display: flex;
    flex-direction: row;
    background-color:whitesmoke;
    width:100%;
    max-height: 75px;
    top: 0px;
    position:fixed;
    z-index: 3;
    border-bottom: 1px solid #2B63A1;
}
.logo {
    display: flex;
    flex-flow: row;
}
.logo a {
    margin: auto;
    margin-right: 0%;
            max-width: 85%;
            height: 85%;
            object-fit: cover;
            margin: auto;
        }
        .logo img {
            height: 100%;
            object-fit: contain;
        }
        .logo h1 {
            font-family: 'Roboto Slab', serif;
            font-size:40px;
            font-weight: 600;
            color: #2B63A1;
            margin: auto;
        }
        .logo h1::after {
            content: "";
            animation: appear 2s;
            animation-delay: 4s;
            display: inline;
        }
        #animation-h h1 {
            font-family: 'Roboto Slab', serif;
            font-size:40px;
            font-weight: 600;
            color: #2B63A1;
            margin: auto;
            overflow: hidden;
            white-space: nowrap;
            border-right: 3px solid #2B63A1;
            animation: typing 2.2s steps(18, end), blink 2s forwards;
        }
        #animation-h img {
            opacity: 0;
            animation: appear 1s forwards;
            animation-delay: 2s;
        }
        .navigation {
            margin: auto;
            margin-right: 0%;
            width: 50%
        }
        .pages {
            display: flex;
            flex-flow: row;
            justify-content: space-between;
        }
        .pages a{
            margin: auto;
            text-decoration: none;
            color: black;
            animation: tracking-in-expand 0.7s cubic-bezier(0.215, 0.610, 0.355, 1.000) both;
        }
        .pages a:hover {
            color: #2B63A1;
        }
        #active-p::before {
            content: "|";
            padding-right: 10px;
        }
        #active-p::after {
            content: "|";
            padding-left: 10px;
        }

        /* ---------------------------------------- | footer | ---------------------------------------- */
        
footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    background: whitesmoke;
    margin-top: auto;
    height: 15%;
}
    footer div {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }
    footer div a {
        text-decoration: none;
        color: black;
        font-size: 14px;
        margin-bottom: 10px;
    }
        .f-réseausocial {
            width: 25%;
            height: 100%;
        }
        .f-réseausocial img{
            height: max-content;
            margin-top: 40px;
            width: 100%;
        }
            #rs-link {
                display: flex;
                flex-direction: row;
                justify-content: flex-start;
                max-width: 100%;
                max-height: 100%;
            }
            #rs-link a {
                margin-right: 5px;
            }
            #rs-link i {
                color: #2B63A1;
                font-size: 40px;
            }
        .f-contact img {
            object-fit: contain;
            height: 35%;
        }

        
        /* ---------------------------------------- | accueil | ---------------------------------------- */
        
        
        .presentation {
    display: flex;
    flex-direction: row;
    background-image: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)), url("images-src/pexels-photo-6424586.webp");
    background-size: cover;
    height: 600px;
    z-index: 2;
    position: relative;
}
    .presentation-i {
        display: flex;
        flex-direction: row;
    }
        .presentation-i img {
            object-fit: contain;
            border-radius: 20px;
            height: 60%;
            margin: auto;
            margin-left: 2%;
            margin-right: 2%;
            box-shadow: 0 0 20px 0 #2B63A1;
        }
            #pres-img1 {
                margin-left: 100px;
                animation: slide-in-from-top 1s forwards;
            }
            #pres-img2 {
                margin-bottom: 40px;
                animation: slide-in-from-bottom 1s forwards;
            }
    .presentation-t {
        margin-top: 100px;
        margin: auto;
        margin-left: 8.5em;
        margin-right: 8.5em;
        text-align: center;
    }
        .presentation-t p {    
            text-align: justify;
            font-size: 23px;
        }
        .presentation-t button {
            font-family: "Comfortaa", cursive;
            color: aliceblue;
            font-size: 23px;
            font-weight: 700;
            background: none;
            border-color:aliceblue;
            border-radius: 20px;
            margin: auto;
            margin-top: 25px;
            width: 60%;
            transition: 0.5s;
            line-height: 50px;
            scale: 1.1;
        }
        .presentation-t button:hover {
            box-shadow: 0 0 10px 0 #2B63A1;
            color:#37373D;
            background: aliceblue;
        }

.formations {
    border-top: 500px aliceblue;
    margin-top: 3em;
}
.formations h1 {
    text-align: center;
    font-size: 35px;
    animation: tracking-in-expand 1s forwards;
}
.spécialités {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-top: 60px;
    margin-bottom: 60px;
}
    .container-col {
        display: flex;
        flex-direction: column;
        box-shadow: 0 0 50px 0 rgb(240,248,255, 0.2);
        background: #282626;
        margin: auto;
        border-radius: 20px;
        box-sizing: content-box;
        max-width: 28%;
        height: 600px;
        transition: 1s;
        z-index: 1;
        animation: slide-in-from-bottom 1s forwards;
    }
        .container-col img {
            object-fit: cover;
            height: 40%;
            width: 100%;
            border-radius: 10px 10px 0px 0px;

        }
        .container-col h2 {
            text-align: center;
        }
        .container-col p {
            text-align: justify;
            margin-left: 2.3em;
            margin-right: 2.3em;
            flex: 0 0 150px;
        }

        .container-col a {
            margin: auto;
            font-family: 'Comfortaa', cursive;
            font-size: 16px;
            font-weight: 700;
            text-decoration: none;
            text-align: center;
            background: #282626;
            color: aliceblue;
            border: 0cm;
            border-radius: 20px;
            line-height: 40px;
            width: 75%;
            transition: 0.6s;
        }
        .container-col a:hover {
            color:#2B63A1;
            box-shadow: 0 0 10px 0 #2B63A1;
            scale: 1.1;
        }
        #titres {
            flex: 0 0 0px;
            margin: auto;
            margin-top: 0%;
            margin-bottom: 0%;
            font-weight: 700;
            font-size: 18px;
        }

    .container-col:hover {
        box-shadow: 0 0 100px 0 #2B63A1;
        background: aliceblue;
        color: #2B63A1;
    }

/* ---------------------------------------- | aws Restart | ---------------------------------------- */


/* ---------------------------------------- | animations keyframes | ---------------------------------------- */

@keyframes typing {
	0% {width: 0;}
    60%, 99% {width: 61%}
	100% {width: 65%;}
}
@keyframes blink {
	0%, 20%, 40%, 60%, 80%, 100% {border-color: transparent;}
    10%, 30%, 50%, 70%, 90% {border-color: #2B63A1;}
}
@keyframes appear {
    0%{opacity: 0;}
    100% {opacity: 1;}
}

@keyframes tracking-in-expand {
    0% {
      letter-spacing: -0.5em;
      opacity: 0;
    }
    40% {
      opacity: 0.6;
    }
    100% {
      opacity: 1;
    }
  }
@keyframes slide-in-from-bottom {
    0% {
        opacity: 0;
        transform: translateY(80px);
    }
    100% {
        opacity: 1;
        transform: translateY(0px);
    }
}
@keyframes slide-in-from-top {
    0% {
        opacity: 0;
        transform: translateY(-80px);
    }
    100% {
        opacity: 1;
        transform: translateY(0px);
    }
}
  
  
