/* Basic styling for the body and container */
body,
html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    height: 100%;
    overflow: hidden;
}

.container {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100vh;
    box-sizing: border-box;
}

/* Background image styling */
.background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Header and logo styling */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

@font-face {
    font-family: 'Matura MT Script Capitals';
    src: url('../fonts/MATURASC_1.TTF') format('truetype');
}

.logo {
    font-family: 'Matura MT Script Capitals', sans-serif;
    font-size: 80px;
    color: white;
    margin: 0px;
    padding: 0px 0px 0 0px;
}

.titlelogo {
    font-size: 7rem;
    display: inline-block;
    text-align: right;
}

.spantitle {
    display: block;
    font-size: 1.5rem;
    margin-top: -40px;
    text-align: end;
    margin-right: 30px;
}

.title i {
    font-size: 0.3em;
    vertical-align: super;
    margin-left: -20px;
    display: inline-block;
    align-self: flex-start;
    position: relative;
}

.logo img {
    margin-top: -20px;
    width: 300px;
    margin-left: 60px;
}

.containerSocial {
    margin-top: -90px;
}

/* Social icons */
.social-icons {
    display: flex;
    gap: 20px;
}

.social-icons a {
    color: white;
    font-size: 24px;
    text-decoration: none;
}

.social-icons a:hover {
    color: #ffcc00;
}

/* Language Selector styling */
.language-selector {
    display: flex;
    align-items: center;
    color: white;
    cursor: pointer;
    gap: 5px;
}

.language-selector i.fas.fa-globe {
    font-size: 25px;
}

.language-selector select {
    background-color: transparent;
    color: white;
    border: none;
    font-size: 16px;
    outline: none;
    appearance: none;
    cursor: pointer;
    text-align: center;
}

.language-selector select option {
    background-color: white;
    color: black;
}

.language-selector span {
    color: white;
    font-size: 12px;
}

.language-selector:hover,
.language-selector:hover select,
.language-selector:hover span {
    color: #ffcc00;
}

/* Content and menu styling */
.content {
    flex-direction: column;
    justify-content: center;
    padding-left: 20px;
    height: 100%;
}

.menu {
    text-align: left;
    width: 26%;
    margin-left: 50px;
}

.menu ul {
    list-style-type: none;
    padding: 0;
    text-align: center;
}

.menu ul li {
    font-size: 18px;
    color: white;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 0px;
    letter-spacing: 1px;
    padding: 5px;
    text-align: center;
    display: flex;
    justify-content: center;
}

.menu ul li::before {
    content: '';
    width: 50px;
    height: 2px;
    background-color: rgba(247, 247, 247, 0);
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.menu ul li a {
    text-decoration: none;
    color: white;
}

.menu ul li a:hover {
    color: #5e5353;
}

.menu ul li:not(:last-child)::before {
    content: '';
    width: 50px;
    height: 2px;
    background-color: rgb(247, 247, 247);
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.menu ul li:hover {
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.5);
    padding: 5px;
    color: #5e5353;
    text-align: center;
}

/* Scroll down icon at the bottom */
.scroll-down {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 24px;
}

.scroll-down i {
    font-size: 3rem;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Responsive design */
/* mobile */
@media only screen and (max-width: 767px) {
    .header {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .logo {
        font-size: 40px;
        text-align: center;
    }

    .titlelogo {
        font-size: 5rem;
        display: inline-block;
        text-align: right;
    }

    .title i {
        font-size: 0.3em;
        vertical-align: super;
        margin-left: 0px;
        display: inline-block;
        align-self: flex-start;
        position: relative;
    }

    .spantitle {
        font-size: 1rem;
        margin-top: -20px;
        margin-right: 30px;
    }

    .containerSocial {
        margin-top: 0px;
    }

    .social-icons {
        flex-direction: row;
        margin-top: 20px;
    }

    .social-icons a {
        font-size: 18px;
        margin: 5px;
    }

    .menu {
        width: 100%;
        text-align: center;
        margin-left: 0;
    }

    .menu ul {
        padding: 0;
    }

    .menu ul li {
        font-size: 16px;
        margin-bottom: 15px;
        padding: 5px;
    }

    .scroll-down {
        bottom: 10px;
    }

    .scroll-down i {
        font-size: 2rem;
    }
}

/* Styles communs pour Tablet et Desktop */
@media only screen and (min-width: 768px) {
    .logo {
        font-size: 80px;
        /* Taille augmentée pour Desktop */
    }

    .titlelogo {
        font-size: 7rem;
        /* Taille augmentée pour Desktop */
    }

    .social-icons a {
        font-size: 24px;
        /* Taille augmentée pour Desktop */
    }

    .menu {
        text-align: left;
        width: 26%;
        margin-left: 50px;
    }

    .menu ul li {
        font-size: 20px;
        /* Taille augmentée pour Desktop */
    }

    .scroll-down i {
        font-size: 3rem;
        /* Taille augmentée pour Desktop */
    }
}

/* Spécifique aux Desktop */
@media only screen and (min-width: 1024px) {
    .logo {
        font-size: 80px;
        /* Taille augmentée pour Desktop */
    }

    .titlelogo {
        font-size: 7rem;
        /* Taille augmentée pour Desktop */
    }

    .social-icons a {
        font-size: 24px;
        /* Taille augmentée pour Desktop */
    }

    .menu ul li {
        font-size: 20px;
        /* Taille augmentée pour Desktop */
    }

    .scroll-down i {
        font-size: 3rem;
        /* Taille augmentée pour Desktop */
    }
}