/* Site Kernodet */
/* 29/03/2023 */


* {
  box-sizing: border-box;
}

@font-face {
	font-family: 'Barlow';
	src: url("/fonts/Barlow/Barlow-Black.ttf") format("truetype"),
		url("/fonts/Barlow/Barlow-Black.ttf") format("truetype"),
		url("/fonts/Barlow/Barlow-BlackItalic.ttf") format("truetype"),
		url("/fonts/Barlow/Barlow-Bold.ttf") format("truetype"),
		url("/fonts/Barlow/Barlow-BoldItalic.ttf") format("truetype"),
		url("/fonts/Barlow/Barlow-ExtraBold.ttf") format("truetype"),
		url("/fonts/Barlow/Barlow-ExtraBoldItalic.ttf") format("truetype"),
		url("/fonts/Barlow/Barlow-ExtraLight.ttf") format("truetype"),
		url("/fonts/Barlow/Barlow-ExtraLightItalic.ttf") format("truetype"),
		url("/fonts/Barlow/Barlow-Italic.ttf") format("truetype"),
		url("/fonts/Barlow/Barlow-Light.ttf") format("truetype"),
		url("/fonts/Barlow/Barlow-LightItalic.ttf") format("truetype"),
		url("/fonts/Barlow/Barlow-Medium.ttf") format("truetype"),
		url("/fonts/Barlow/Barlow-MediumItalic.ttf") format("truetype"),
		url("/fonts/Barlow/Barlow-SemiBold.ttf") format("truetype"),
		url("/fonts/Barlow/Barlow-SemiBoldItalic.ttf") format("truetype"),
		url("/fonts/Barlow/Barlow-Thin.ttf") format("truetype"),
		url("/fonts/Barlow/Barlow-ThinItalic.ttf") format("truetype");
}

body {
  background-color:  #dd814e;
  color:  #14442e;
  font-size: 100%;
  font-family:"Barlow", times, serif;
}

/* Tete website */
.tete {
  max-width: 90%;
  text-align: left;
  margin: auto;
  line-height: 50%;
  font-family:"Barlow", times, serif;
}

#left {    
 text-align: left;  
 }  

#center {    
 text-align: center;  
 }  

#right{    
  text-align: right;  
 }

/* Image */
img { */
  background-size: cover;
  max-width: 100%;
  max-height: 90%;
}

.row > .column {
  padding: 0 8px;
}

.row:after {
  content: "";
  display: table;
  clear: both;
}

.column {
  float: left;
  width: 25%;
}

/* The Modal (background) */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  background-color: #dd814e;
  padding-top: 5vh;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

/* Modal Content */
.modal-content {
  position: relative;
  background-color: #dd814e;
  margin: auto;
  width: 90%;
  height: 90%;
 }

/* The Close Button */
.close {
  color: #14442e;
  position: absolute;
  top: 10px;
  right: 25px;
  font-size: 35px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #14442e;
  text-decoration: none;
  cursor: pointer;
}

.mySlides {
  display: none;
}

.cursor {
  cursor: pointer;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: #14442e;
  font-weight: bold;
  font-size: 20px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* 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);
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

.caption-container {
  text-align: center;
  background-color: #dd814e;
  padding: 2px 16px;
  color: #14442e;
}

.demo {
  opacity: 0.6;
}

.active,
.demo:hover {
  opacity: 1;
}

img.hover-shadow {
  transition: 0.3s;
}

.hover-shadow:hover {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

/* Center website */
.main {
  max-width: 90%;
  text-align: center;
  margin: auto;
}

/* Grid */
.wrapper {
  background-color:  #dd814e;
  color:  #14442e;
  font-size: 100%;
  font-family:"Barlow", times, serif;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 5px;
  justify-items: center;
  align-items: center;
}

.wrapper3 {
  background-color:  #dd814e;
  color:  #14442e;
  font-size: 100%;
  font-family:"Barlow", times, serif;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 5px;
  justify-items: center;
  align-items: center;
}

.wrapper5 {
  background-color:  #dd814e;
  color:  #14442e;
  font-size: 100%;
  font-family:"Barlow", times, serif;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-gap: 5px;
  justify-items: center;
  align-items: center;
}


/* Responsive layout - makes a two column-layout instead of four columns */
@media screen and (max-width: 900px) {
.wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  justify-items: center;
  align-items: center;
}
.wrapper3 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  justify-items: center;
  align-items: center;
}
.wrapper5 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  justify-items: center;
  align-items: center;
}
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
.wrapper {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  justify-items: center;
  align-items: center;
}
.wrapper3 {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  justify-items: center;
  align-items: center;
}
.wrapper5 {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  justify-items: center;
  align-items: center;
}
h1 {
  font-size: 300%;
  word-break: break-all;
  text-align: left;
}

}
h3 {
  font-size: 100%;
  word-break: break-all;
}

}

/* Image */
img { */
  background-size: cover;
  max-width: 200px;
  max-height: 200px;
}

/* Responsive layout - makes a two column-layout instead of four columns */
@media screen and (max-width: 1000px) {
.wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  justify-items: center;
  align-items: center;
  height:  2000px;
  }

h1 {
  font-size: 200%;
  word-break: break-all;
}

h2 {
  font-size: 100%;
  word-break: break-all;
}

h3 {
  font-size: 50%;
  word-break: break-all;
}

}


/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
.wrapper {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  justify-items: center;
  align-items: center;
  height:  4000px;
  }

h1 {
  font-size: 100%;
  word-break: break-all;
}

h2 {
  font-size: 50%;
  word-break: break-all;
}

h3 {
  font-size: 25%;
  word-break: break-all;
}

}