/* police */
@font-face {
    font-family: 'Comfortaa';
    src: url('../fonts/comfortaa.ttf');
}

body{
    scroll-behavior: smooth;
    display: flex;
    margin : 0;
    font-family: 'comfortaa';
}
nav{
    display: flex;
    
    justify-content:  center;
    align-items: center;
    width: 100vw;
    height: 8vh;
    background-color: #f5f5f5;
    
    position: fixed;
    z-index: 2;

}
nav ul{
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    list-style: none;
    padding-inline-start: 0;
    
}
nav ul li{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100px;
    height: 100%;
    text-align: center;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
}
nav ul li:hover{
    background-color: #e6e6e6;
    cursor: pointer;
}
nav ul li a{
    text-decoration: none;
    color: black;
    font-weight: bold;
    font-size: 1.2em;
}
header{
    background-image: url(../img/background.jpg);
    background-size: cover;
    background-position: center;
    height: 100vh;
    width: 100%;
    position: fixed;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;

}
header h1{
    font-size: 3em;
    font-weight: bold;
    margin-bottom: 20px;
    padding-left: 50px;
    padding-right: 50px;
    padding-top: 10px;
    padding-bottom: 10px;
    backdrop-filter: blur(3px) ;
    border-radius: 10px;
    box-shadow: 2px 2px 2px rgba(128, 119, 119, 0.6);
    border: 1px solid rgba(255,255,255,.3);
}
#projets{
    background-color: rgb(220, 247, 243);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
    position: relative;
    top: 100vh;
    width: 95%;
    border-radius: 10px;
    box-shadow: 1px 5px 5px 2px rgba(0,0,0,0.75);
    margin: 50px;
}
#projets h2{
    font-size: 2em;
    font-weight: bold;
    margin-top: 20px;
    margin-bottom: 20px;


}


.grid
{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 10px;
    padding: 10px;
    margin: 10px;
    width: 95%;
}
.projet
{
    color : rgb(220, 247, 243);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: rgb(38, 73, 88);
    border-radius: 5px;
    padding: 30px;
    margin: 10px;
    box-shadow: 1px 1px 5px 1px rgba(38, 73, 88, 0.75);
}
.projet img
{
    max-height:50vh;
    max-width: 100%!important;
    /* object-cover */
    object-fit: contain;
    border-radius: 5px;
    margin-top: 30px;
}
.projet p
{
    text-align: center;
    margin: 10px;
}
.projet h1
{
    font-weight: bold;
}

.Title{
    color: white;
}
form {
    backdrop-filter: blur(3px) brightness(0.7);
    box-shadow: 5px 5px 5px rgba(0,0,0,.6);
	border:1px solid rgba(255,255,255,.3);
    padding: 40px;
    border-radius: 30px;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    min-height: 35%;
    width: 30%;


}

form>input {
    margin-bottom: 20px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

form>textarea {
    margin-bottom: 20px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

form>button {
    background-color: #1d5b99;
    color: #fff;
    border: 0;
    padding: 10px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}



.contact {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-image: url(../img/background.jpg);
    background-size: cover;
    background-position: center;
    height: 100vh;
    width: 100%;
}

.lang{

}


#content{
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url(../img/background.jpg);
    background-size: cover;
    background-position: center;
}
#CV{
    width: 70%;
    height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    
}