@import url(nav.css);
@import url(footer.css);
@import url(font.css);
@import url(page/project.css);
@import url(page/cgu.css);

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family:Verdana, Geneva, Tahoma, sans-serif;
}

body {
    background-color: black;
    color: #333;
}

.main-content {
    display: flex;
    flex-direction: column;
    gap: 100px;
    margin-left: 5%;
    margin-right: 5%;
    margin-top: 50px;
    padding-left: 5%;
    padding-right: 5%;
    padding-top: 70px; 
    background-color: white;
}

.presentation-site{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 50px;
}

.presentation-site h1 {
    font-size: 40px;
    text-align: center;
    margin-bottom: 20px;
}

.presentation-site p {
    font-size: 20px;
    text-align: center;
    margin-bottom: 20px;
}

.presentation-site a {
    background-color: white;
    color: black;
    border: 2px solid black;
    padding: 10px 15px;
    cursor: pointer;
    box-shadow: 5px 5px 0px black;
    transition: 0.2s ease-in-out;
}

.presentation-site a:hover {
    box-shadow: none;
    background-color: black;
    color: white;
}

@media screen and (max-width: 800px) {
    .presentation-site {
        gap: 10px;
    }
}

.presentation-site img {
    max-width: 600px;
    min-width: 300px;
    width: 100%;
    display: block;
    border-bottom: black 5px solid;
}

.presentation-site > div { 
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.presentation-site > div > div { 
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.presentation-perso{
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 50px;
}

.presentation-perso img {
    min-width: 100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    display: block;
    border: black 5px solid;
    object-fit: cover;
    box-shadow: 5px 10px 0px black;
}

.presentation-perso > div > a, .presentation-site > div > a {
    display: inline-block;
    margin-top: 20px;
    text-decoration: none;
    color: black;
}

.mes-competences {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.mes-compétences ul {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    flex-direction: row;
    flex: 1;
    margin: 10px;
    gap: 25px;
}

.mes-compétences li {
    width: 200px;
    border: black 5px solid;
    box-shadow: 10px 20px 0px black;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    transition: 0.3s ease; 
}

.mes-compétences li:hover {
    transform: scale(1.05);
    box-shadow: 15px 30px 0px black;
}

.champ-front-end,
.champ-back-end,
.champ-bases-de-données,
.champ-outils,
.champ-graphic {
    display: block;
}


@media screen and (max-width: 600px) {
    .mes-compétences li {
        width: 120px;
        height: 120px;
    }
}

.mes-compétences img {
    width: 100%;
    min-width: 80px;
}

.competences-buttons{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.mes-projets {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.mes-projets > div {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.mes-projets > div > div{
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    flex: 1;
    background-color: white;
    border: black 5px solid;
    box-shadow: 10px 20px 0px black;
    max-width: 500px;
}

.mes-projets > div > div > div {
    display: flex;
    flex-direction: column;
    padding: 50px 30px 50px 30px; 
    flex: 1;
    gap: 20px;
}

.mes-projets > div > div > div > div {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.mes-projets a:first-child {
    background-color: white;
    color: gray;
    border: 2px solid gray;
    padding: 10px 15px;
    cursor: pointer;
    transition: 0.2s ease-in-out;
    font-size: 18px;
}

.mes-projets a:last-child {
    background-color: white;
    color: black;
    border: 2px solid black;
    padding: 10px 15px;
    cursor: pointer;
    box-shadow: 5px 5px 0px black;
    transition: 0.2s ease-in-out;
    font-size: 18px;
}
.mes-projets a:last-child:hover {
    box-shadow: none;
    background-color: black;
    color: white;
}

.mes-projets img {
    object-fit: cover;
    width: 100%;
}

@media screen and (max-width: 500px) {
    .mes-projets p {
        font-size: 14px;
    }
}

.GameSearch-projet,
.Visit-ici-projet {
    display: block;
}

.click-carrousel1{
    position: absolute;
    left: 20%;
}

.click-carrousel2{
    position: absolute;
    right: 20%;
}



.contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 50px;
}

.contact > div {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.contact > div > div{
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    background-color: white;
    border: black 5px solid;
    box-shadow: 10px 20px 0px black;
    width: 340px;
    height: 390px;
    padding: 50px 30px 50px 30px;
    gap: 20px;
}

.contact a {
    background-color: white;
    color: black;
    border: 2px solid black;
    padding: 10px 15px;
    cursor: pointer;
    box-shadow: 5px 5px 0px black;
    transition: 0.2s ease-in-out;
    font-size: 18px;
}

.contact a:hover {
    box-shadow: none;
    background-color: black;
    color: white;
}

.icon{
    width: 120px;
}

