@import url('https://fonts.googleapis.com/css2?family=Indie+Flower&family=Khand:wght@300;400;500;600;700&family=Oswald:wght@200..700&display=swap');


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    font-family: "Khand", sans-serif;
}


html::-webkit-scrollbar {
    width: 0.5rem;
    background-color: white;
}

html::-webkit-scrollbar-thumb {
    background-color: #141C26;
}

header:hover {
    height: 90px;
    background-color: #a59b88;    
}

header {
    background: linear-gradient(to right, rgb(214,200,186),#0033758e);
    height: 80px;
    transition: all .5s ease-in-out;
    position: fixed;
    top:0;
    width: 100%;
}

header li, header
a {
    text-decoration: none;
    list-style: none;
    padding: 20px;
    color: white;
}


ul {
    display: flex;
    justify-content: end;
    font-size: 24px;
}

header a:hover {
    color:rgba(19, 91, 199, 0.678);
    border-bottom: 3px solid rgba(19, 91, 199, 0.678);
}


.background {
    background: url("/img/indiana-dunes-state-park-1848559_1280.jpg") center/cover;
    height: 90vh;
}

body {
    background: #a59b88;;
}

.soulignage {
    background-color: rgb(92, 232, 236);
    width: 80px;
    height: 5px;
    border-radius: 20px;
    margin: 0 auto;
}

.bienvenue h1,
.bienvenue h2 {
    font-size: 62px;
    text-align: center;
}

.bloc{
    background-color: #a59b88af;
    padding: 20px;
    width: 50%;
    margin: 0 auto;
    border-radius: 20px;
    color:white;
    transition: all .6s ease-in-out;
    cursor: pointer;
}

.bloc:hover h1:first-of-type{
    color: rgba(255, 0, 0, 0.678);
}

.bloc:hover h1:last-of-type {
    color: rgb(42, 161, 165);
}

.bloc:hover h1:nth-child(2) {
    color: rgba(19, 91, 199, 0.678);
}

.animate-text {
    visibility: hidden;
}



.bienvenue {
    padding-top: 30vh;
    height: auto;
}

/* ################################ */
/* #############A PROPOS########### */
/* ################################ */

#apropos {
    background: linear-gradient(to right, rgb(214,200,186),#0033758e);
    font-size: 24px;
    text-align: center;
    height: 300px;
    color: black;
    margin: 0 auto;
}

#apropos h1, p {
    color: white;
}

#apropos p {
    margin-top: 10px;
    font-size: 24px;
}

#apropos p:first-of-type {
    margin-top: 40px;
}

#apropos h1 {
    padding-top: 30px;
    font-size: 36px;
}


.card {
    background-color: #e0e7eeb7;
    border-radius: 20px;
    width: 200px;
    font-size: 16px;
    padding: 30px 60px;
    margin: 10px;
    transition: all .6s ease-in-out;
    cursor: pointer;
    color: black;
    text-align: center;
    margin-top: 50px;
}

.card:hover {
   transform: scale(1.1);
   background-color: white;
   color:rgba(19, 91, 199, 0.678);
}

.card:first-of-type {
    margin-left: 100px;
}

.flex {
    display: flex;
}

/* ################################ */
/* #############COMPETENCES########### */
/* ################################ */


#competences h1 {
    text-align: center;
    font-size: 36px;
    padding-top: 30px;
    color: white;
}

#competences i {
    font-size: 100px;
}

.bxl-html5 {
    color: orangered;
}

.bxl-css3 {
    color:rgba(19, 91, 199, 0.678);
}

.bxl-javascript {
    color:rgb(247,224,24);
}

.bxl-postgresql {
    color: #316193;
}

.bxl-php {
    color: #4F5B93;
}


.card_dev {
        background-color:#b5abaa67;
        border-radius: 20px;
        width: 900px;
        font-size: 16px;
        padding: 90px 160px;
        margin: 10px;
        transition: all .6s ease-in-out;
        cursor: pointer;
        text-align: center;
        margin-top: 50px;
        height: 500px;
}

.card_dev h2 {
    color: white;
    margin-bottom: 70px;
    font-size: 36px;
}

.flexjc {
    display: flex;
    justify-content: center;
}

.card_lang {
    background-color: white;
    border-radius: 20px;
    margin: 5px;
    width: 300px;
    transition: all .8s ease-in-out;
    opacity: 5;
}

.card_lang p {
    color: black;
    font-weight: bold;
}

.card_lang:hover {
    transform: scaleX(-1);
}

.card_lang p:nth-child(even) {
    color: rgb(48, 114, 214);
}

#competences {
    margin-bottom: 100px;
}

#competences i {
    display: block;
}

/* ################################ */
/* #############Projets########### */
/* ################################ */

#projets h1 {
    text-align: center;
    font-size: 36px; 
}


.projets {
    background-color:#b5abaa67;
    padding: 60px;
    width: 100%;
    margin: 0 auto;
    border-radius: 20px;
}

.projets h1 {
    color: white;
}

.projet img {
    width: 90%;
    transition: all .8s ease-in-out;
    margin-top: 30px;
    padding: 30px;
    border-radius: 30px;
}

.projet {
    margin: 10px;
    background-color: #00000088;
    padding: 10px 10px;
    border-radius: 20px;
}

.flexjs {
    display: flex;
    justify-content: space-evenly;
}

#projets img:hover {
    transform: scale(1.1);
}

.bgile {
    background: url("/img/beach-6292382_1280.jpg") center/cover no-repeat;
}

footer {
    background-color: #a59b88;
    height: 160px;
    text-align: center;
}

footer p {
    padding-top: 50px;
    font-size: 30px;
}


/* Style par défaut pour les écrans petits */
.bloc {
    width: 90%;
    padding: 10px;
}

#apropos, .card_dev {
    padding: 10px;
    font-size: 16px;
}

.card_dev, .card {
    width: 90%;
    padding: 20px;
}

.flexjc, .flexjs {
    flex-direction: column;
    align-items: center;
}

.projets .soulignage {
    margin-bottom: 30px;
}

/* Projets */
.projet img {
    width: 100%;
    border-radius: 20px;
}

.CV {
    text-align: center;
    margin-top: 60px;
}

.CV a {
    background-color: rgb(115, 142, 182);
    color: white;
    text-decoration: none;
    padding: 20px;
    transition: all .8s ease-in-out;
    border-radius: 5px;
    font-size: 20px;
    margin: 20px;
}

.CV a:hover {
    background-color: #3c77b7;
}

/* Media Queries pour les tablettes */
@media (min-width: 600px) {
    .bloc {
        width: 70%;
    }

    .card_dev {
        padding: 40px;
    }

    .flexjc, .flexjs {
        flex-direction: row;
        justify-content: space-evenly;
    }

    .card {
        margin-top: 20px;
    }
}

/* Media Queries pour les ordinateurs */
@media (min-width: 1024px) {
    header {
        height: 80px;
    }

    .bloc {
        width: 50%;
    }

    .card_dev {
        width: 60%;
        padding: 50px;
    }

    .card_lang {
        width: 180px;
    }

    .flexjc, .flexjs {
        flex-direction: row;
        justify-content: space-evenly;
    }

    .projet {
        width: 30%;
    }
}

@media only screen and (max-width: 768px) {
    header ul {
       font-size: 16px;
       justify-content: start;
    }

    header a {
        padding: 10px;
    }

    .bloc {
        height: auto;
        background-color: rgba(255, 255, 255, 0.723);
    }
    
    .bloc h1:first-of-type{
        color: rgba(94, 164, 204, 0.895);
    }
    
    .bloc h1:last-of-type {
        color: rgb(85, 130, 179);
    }
    
    .bloc h1:nth-child(2) {
        color: rgba(129, 85, 180, 0.678);
    }

    .bloc h1 {
        font-size: 32px;
    }
    
    #apropos {

        height: auto;
    }

    .responsive {
        margin-right: 100px;
    }

    .background {
        height: 700px;
    }

    .card_dev {
        height: auto;
    }

   

    .CV a{
       display: block;
    }

}