@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

* {
  margin: 0;  
  padding: 0;
  box-sizing: border-box;
  }

html {
  height: 100%;
  }

body {
  height: 100%;
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  font-size: 17px;
  line-height: 22px;
  font-optical-sizing: auto;
  font-style: normal;
}

#top {
  z-index: 999;
  position: fixed;
  width: 100%;
  height: 10px;
  display: flex;
  justify-content: center;
  background-color: #fff;
  top: 0;
}

.toplogo {
  width: 130px;
  height: 130px;
  background-color: #fff;
  border-bottom-left-radius: 65px;
  border-bottom-right-radius: 65px;
  display: grid;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

.toplogo.fade {
  opacity: 0;
}

#ficheinfo {
  z-index: 99;
  width: 300px;
  height: 150px;
  border-radius: 30px;
  background-color: #fff;
  position: absolute;
  top: 150px;
  left: 50%;
  margin-left: -150px;
  opacity: 0;
  transition: opacity 0.5s;
  display: grid;
  justify-items: center;
  align-content: space-evenly;
}

#ficheinfo.fade {
  opacity: 1;
}

#ficheinfo.fadeout {
  opacity: 0;
}

#ficheinfo p:nth-child(3) {
  font-size: 16px;
}

#ficheinfo a {
  text-decoration: none;
  color: #000;
  letter-spacing: 0.3px;
  transition: opacity 0.5s;  
}

#ficheinfo a:hover {
  opacity: 0.75;
}

.texteintro {
  z-index: 9;
  position: absolute;
  top: 50%;
  left: 50%;
  transform:translate(-50%, -50%);
  transition: all 0.3s ease-in-out;
}

.texteintro.fade {
  opacity: 0;
}

.texteintro h1 {
  font-size: 46px;
  color: #fff;
  text-align: center;
  line-height: 1.2em;
  margin: 10px;
  font-weight: 400;
  letter-spacing: 0.3px;
  word-spacing: -0.7px;
  background: linear-gradient(cornflowerblue, rgba(100,149,237,0));
  padding: 15px 15px 25px 15px;
}

#topcover {
  min-height: 100%;
  background-image: url("ab-robot-img/royan-bacs.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  border: 10px solid #fff;
  opacity: 0;
  transition: opacity 1s;
}

#loader {
  position: absolute;
  z-index: 7;
  top: 50%;
  left: 50%;
  transform:translate(-50%, -50%);
  border: 6px solid #f3f3f3;
  border-radius: 50%;
  border-top: 6px solid cornflowerblue;
  width: 20px;
  height: 20px;
  -webkit-animation: spin 2s linear infinite; /* Safari */
  animation: spin 2s linear infinite;
  opacity: 1;
  transition: opacity 1s;
}

/* Safari*/
@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.topbouton {
  height: 50px;
  width: 50px;
  position: fixed;
  right: 20px;
  bottom: 20px;
  cursor: pointer;
  display: none;
  transition: all 0.3s ease-in-out;
}

.topbouton.fade {
  display: block;
}

.article {
  margin: 50px auto;
  max-width: 670px;
  padding : 0 10px;
}

.date {
  margin: 0 auto;
  max-width: 560px;
  padding: 10px 0;
}

.date p {
  text-align: right;
}

.titre {
  margin: 0 auto;
  max-width: 560px;
  padding: 10px 0;
}

.titre h2 {
  font-size: 22px;
  line-height: 26px;
  font-weight: 500;
  text-align: center;
}

.media {
  padding: 10px 0;
}

.media img {
  width: 100%;
}

.photoaction {
  margin: 0 auto;
  max-width: 560px;
  padding: 10px 0;
}

.photoaction p {
  text-align: center;
  font-weight: 600;
}

.texte {
  margin: 0 auto;
  max-width: 560px;
  padding: 10px 0;
}

.texte p {
  margin-bottom: 16px;   
}

.texte a {
  color: #000;
}

.video {
  max-width: 100%;
  height: auto;
  padding: 10px 0; 
}

#bottom {
  margin: 10px auto;
  max-width: 670px;
  padding : 0 10px 20px; 
  display: flex;
  justify-content: center;
}

#cookies {
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

#cookiespolitique {
  margin: 0 auto;
  max-width: 670px;
  padding : 0 10px 20px;
  display: none;
}

#cookiespolitique p {
  padding: 10px 10px 20px;
  background: linear-gradient(rgb(233, 235, 137), rgba(233,235,137,0));
}

/* css spécifique */

#terrain-de-foot {
  overflow: auto;
}

#terrain-de-foot img {
  width:2500px;
	height:500px;  
}

#nosoldes {
  overflow: auto;
}

#nosoldes img {
  width: 1165px;
  height: 500px;
}

#immo {
  cursor: pointer;
}