body{
    background: #051923; 
}

* {
    font-family: 'Inter', sans-serif;
    color: white;
    font-weight: bold;
}

:not(.circle-container) {
    z-index: 2;
  }

section {
    height: 100vh;
}


/* ############################### */
/* ########### Nav bar ########### */
/* ############################### */

nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 4.5rem;
    background-color: #0519237e;
}
  
nav ul {
    list-style: none;
    margin-top: auto;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}
  
nav ul li a {
    text-decoration: none;
    margin: 0 3rem;
    font-size: 1.5rem;
}



/* ############################### */
/* #### Section 1 : Bienvenue #### */
/* ############################### */

.circle-container {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    z-index: 1;
}

#first-circle {
    width: 20rem;
    height: 20rem;
    border-radius: 50%;
    background-color: #00a1ff;
    filter: blur(150px);
    margin-right: 10%;
    margin-top: 35%;
}

#second-circle{
    width: 15rem;
    height: 15rem;
    border-radius: 50%;
    background-color: #0072b5;
    filter: blur(100px);
    margin-right: 70%;
    margin-top: 5%;
}

#third-circle{
    width: 12rem;
    height: 12rem;
    border-radius: 50%;
    background-color: #0072b5;
    filter: blur(120px);
    margin-right: 60%;
    margin-top: 5%;
}

#welcome-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: #051923; 
}

#welcome-text h1{
    margin: 0;
    font-size: 8rem;
}

#welcome-text h2{
    margin: 0;
    font-size: 4rem
}

.blue-word {
    background: #0582CA;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}



/* ############################### */
/* #### Section 2 : A propos ##### */
/* ############################### */

#about-me {
    background-color: #051923;
}

.center-div {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.horizontal-div {
    display: flex;
    align-items: center;
    padding: 50px;
    height: 80%;
    width: 80%;
}

.vertical-div {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 65%;
    width: 80%;
}

.about-me-div {
    font-size: 2rem;
    }

#about-me-skills {
    margin-left: auto;
    margin-right: auto;
    height: 40%;
    width: 120%;
    display: flex;
}

#about-me-presentation {
    height: 90%;
    font-size: 2.7vw;
}

#about-me-cv {
    height: 15%;
}

#about-me-cv a{
    display: flex;
    justify-content: center;
    margin-right: auto;
    width: 25%;
    height: 80%;
    background-color: #00A6FB;
    border-radius: 5px;
    border-style: none;
    min-width: 150px;
    max-width: 200px;
    min-height: 60px;
    text-decoration: none;
}

#about-me-cv img{
    margin-top: auto;
    margin-bottom: auto;
    
}

#about-me-cv p {
    margin-top: revert;
    font-size: 1.3rem;
}

#portrait-img {
    margin-right: 2rem;
    width: 50%;
    max-width: 30rem;
    min-width: 10rem;
}
  
.square {
    margin-left: 5px;
    margin-right: 5px;

    min-width: 5rem;
    max-width: 9rem;
    width: 75%;

    min-height: 5rem;
    max-height: 9rem;
    height: 100%;

}

.square img{
    width: 100%;
    height: 100%;
}




/* ############################### */
/* ##### Section 3 : Projets ##### */
/* ############################### */

#projects {
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

#slider-container {
    width: 80%;
    overflow: hidden;
    position: relative;
    text-align: center; 
    flex-direction: column;
}

#image-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    width: 100%;
    flex: 0 0 auto;
    display: flex;
    justify-content: center; 
    align-items: center;
}

.slider-img {
    max-width: 90%; 
}

.slider-btn {
    cursor: pointer;
    font-size: 18px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
}

#prevBtn {
    left: 10px;
}

#nextBtn {
    right: 10px;
}

/* ############################### */
/* ##### Section 4 : Contact ##### */
/* ############################### */


#contact {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

#contact a {
    color: transparent; 
    background-color: #0582CA; 
    background-size: cover; 
    background-position: center; 
    background-size: 50%; 
    background-repeat: no-repeat;
    border-radius: 10%; 
    text-align: center;
    text-decoration: none;
    font-family: fontawesome;
    display: inline-block;
    width: 100px; 
    height: 100px; 
    margin: 0 20px; 
    padding-top: 14px; 
    position: relative; 
    -o-transition: all .5s;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    transition: all .5s;
}

#contact a:hover {
    background-color: #003554; 
}

#contact a span {
    color: #666;
    position: absolute;
    bottom: -30px; 
    left: 50%;
    transform: translateX(-50%);
    z-index: 1; 
    font-size: 14px;
    font-family: sans-serif;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s, opacity 0.5s linear;
}

#contact a:hover span {
    visibility: visible;
    opacity: 1;
}


.icon-1 {
    content: '\f09a';
    background-image: url("data/icons/linkedin_icon.png"); 
}

.icon-2 {
    content: '\f099';
    background-image: url("data/icons/github_icon.png"); 
}

.icon-3 {
    content: '\f0d5';
    background-image: url("data/icons/mail_icon.png"); 
}

.icon-4 {
    content: '\f113';
    background-image: url("data/icons/htb_icon.png");
}

.icon-5 {
    content: '\f17d';
    background-image: url("data/icons/root_me_icon.png"); 
}

