﻿/* ==============================================================
   Auth — Home, Login, Cookies, Bouton, First Connexion, Slideshow
   ============================================================== */
/* Home */
#home{
  height: 100vh;
  min-height: 500px;
  background: url(../Photos/cercle.gif) no-repeat center;
  background-size: cover;
  background-attachment: fixed;
}
#home h1{
  text-align: center;
  color: white;
  font-size:80px;
  padding-top:43vh;
  font-family: "BigOver";
}
@font-face{
	font-family: "BigOver";
	src: url('../Police/bBigerOver.otf');
}
/* Bouton */
input[type = "submit"]{
  border:0;
  background: none;
  display: block;
  margin: 20px auto;
  text-align: center;
  border: 2px solid var(--color-primary-btn);
  padding: 14px 40px;
  outline: none;
  border-radius: var(--radius-btn);
  transition: var(--transition-slow);
  cursor: pointer;
  color:white;
}
@media screen and (max-width: 600px){
	input.acc{
		margin-top:140px;
	}
}
input[type = "submit"]:hover{
  background: var(--color-primary-btn);
}

/* Cookies */
.cookies {
  position: absolute;
  background-color: var(--color-bg);
  width: 100%;
  padding: 40px;
  bottom: 0;
  color: white;
}
.btn-accept-cookies {
  display: flex;
}
p.cookies-title {
  text-decoration: underline;
  font-size: large;
  font-weight: bold;
  margin-bottom: 10px;
}
/* Login */
#login{
  height: 100vh;
  min-height: 500px;
  background: url(../Photos/fond.gif) no-repeat center;
  background-size: cover;
  background-attachment: fixed;
}
.box{
  width: 300px;
  padding: 40px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  background: var(--color-bg);
  text-align: center;
}
@media screen and (max-width: 600px){
	.box{
	  padding: 10px;
	}
}
.box h1{
  color: white;
  text-transform: uppercase;
  font-weight: 500;
}
.box input[type = "text"],.box input[type = "password"]{
  border:0;
  background: none;
  display: block;
  margin: 20px auto;
  text-align: center;
  border: 2px solid var(--color-primary);
  padding: 14px 10px;
  width: 200px;
  outline: none;
  color: white;
  border-radius: var(--radius-btn);
  transition: var(--transition-slow);
}
.box input[type = "text"]:focus,.box input[type = "password"]:focus{
  width: 280px;
  border-color: var(--color-success);
}
.box input[type = "submit"]{
  border:0;
  background: none;
  display: block;
  margin: 20px auto;
  text-align: center;
  border: 2px solid var(--color-primary);
  padding: 14px 40px;
  outline: none;
  color: white;
  border-radius: var(--radius-btn);
  transition: var(--transition-slow);
  cursor: pointer;
}
.box input[type = "submit"]:hover{
  background: var(--color-primary);
}
/* First Connexion */
.first-connexion{
	position: absolute;
	width: 80%;
  background-color: var(--color-bg);
  margin-left: 10%;
  margin-right: 10%;
  margin-top: 20px;
	margin-bottom: 50px;
	padding: 10px;
  border-radius: var(--radius-panel);
  text-align: center;
	color: white;
}
@media screen and (max-width: 600px){
	.first-connexion{
		width: 90%;
		margin-left: 5%;
		margin-right: 5%;
		margin-top: 30%;
	}
}
.first-connexion h1 {
	margin-bottom: 10px;
	text-decoration: underline;
}
/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}
.prev {
	left : 0;
	border-radius: 0 3px 3px 0;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
  .prev, .next,.text {font-size: 11px}
}