* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: rgb(233, 215, 215);
        overflow-x: hidden;
    width:100%;
    scroll-behavior: smooth;
    
}

main {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(5, 1fr);
    min-width:100%;
    
}

.swiper {
  max-width: 100vw;
  
}

body.dark .firstSection{
        background: #212432;

}

.firstSection {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 100vw;
    height:100vh;
    background : #808080;
    z-index:-3;
    /* position: absolute; */
}

.secondSection {
    display: flex;
    justify-content: center;
    flex-direction: column;
    /* background-color: yellow; */
}

.thirdSection {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: stretch;
}



.email {
    background-image: url('../images/mail.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: scroll;
}

.section_title {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-variant: small-caps;
    font-weight: 300;
    font-size: 5vw;
    color: white;
    border-bottom: 1px solid #000;
    font-family: 'Fredericka the Great', cursive;
    min-height: 200px;
    width: 100%;
    background-color: rgb(7, 0, 0, 0.5);
}

.text_sub_title {
    padding: 1em 1em;
    text-align: center;
    font-size: 1.2em;
}

.particles-js-canvas-el {
    display: flex;
    background-color: grey;
    position: absolute;
    top:0;
    z-index: -1;
}

.photo {
    box-shadow: 5px 5px 12px #aaa;
}

.image_project {
    position: relative;
    background: #9E9C9D;
}

.image_project_one {
    min-width: 100%;
}

#scene {
    position: relative;
    height: 43.75em;
    margin: 0 auto;
}

#sun {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -100px;
    margin-left: -100px;
    animation: pulse 4s alternate infinite linear;
}

#earth1 {
    position: absolute;
    margin-left: 25px;
    top: 75%;
    margin-top: -25px;
    /* animation: orbit 30s linear infinite; */
}

#earth2 {
    position: absolute;
    margin-left: -50px;
    top: 50%;
    margin-top: -50px;
    /* animation: orbit 30s linear infinite; */
}

#earth3 {
    position: absolute;
    /* margin-left: -50px; */
    top: 25%;
    margin-top: -100px;
    /* animation: orbit 30s linear infinite; */
}

#earth4 {
    position: absolute;
    margin-right: -50px;
    right: 0;
    top: 50%;
    margin-top: -50px;
    /* animation: orbit 30s linear infinite; */
}

#earth6 {
    position: absolute;
    /* margin-right: -30px; */
    right: 0;
    top: 25%;
    margin-top: -100px;
    /* animation: orbit 30s linear infinite; */
}

#earth5 {
    position: absolute;
    margin-right: 200px;
    right: 0;
    top: 100%;
    margin-top: -50px;
    /* animation: orbit 30s linear infinite; */
}

#earth7 {
    position: absolute;
    margin-right: 200px;
    right: 0;
    top: 0%;
    margin-top: -50px;
    /* animation: orbit 30s linear infinite; */
}

#earth8 {
    position: absolute;
    margin-right: 25px;
    right: 0;
    top: 75%;
    margin-top: -25px;
    /* animation: orbit 30s linear infinite; */
}

#earth-orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 31.25em;
    height: 31.25em;
    margin-top: -15.625em;
    margin-left: -15.625em;
    border: 2px solid #939393;
    border-radius: 50%;
    /* animation: orbit 10s linear infinite; */
}

@keyframes pulse {
    0% {
        transform: scale(0.8);
    }
    100% {
        transform: scale(1.5);
    }
}

@-webkit-keyframes orbit {
    100% {
        transform: rotate(360deg)
    }
}

@-moz-keyframes orbit {
    100% {
        transform: rotate(360deg)
    }
}

@-o-keyframes orbit {
    100% {
        transform: rotate(360deg)
    }
}

@keyframes orbit {
    100% {
        transform: rotate(360deg)
    }
}

.baniere,
.baniere_two,
.baniere_three,
.baniere_four,
#fifthSection {
    height: auto;
    width: 100%;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.baniere {
    background-image: url("../images/developer.webp")
}

.baniere_two {
    background-image: url("../images/web.webp");
}

.baniere_three {
    background-image: url("../images/seek.webp");
}

.baniere_four {
    background-image: url("../images/contact.webp");
}

.progress {
    background-color: black;
    box-shadow: 5px 5px 12px #aaa;
}

.active_nav {
    height: 100%;
    color: white;
    font-style: italic;
    font-family: 'Fredericka the Great', cursive;
    font-weight: bolder;
}

.pres_card {
    position: relative;
    padding-bottom: 1em;
}

.btn-toggle {
    position: fixed;
    top: 15px;
    right: 50%;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #333;
    color: #fff;
    border: 1px solid #333;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 10000;
    transform: translate(50%, 0%);
}

body.dark {
    color: #fff!important;
    background: #333!important;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body.dark canvas {
    background: rgb(33, 36, 50);
}

body.dark .btn-toggle {
    background: #f1f1f1;
    color: #333;
}

body.dark .card {
    color: #333;
}

.a_right {
    text-decoration: none;
    list-style: none;
    display: inline;
    color: rgba(0, 0, 0, .55);
}



footer {
    background: #212432;
    width: 100%;
    padding-top: 50px;
    height: 8em;
}

.navbar-brand:hover {
    transform: scale(2);
    margin-top: 1em;
    margin-left: 1em;
}