/* CSS Document */

/* CSS Font */
@font-face {
  font-family: Centaur;
  src: url(font/CENTAUR.TTF);
}
@font-face {
  font-family: Rage;
  src: url(font/RAGE.TTF);
}


/* CSS General */
html,body {
	margin:0;
	padding:0;
	background-color:#fffeec;
	color: #00132b;
	font-size: 1em;
	}
.header {
	background-color:#fffeec;
}
.menu {
	background-color:#00132b;
}
a.nav-link {
 color: #fffeec !important;
    font-weight: bold;
}
.footer {
  background-color: #00132b;
  color: #ffffff !important;
  font-family: Centaur;
}

.footer p {
  color: #ffffff !important;
}

.footer a {
  color: #8989d9 !important;
  text-decoration: none;
}

.footer a:hover {
  color: #edbeea !important;
  font-weight: bold;
}

h1{
	margin:0;
	padding-top:1.2em;
  padding-left:1.2em;
	font-size: 3.2em;
	color:#8989d9;
	font-family: Centaur;
	font-weight: bold;
}
.titrepageprinc{
    font-family: Centaur; 
    font-size: 3.2em;
    color:#8989d9;
  }
.sstitreprinc{
  font-size: 2em; 
  color: #fffeec;
  margin-top: -10px;
  margin-bottom: 10px;
}

.titrepage{
    font-family: Centaur; 
    color:#fffeec;
    font-size: 3.2em;
  }
.sstitre{
  color:#8989d9;
  font-size: 2em;
  text-shadow: 1px 1px 1px #ffffff;
  padding-top:1.2em;
  padding-left:1.2em;
}

.heroheader{
  height: 350px;
}

h2{
	margin:0;
	padding:1.2em;
	font-size: 2em;
	color:#8989d9;
	font-family: Centaur;
}
p{
	margin:0;
	padding:10px;
	font-size: 1.1em;
	color:#00132b;
}
.rage{
	font-family: Rage;
    font-style: italic;	
}
a{
	text-decoration:none;
	color:#8989d9;
}
a:hover{
	color:#edbeea;
}
.nav-link{
	text-decoration:none;
	color:#ffffff !important;
	font-size: 1em;
}
.nav-link:hover{
	color:#edbeea !important;
}

.carousel-caption p{
	color:#ffffff !important;
	font-family: Rage;
	font-size: 2em;
}
.carousel-caption h5{
	color:#ffffff !important;
	font-family: Centaur;
	font-size: 3em;
}
.hero-video {
  height: 80vh;
  overflow: hidden;
  position: relative;
}

.video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.overlay {
  position: absolute;
  top: 20%;
  margin-left: auto;
  margin-right: auto;
  width: 60%;
  height: 60%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1;
  border-radius: 5px;
  box-shadow: 1px 3px 6px #111111;
}

.hero-text {
  position: relative;
  z-index: 2;
}
.scroll-btn {
  border: 1px solid #343a40;
  padding: 0.6em 1.5em;
  border-radius: 30px;
  transition: background-color 0.3s, color 0.3s;
  background-color: #fffeec;
  color: #343a40;
}

.scroll-btn:hover {
  background-color: #ffffff;
  color: #00132b;
  text-decoration: none;
}
#intro {
  background-color: #fffeec;
}
blockquote {
  font-style: italic;
  color: #8989d9;
}

.chat-gpt-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #00132b;
  color: #fffeec;
  font-weight: bold;
  padding: 12px 18px;
  border-radius: 25px;
  font-family: Centaur;
  font-size: 1.2em;
  text-decoration: none;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
  z-index: 9999;
  transition: background-color 0.3s ease;
}
.chat-gpt-button:hover {
  background-color: #8989d9;
  text-decoration: none;
}
@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 10px rgba(137, 137, 217, 0.4), 0 0 20px rgba(95, 198, 215, 0.2);
  }
  50% {
    box-shadow: 0 0 20px rgba(137, 137, 217, 0.7), 0 0 30px rgba(95, 198, 215, 0.4);
  }
  100% {
    box-shadow: 0 0 10px rgba(137, 137, 217, 0.4), 0 0 20px rgba(95, 198, 215, 0.2);
  }
}

.glow-button {
  border-color: #5fc6d7;
  color: #00132b;
  box-shadow: 0 0 10px rgba(137, 137, 217, 0.6), 0 0 20px rgba(95, 198, 215, 0.3);
  transition: all 0.3s ease-in-out;
  animation: pulseGlow 3s infinite;
}

.glow-button:hover {
  box-shadow: 0 0 25px rgba(137, 137, 217, 0.9), 0 0 35px rgba(95, 198, 215, 0.6);
  transform: scale(1.02);
}

.custom-nerea-select {
  background-color: #f8f9fa;
  border: 2px solid #5fc6d7;
  border-radius: 12px;
  padding: 0.75em 1em;
  font-size: 1.1em;
  font-family: 'Inter', sans-serif;
  color: #00132b;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
}

.custom-nerea-select:focus {
  border-color: #00132b;
  outline: none;
  box-shadow: 0 0 0 4px rgba(95, 198, 215, 0.2);
}

/* Date input stylé */
.custom-nerea-input {
  background-color: #fefefe;
  border: 2px solid #5fc6d7;
  border-radius: 12px;
  padding: 0.75em 1em;
  font-size: 1.1em;
  font-family: 'Inter', sans-serif;
  color: #00132b;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  width: 100%;
  min-height: 60px;
}

.custom-nerea-input:focus {
  border-color: #00132b;
  outline: none;
  box-shadow: 0 0 0 4px rgba(95, 198, 215, 0.2);
}

/* Groupement checkbox plus lisible */
.nerea-checkbox-group {
  padding: 1em 0.5em;
  display: grid;
  gap: 0.4em;
}

/* Checkbox plus douce et élégante */
.custom-nerea-checkbox .form-check-input {
  border-radius: 6px;
  border: 2px solid #5fc6d7;
  width: 1.2em;
  height: 1.2em;
  margin-top: 0.3em;
  transition: all 0.2s ease-in-out;
}

.custom-nerea-checkbox .form-check-input:checked {
  background-color: #5fc6d7;
  border-color: #00132b;
}

.custom-nerea-checkbox .form-check-label {
  font-family: 'Inter', sans-serif;
  font-size: 1em;
  color: #00132b;
  margin-left: 0.4em;
}

/* Styles de la barre de cookies */
 .cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 254, 236, 0.8);
    color: #00132b;
    text-align: center;
    padding: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
  }
  .cookie-consent p {
    margin: 0;
    padding-right: 10px;
  }
  .cookie-consent a {
    color: #00132b;
  }
  .cookie-consent button {
    background: #fffeec;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-weight: bold;
    color: #00132b;
  }


/* Styles de la popup */
        .popup-container {
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background: #fffeec;
            padding: 20px;
            box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
            z-index: 10000; /* Assure que la popup est bien visible */
            display: none;
            border-radius: 10px;
            animation: border-glow 3s linear infinite;
            box-shadow: 0 0 20px rgba(0, 255, 255, 0.7); /* Ombre initiale */
                }

          #popup-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.8);
            z-index: 9999;
            display: none;
          }
        .popup-content {
            background: #fffeec;
            padding: 20px;
            text-align: center;
            width: 50%;
            position: relative;
            
        }
        .popup-masterclass {
            width: 100%;
            padding: 10px;
}

          @keyframes border-glow {
            0% {
              box-shadow: 0 0 10px rgba(255, 215, 0, 0.7);
            }
            50% {
              box-shadow: 0 0 40px rgba(255, 215, 0, 0.7), 0 0 60px rgba(255, 215, 0, 0.5);
            }
            100% {
              box-shadow: 0 0 10px rgba(255, 215, 0, 0.7);
            }
          }
               .popup-content h2 {
            margin: 0;
            font-size: 22px;
        }
        .popup-content input {
            width: 100%;
            padding: 10px;
            margin: 10px 0;
            border: 1px solid #00132b;
            border-radius: 5px;
        }
        .popup-content button {
            background: #fffeec;
            color: white;
            border: none;
            padding: 10px;
            width: 100%;
            border-radius: 5px;
            cursor: pointer;
            color: #00132b;
        }
        .popup-content button:hover {
            background: #00132b;
            color: #fffeec;
        }
        .popup-close {
            position: absolute;
            top: 10px;
            right: 15px;
            font-size: 18px;
            cursor: pointer;
        }

        .btn-outline-secondary:hover, .boutonpopup {
          color: #fffeec !important;
          background-color: #00132b;
          border-color: #fffeec;
        }

        .boutonpopup:hover {
          color: #00132b !important;
          background-color: #fffeec;
          border-color: #00132b;
        }

        /* Mobile versión */

        .navbar-light .navbar-toggler-icon {
    background-image: url(images/nerea-navbars.png);
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (max-width: 600px) {

  .titrepageprinc{
    font-size: 1.2em;
    padding-left: 0.2em;
  }
.sstitreprinc{
  font-size: 1em; 
  margin-top: -10px;
  margin-bottom: 10px;
}

    .titrepage{
    font-size: 1.2em;
  }
  .sstitre{
  font-size: 1em; 
  color: #8989d9;
  margin-top: -20px;
}
.heroheader{
  height: 150px;
}
}
/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (max-width: 768px) {
  .titrepageprinc{
    font-size: 2.2em;
    padding-left: 0.2em;
  }
.sstitreprinc{
  font-size: 1.5em; 
  margin-top: -10px;
  margin-bottom: 10px;
}
  .titrepage{
    font-size: 2.2em;
  }
  .sstitre{
  font-size: 1em; 
  color: #8989d9;
  margin-top: -10px;
}
.heroheader{
  height: 150px;
}
}
/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (max-width: 1200px) {

}