:root {
    --main-color: #7569BF;
    --second-color: #3B3B40;
    --third-color:#d9d6d671; /* lighter */
    --fourth-color:#3b3b4079; /* darker */
    --text-color: #F2C572;
    --text-color2:#7569BF;
    --text-color3:rgb(233, 231, 236);
    --text-color4: rgba(0, 0, 0, 0.83);

    /* other */
    --danger-color: #fc000071;
}

html {
    height: 100%;
}

body {
    min-height: 100vh;
    background-color: var(--main-color);
    font-family: 'Lato', sans-serif;
    margin: 0;
    display: flex;
    flex-direction: column;
    letter-spacing: 2px;
    text-transform: uppercase;
}

 body::-webkit-scrollbar {
    display: none;
}

a {
    text-decoration: none;
    color: var(--text-color2);
}

a:visited {
    color: var(--text-color2);
}

h1 {
    font-size: 30px;
}

h2 {
    font-size: 16px;
}

/* NAVBAR */

/* Styles pour le bouton hamburger */

.navbar {
    height: fit-content;
    display: flex;
    flex-direction: column;
    background-color:var(--second-color);
}

.navbar .links {
    margin: auto 0px;
    text-align: center;
    font-weight: lighter;
    overflow-x: hidden;
    white-space: nowrap;
    overflow-y: hidden;
}

.navbar .navlink {
    padding: 10px 30px;
    display: inline-block;
}

.navlink:hover {
    background-color: var(--text-color2);
    color: var(--second-color);
    transition: all 0.5s;
}

.navlink.disabled {
    color:#1e1e20; 
}

.navlink:hover.disabled {
    background-color: var(--second-color);
    color: #1e1e20;
}

/* FOOTER */

.footer {
    background-color:var(--second-color);
    height: 10vh;
    margin-top: auto;
    display: flex;
    flex-direction: column;
    text-align: center;
    font-weight: lighter;
}

.footer-text {
    margin: auto 0px;
}

.footer a {
    padding: 2px 4px;
}

.footer a:hover{
    background-color: var(--text-color2);
    color: var(--second-color);
    transition: all 0.5s;
}

.copyright {
    color: var(--text-color);
}

/* CONTENT */

.content {
    margin-top: 40px;
    text-align: center;
    animation: fadeIn 1.2s ease-in 1;
}

@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
}

/* INDEX */

.my-picture img {
    width: 250px;
    height: 300px;
    object-fit: cover;
    border-radius: 200px;
}

.left-part {
    border-bottom-left-radius: 20px;
    border-top-left-radius: 20px;
    display: flex;
    flex-direction: column;
    background-color: var(--fourth-color);
    height: 66vh;
}

.left-part .row {
    margin: auto 0;
}

.left-part .message {
    margin: auto 0;
    color: var(--text-color4);
}

/* scrolling part on left part */

.scrolling-words-container {
    display: flex;
    font-size: 2rem;
    align-items: center;
    color: var(--text-color);
  }
  
.scrolling-words-box {
    height: 2rem;
    margin: auto;
    overflow: hidden;
}

.scrolling-words-box ul {
    margin: 0 0.625rem;
    padding: 0;
    animation: scrollUp 8s infinite;
}

.scrolling-words-box ul li {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 2rem;
    list-style: none;
}

@keyframes scrollUp {
    15%, 25% {
        transform: translateY(-20%);
   }
    40%, 50% {
        transform: translateY(-40%);
   }
    65%, 75% {
        transform: translateY(-60%);
   }
    90%, 100% {
        transform: translateY(-80%);
   }
}

/* right part */

.right-part {
    background-color:var(--third-color);
    height: 66vh;
    display: flex;
    flex-direction: column;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
}

.right-part .my-description {
    color: var(--text-color3);
    margin: auto 50px;
    font-size: 12px;
}

.phone-btn {
    display: none;
}

/* media queries */

@media screen and (max-width: 768px) {

    .menu {
        display: none;
    }
    .burger-menu {
        margin: 0 auto;
        cursor: pointer;
        padding: 10px;
    }

    .bar {
        width: 25px;
        height: 3px;
        background-color: #333;
        margin: 4px auto;
    }
    .navbar {
        height: fit-content;
        display: flex;
    }
    .navbar .navlink {
        padding: 10px 30px;
        display: block;
    }

    .content {
        margin-top: 0px;
    }

    .my-picture img {
        scale: 0.8;
    }

    .right-part  {
        border-bottom-right-radius: 0px;
        border-top-right-radius: 0px;
        height: 100vh;
    }

    .left-part {
        border-bottom-left-radius: 0px;
        border-top-left-radius: 0px;
        height: 100vh;
    }

    .scrolling-words-container {
        font-size: 1rem;
    }

    .footer {
        height: 20vh;
    }
}

@media screen and (max-width: 480px) {
    .my-picture img {
        scale: 0.6;
    }

    .navbar {
        height: fit-content;
        display: flex;
    }

    .navbar .navlink {
        padding: 10px 30px;
        display: block;
    }

    .phone-btn {
        display: block;
    }

}

/* PAGES */

.description {
    color: var(--text-color4);
    background-color:var(--third-color);
    padding: 5px 20px;
    border-radius: 20px;
    margin-top: 10vh;
}

.picture {
    height: 200px;
    background-color:var(--fourth-color);
    border-radius: 20px;
}

.name {
    margin-top: 14px;
    margin-bottom: 20px;
    padding: 1px 0px;
    background-color: var(--fourth-color);
    color: var(--text-color);
    border-radius: 20px;
}


