
/* Adaptation ecran des portables  */
/*Stumm C'hwevrer 2024*/
@media (max-width: 640px) {
	* {
		box-sizing: border-box;
	}
	
	/* passer body (et tous les éléments de largeur fixe) en largeur automatique */

	
	/* fixer une largeur maximale de 100% aux éléments potentiellement problématiques */

	img,
  top-page,
  nav,
  header,
	table,
	td,
	blockquote,
	code,
	pre,
	textarea,
	input,
	iframe,
	object,
	embed,
	video {
		max-width: 100%;
	}
	
	/* conserver le ratio des images */

	.img {
		height: auto;
	}
	/* gestion des mots longs */

	textarea,
	table,
	td,
	th,
	code,
	pre,
	samp {
		-webkit-hyphens: auto; /* césure propre */
		-moz-hyphens: auto;
		hyphens: auto;
		word-wrap: break-word; /* passage à la ligne forcé */
	}
	
	code,
	pre,
	samp {
		white-space: pre-wrap; /* passage à la ligne spécifique pour les éléments à châsse fixe */
	}
	
	/* Passer à une seule colonne (à appliquer aux éléments multi-colonnes) */

	.element1,
	.element2 {
		float: none;
		width: auto;
	}
	
	/* masquer/afficher les éléments  */

	.u-mobile {          display: block;          display: revert !important; /* affichage des éléments */        }        .u-no-mobile {          display: none !important; /* masquage des éléments */        }
	
	/* Un message personnalisé */

	body:before {
		content: "Stumm al lec'hienn evit hezoug";
		display: block;
		text-align: center;
		font-style: italic;
		color: #777;
	}
}
@import url(https://fonts.googleapis.com/css2?family=Montserrat);
@import url(https://fonts.googleapis.com/css2?family=Abril+Fatface&display=swap);
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700;800;900&display=swap");
* {
     font-family: 'Montserrat';
    /* font-family: 'Abril Fatface', cursive; */
    color: black;
}
html {
    scroll-behavior: smooth;
}
body{
    margin: 0 auto;
    font-size: 20;
    text-decoration: none;
    font-weight: 550;
}

blink {
  animation: blinker 3.5s linear infinite;
  color: #2477d6;
 }
@keyframes blinker {  
  50% { opacity: 0; }
 }
 .blink-one {
   animation: blinker-one 1s linear infinite;
 }
 @keyframes blinker-one {  
   0% { opacity: 0; }
 }
 .blink-two {
   animation: blinker-two 1.4s linear infinite;
 }
 @keyframes blinker-two {  
   100% { opacity: 0; }
 }

a {color:black;}
/* Tête de page */
header.header {
    display: flex;
    align-items: left;
}
iframe {
  width:400px;
   height:300px ;
   margin-left: 10px;
}
.nevezinti-deiz{
  background-size: cover;
  background-color: #2fb3ff;
  position: relative;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 2vw;
  padding-bottom: 1vw;
  padding-left: 1vw;
  padding-top: 1vw;
  text-align: center;
  font-size: 35px;
}
.nevezinti-item {
  margin-top:1vw;
  width: 48%;
  min-height: 230px   ;
  font-size: 14px; 
  font-family: 'Abril Fatface', cursive;
  font-weight: 500; 
  background-color: #2fb3ff;
  text-align: center;
}
.yannfanch1{
  background-size: cover;
  background-color: #2fb3ff;
  background-position: center;
  float:left;
  padding-right: 1vw;
  padding-left: 1vw;
  padding-top: 1vw;
  padding-bottom: 1vw;
  margin-bottom: 10px;
  font-size: 10; 
  font-family: 'Abril Fatface', cursive;
  font-weight: 500; 
  background-color: #2fb3ff;
  text-align: center;
}
.yannfanch2{
  background-size: cover;
  background-color: #2fb3ff;
  background-position: center;
  padding-right: 1vw;
  padding-left: 1vw;
  padding-top: 1vw;
  margin-top: 1vw;
  padding-bottom: 1vw;
  margin-top:10px;
  min-height: 350px   ;
  font-size: 10; 
  font-family: 'Abril Fatface', cursive;
  font-weight: 500; 
  background-color: #2fb3ff;
  text-align: center;
}

.dicton{
  background-color: #2fb3ff;
  flex:1;
  width: 100%;
  text-align: center;
}
header.header img{
    width: 22vw;
    margin-left: 0;
    padding-left: 2vw;
    padding-top: 0% ;
}
section.top-page {
background: url('../skeudennou/skeudenn_fons.jpg');
background-size: cover; 
width: 100%;
height: 50vh;
padding-top: 1vw;
padding-right: 0%;
}

.big-title {
    color: white;
    font-size: 5vw;
    font-family: 'Abril FatFace';
    text-decoration: none;
}
.texte-en-blanc{
  color: white;
}
.texte-en-orange{
color: rgb(241, 227, 32);
font-weight: bolder;
}

    /* Popup container - can be anything you want */
    .popup {
      position: absolute;
      display: block;
      cursor: pointer;
      -webkit-user-select: none;
      -moz-user-selext: none;
    
      -ms-user-select: none;
      user-select: none;
      margin-top: 25px;
      width: 70vw;
      padding-top: 10px;
      padding-right: 20vw;
    }
    
    /* The actual popup */
    .popup .popuptext {
      visibility: hidden;
      width: 80%;
      font-size: 1.8vw;
      background-color: #2880b3;
      color: #fff;
      text-align: center;
      text-justify: ;
      border-radius: 6px;
      position: absolute;
      z-index: 1;
      bottom: -500%;
      left: 30%;
      margin-left: 25%;
    }
    
    /* Popup arrow */
    .popup .popuptext::after {
      content: "";
      position: absolue;
      top: 100%;
      left: 50%;
      margin-left: -5px;
      border-width: 5px;
      border-style: solid;
      border-color: #555 transparent transparent transparent;
    }
    
    /* Toggle this class - hide and show the popup */
    .popup .show {
      visibility: visible;
      -webkit-animation: fadeIn 1s;
      animation: fadeIn 1s;
    }
    
    /* Add animation (fade in the popup) */
    @-webkit-keyframes fadeIn {
      from {opacity: 0;} 
      to {opacity: 1;}
    }
    
    @keyframes fadeIn {
      from {opacity: 0;}
      to {opacity:1 ;}
    }
    

<!--animation texte-->



.beilhadeg-page{
    background-image: ;
  color: rgb(241, 227, 32);
  font-weight: bolder;
  }
.scroll-down{
    color: white;
    text-decoration: none;
    position: absolute;
    bottom: 380px;
}

/* menu de navigation */


/*Reset CSS*/
*{
  margin: 0px;
  padding: 0px;

}

nav{
  width: 100%;
  margin: 0 0% 40px 5%;
  top: 0px;
  position: sticky;
    text-decoration: none;
    font-size: 2.5vw;
    font-weight: 550;
    right: 0px;
}

nav ul{
  list-style-type: none;

}



nav a{
    display: block; /*Toute la surface sera cliquable*/
    text-decoration: none;
    color: black;
    border-bottom: 2px solid transparent;/*Evite le décalage des éléments sous le menu à cause de la bordure en :hover*/
}


nav li50{
  float: left;
  width: 50%;
  text-align: center;/*Centre le texte dans les éléments de menu*/
}
nav li25{
  float: left;
  width: 25%;
  text-align: center;/*Centre le texte dans les éléments de menu*/
}
nav li16{
  float: left;
  width: 16%;
  text-align: center;/*Centre le texte dans les éléments de menu*/
}

/*Evite que le menu n'ait une hauteur nulle*/
nav ul::after{
  content: "";
  display: table;
  clear: both;
}

nav a:hover{
  color: orange;
  border-bottom: 2px solid gold;
}

.conteneur{
margin: 0px 20px;
height: 1500px;
}





.section-title{
    font-size: 25px;
    /* font-family: 'Abril Fatface', cursive; */
    font-weight: 600;
    position: relative;
}
.section-title::before{
    content: "";
    position: relative;
    background-color:#33d6ff ; 
    background-image: "morhanev.png";
    width: 60px;
    height: 7px;
    bottom: 0;

}
.keleier{
    font-size: 16px;
    font-family: 'Abril Fatface', cursive;
    font-weight: 600;
}
.keleier-box{
  background-color: #2fb3ff;
  writing-mode: horizontal-tb;
  text-align: justify;
  /* direction: ltr; */
  /* margin-block: 10px 1px; */
  margin-left: 10px;
  margin-right: 10px;
  margin-bottom: 5px;
  margin-top:1px;
  /* width:95%; */
  padding-top: 0px;
  padding-right: 20px;
  padding-bottom: 20px;
  padding-left: 20px;
  position: relative;
  border-radius:75px;
  height: 350 px
}
.ober-items{
  background-color: #2fa1ff;
  margin-left: 10px;
  margin-right: 10px;
  margin-bottom: 5px;
  margin-top:1px;
text-align: justify;
position: relative;}

  .ober-items3{
    background-color: #2fa1ff;
    opacity:0.8;
    margin-top: 320px;
    margin-right: 10%;
    margin-left: 10%;
    text-align: center;
    }
.ober {
    margin-left: 10px;
    margin-right: 10px;
    margin-top:0px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    font-size: 14px; 
    font-family: 'Abril Fatface', cursive;
    font-weight: 500;
}
.ober-box{
    background-size: cover;
    background-color: #2f89ff;
    background-position: center;
    min-width: 350px;
    height: 400px;
    flex: 1;
    margin-left: 0;
    margin-top: 5px;
}
.nevezinti-box{
  background-size: cover;
  background-color: #2f89ff;
  background-position: center;
  margin-left: 0;
  margin-top: 2vw;
  text-align: center; 
}
.ober-name{
  color: black;
  font-size: 12pt;
}
.image-keleier {
  background-size: cover;
  background-position: center;
  min-width: 250px;
  flex: 1;
  margin-left: 0px;
  margin-top: 10px; 
   background-image:  url(../skeudennou/beilhadeg_bihan.png);
  height: 380px;
}
.ober1 {
    background-image:  url(../skeudennou/Kentel.jpg);
}
.ober2 {
    background-image:  url(../skeudennou/Calmette.jpg);
}
.ober3 {
  background-image:  url(../Barzhaz/skeudennou/Kervarker.png);
}
.nevezinti3 {
  background-image:  url(../Nevezinti/Nouelou.jpg);
}


.istorhagall{
    width: 100%;
    margin-left: 0%;
    border-radius:75px;   
    /* background-image: url("../skeudennou/mor.png");
    background-size: cover; */
    background-color: #2fb3ff;
    /* min-height: 100px;
    display: flex;
    justify-content: space-between;
    padding: 20px 30px;
    position: relative;

   font-size: 1.5vw; */
}

.nevez {
	top: 5px;
	bottom: 0;
	right: 0;
	left: 0;
	justify-content: center;
	align-items: center;
  margin-top: 0px;
}
.nevez p {
	font-size: 20px;
	color: #fff;
	text-align: center;
	padding-left: 30px;
	padding-right: 30px 
}
.col-bordure {
  width: 100%;
  padding: 0px 0 0 0 !important;
  background:  #2fb3ff;
}
.col-size {
  border: solid;
  border-color: rgb(15, 156, 156);
  border-radius: 25%;
  width: 100%;
  padding: 0 0 0 0 !important;
  background: #0775db;
  text-align: center;
}


h3::before {  
  transform: scaleX(0);
  transform-origin: bottom right;
}

h3:hover::before {
  transform: scaleX(1);
  transform-origin: bottom left;
}

h3::before {
  content: " ";
  display: block;
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  inset: 0 0 0 0;
  background: hsl(200 100% 80%);
  z-index: -1;
  transition: transform .3s ease;
}

h3 {
  position: relative;
  font-size:40px;
}



@media (orientation: landscape) {
  body {
    grid-auto-flow: column;
  }
}



* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
} 


.footer {
  position: absolute;
  margin-left: 0%;
  margin-right: 0%;
  width: 100%;
background-color: #2f89ff;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.menu {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10px 0;
  flex-wrap: wrap;
text-decoration: none;
}
.menu__link {
  font-size: 1.2rem;
  color: #fff;
  margin: 0 10px;
  display: inline-block;
  transition: 0.5s;
  text-decoration: none;
  opacity: 0.75;
  font-weight: 300;
}

.menu__link:hover {
  opacity: 1;
}
.menu__item {
  list-style: none;
}

.footer p {
  margin: 15px 10px 10px 0;
  font-size: 1.5rem;
  font-weight: 300;
}

.wave {
  position: absolute;
  top: -100px;
  left: 0;
  width: 100%;
  height: 100px;
  background: url("../skeudennou/wave.png");
  background-size: 100% 100%;
}

.wave#wave1 {
  z-index: 1000;
  opacity: 1;
  bottom: 0;
  animation: animateWaves 4s linear infinite;
}

.wave#wave2 {
  z-index: 999;
  opacity: 0.5;
  bottom: 10px;
  animation: animate 4s linear infinite !important;
}

.wave#wave3 {
  z-index: 1000;
  opacity: 0.2;
  bottom: 15px;
  animation: animateWaves 3s linear infinite;
}

.wave#wave4 {
  z-index: 999;
  opacity: 0.7;
  bottom: 20px;
  animation: animate 3s linear infinite;
}

@keyframes animateWaves {
  0% {
    background-position-x: 1000px;
  }
  100% {
    background-positon-x: 0px;
  }
}

@keyframes animate {
  0% {
    background-position-x: -1000px;
  }
  100% {
    background-positon-x: 0px;
  }
}


