@font-face {
    font-family: 'Electrolize';
    src: url('../fonts/Electrolize-Regular.ttf') format('ttf'),
    url('../fonts/Electrolize-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Electrolize, Arial, sans-serif;
}

body {
    background: #1a1a1a;
    color: white;
    min-height: 100vh;
}

.txt-s15 {
    font-size: 15px;
}

.txt-s20 {
    font-size: 20px;
}

.txt-s40 {
    font-size: 40px;
}

.txt-bold {
    font-weight: bold;
}

.txt-justify {
    text-align: justify;
    text-justify: inter-word;
}

.txt-underline {
	text-decoration: underline;
}

.float-right {
	float: right;
}

.float-left {
	float: left;
}

.txt-jaune {
    color: #fcba03;
}

.video-container {
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -5;
}

.video-container iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 100vh;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

@media (min-aspect-ratio: 16/9) {
    .video-container iframe {
        height: 56.25vw;
    }
}

@media (max-aspect-ratio: 16/9) {
    .video-container iframe {
        width: 177.78vh;
    }
}

.container {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 0; /* Ajouté pour s'assurer que le contenu est au-dessus de la vidéo */
}

/* Section principale avec 3 colonnes */
.main-section {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    padding: 2rem;
    min-height: 60vh;
    background: rgba(0, 0, 0, 0.7); /* Ajusté pour s'assurer que le fond est transparent */
}

.left-column {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.center-column {
    position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 10;
}

.right-column {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 250px;
}

.logo-circle {
    width: 400px;
    height: 400px;
    background-image: url("../img/logo_bops.png");
    border-radius: 80%;
    border: 2px solid rgba(255, 255, 255, 0.1);
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-inner {
    width: 350px;
    height: 350px;
    border: 2px solid rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.orbit-container {
    position: absolute;
    width: 20px; /* Ajustez la taille selon vos besoins */
    height: 20px; /* Ajustez la taille selon vos besoins */
    animation: orbit-container 15s linear infinite;
}

@keyframes orbit-container {
    0% {
        transform: rotate(0deg) translateX(175px) rotate(0deg);
    }
    100% {
        transform: rotate(360deg) translateX(175px) rotate(-360deg);
    }
}

.orbit-vaisseau {
    width: 20px; /* Ajustez la taille selon vos besoins */
    height: 20px; /* Ajustez la taille selon vos besoins */
    background-image: url("../img/ship2.png"); /* Remplacez par le chemin de votre image */
    background-size: cover; /* Assurez-vous que l'image couvre tout l'espace */
    border-radius: 50%;
    animation: orbit-vaisseau 15s linear infinite;
}

@keyframes orbit-vaisseau {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.orbit-container2 {
    position: absolute;
    width: 40px; /* Ajustez la taille selon vos besoins */
    height: 40px; /* Ajustez la taille selon vos besoins */
    animation: orbit-container2 25s linear infinite;
}

@keyframes orbit-container2 {
    0% {
        transform: rotate(0deg) translateX(200px) rotate(0deg);
    }
    100% {
        transform: rotate(-360deg) translateX(200px) rotate(360deg);
    }
}

.orbit-vaisseau2 {
    width: 40px; /* Ajustez la taille selon vos besoins */
    height: 40px; /* Ajustez la taille selon vos besoins */
    background-image: url("../img/ship1.png"); /* Remplacez par le chemin de votre image */
    background-size: cover; /* Assurez-vous que l'image couvre tout l'espace */
    border-radius: 50%;
    animation: orbit-vaisseau2 25s linear infinite;
}

@keyframes orbit-vaisseau2 {
    0% {
        transform: rotate(360deg);
    }
    100% {
        transform: rotate(0deg);
    }
}

/* 5 sections du bas */
.bottom-sections {
    display: flex;
    width: 100%;
    min-height: 40vh;
}

.bottom-section {
    flex: 1;
    padding: 3rem 2rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* justify-content: center; */
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(26, 26, 26, 0.96); /* Ajusté pour s'assurer que le fond est transparent */
}

.bottom-section:last-child {
    border-right: none;
}

.section-icon-recrutement {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    background-image: url("../img/icon_blue.png");
    border-radius: 50%;
    margin: 1.5rem 0;
}

.section-icon-securite {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    background-image: url("../img/icon_blue.png");
    border-radius: 50%;
    margin: 1.5rem 0;
}

.section-icon-exploration {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    background-image: url("../img/icon_blue.png");
    border-radius: 50%;
    margin: 1.5rem 0;
}

.section-icon-arkange {
    width: 90px;
    height: 90px;
    /* background: rgba(255, 255, 255, 0.1); */
    background-image: url("../img/s4_arkange.png");
    /* border-radius: 50%; */
    /* margin: 0.1rem 0; */
}

.section-icon-diplomatie {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    background-image: url("../img/s5_diplo.png");
    border-radius: 50%;
    margin: 1.5rem 0;
}

.section-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin: 1.5rem 0;
}

h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: white;
    text-transform: uppercase;
    letter-spacing: 2px;
}

h3 {
    font-size: 1.5rem;
    color: white;
    text-transform: uppercase;
    letter-spacing: 2px;
}

p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    text-align: center;
}

.btn {
    background: linear-gradient(145deg, #222, #333);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0.5rem 0;
    width: 100%;
    text-align: center;
}

.btn:hover {
    background: linear-gradient(145deg, #333, #444);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.initial-text, .hover-text {
    transition: opacity 0.3s ease;
    position: absolute; /* Utilisez relative pour éviter de déplacer les textes */
    width: 90%; /* Ajouté pour s'assurer que les textes prennent toute la largeur de la section */
    margin-top: 8.5rem; /* Ajouté pour ajuster l'espacement entre le titre et le texte */
}

.hover-text {
    display: none;
    opacity: 0;
}

.bottom-section {
    position: relative; /* Ajouté pour permettre le positionnement relatif des textes */
}

/* Modales */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
    background-color: #1a1a1a;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
    border-radius: 10px;
    color: white;
}

.close-btn {
    color: #fcba03;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-btn:hover,
.close-btn:focus {
    color: #ffcc00;
    text-decoration: none;
    cursor: pointer;
}

/* Media Queries pour la réactivité */
@media (max-width: 1200px) {
    .main-section {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .left-column, .right-column {
        width: 100%;
    }

    .center-column {
        order: -1;
    }

    .logo-circle {
        width: 300px;
        height: 300px;
		background-image: url("../img/logo_bops_300.png");
    }

    .logo-inner {
        width: 250px;
        height: 250px;
    }
	
	.orbit-container, .orbit-container2 {
        display: none;
    }
}

@media (max-width: 768px) {
    .bottom-sections {
        flex-direction: column;
    }

    .bottom-section {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .bottom-section:last-child {
        border-bottom: none;
    }
	
	.orbit-container, .orbit-container2 {
        display: none;
    }
}

@media (max-width: 480px) {
    .video-container iframe {
        width: 100%;
        height: auto;
    }

    .logo-circle {
        width: 200px;
        height: 200px;
		background-image: url("../img/logo_bops_200.png");
    }

    .logo-inner {
        width: 150px;
        height: 150px;
    }

    .orbit-container, .orbit-container2 {
        display: none;
    }
}

@media (max-width: 240px) {
    .video-container iframe {
        width: 100%;
        height: auto;
    }

    .logo-circle {
        width: 200px;
        height: 200px;
		background-image: url("../img/logo_bops_200.png");
    }

    .logo-inner {
        width: 150px;
        height: 150px;
    }

    .orbit-container, .orbit-container2 {
        display: none;
    }
}

.black-filter {
    background: rgba(0, 0, 0, 0.7); /* Noir avec 50% d'opacité */
    height: 100%;
    width: 100%;
    position: absolute; /* ou relative, selon votre besoin */
    top: 0;
    left: 0;
    z-index: -2;
}

/* common */
.loading {
  span {
    display: inline-block;
  }
}

/* code #7 */
.loading07 {
  span {
    position: relative;
    color: rgba(#000, .2);
    &::after {
      position: absolute;
      top: 0;
      left: 0;
      content: attr(data-text);
      color: #fff;
      opacity: 0;
      transform: scale(1.1);
      animation: loading07 3s infinite;
    }
    @for $i from 1 through 6 {
      &:nth-child(#{$i+1})::after {
        animation-delay: #{$i*.1}s;
      }
    }
  }
}
@keyframes loading07 {
  0%, 75%, 100% {
    transform: scale(1.1);
    opacity: 0;
  }
  25%, 50% {
    transform: scale(1);
    opacity: 1;
  }
}