/*--------------------------------------------------------*/
/* FONTS */
@import url('https://fonts.googleapis.com/css2?family=Fira+Sans&display=swap');

h1, h2, h3, p, body{
  font-family: "Fira Sans", sans-serif;
}

h2{
    font-size: 25px;
}

input[type=submit]{
    font-size: inherit;
    font-weight: inherit;
}

body{
  background-repeat: no-repeat;
  background-width: 25%;
  background-position: right top;
  border-left: 40px solid #007977;
}

.header{
	width: 100%;
	position: relative;
	border-left: 40px solid #65c1be;
	display: inline-block;
	background-color: rgba(0, 0, 0, 0.1);
}

.header-background{
	display: inline-flex;
	position: absolute;
	height: 100%;
	width:100%;
	overflow-x: auto;
	-ms-overflow-style: none;
}


.header img{
	height: 100%;

}

/*--------------------------------------------------------*/

.container-form{

	display: inline-block;
    background-color:  rgba(255, 255, 255, 0.7);
    color: black;
    cursor: pointer;
    position: relative;
    
    z-index: 1;
    padding: 20px;
    margin: 50px;
}


.container-form input[type=radio]{
    display: none;
}

.container-form input[type=radio]:checked+ label{
  background-color: rgba(0, 0, 0, 0.4);
}

.container{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    position: relative;
    background-position: center; 
    border-left: 40px solid #65c1be;
}

/* https://css-tricks.com/can-get-pretty-far-making-slider-just-html-css/ */

.slider, .slide, div.slide>img{
    width: 400px;
}

@media only screen and (max-width: 1000px) {
  .slider, .slide, div.slide>img{
    width: 600px;
  }
  .container{
    width: 600px;
  }

}

.slider {
    display: flex;
    overflow-x: auto;
    background-color: #ffffff; 

    -webkit-overflow-scrolling: touch;

    /* snap points for web kit based browsers */
    -webkit-scroll-snap-points-x: repeat(.slider.width);
    -ms-scroll-snap-points-x: repeat(.slider.width);
    scroll-snap-points-x: repeat(.slider.width);
    scroll-snap-destination: 0 0;		
    -webkit-scroll-snap-type: mandatory;
    -ms-scroll-snap-type: mandatory;
    scroll-snap-type;
    scroll-snap-type: mandatory;


    /* snap points for regular browsers*/
    scroll-snap-type: x mandatory;
}

.slide {
    scroll-snap-align: center;
}

/* Container holding the slideshow and the text */
.module-container {
    position: relative;
    text-align: center;
    padding: 25px;
}

/* Module name*/
.module-name {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/*--------------------------------------------------------*/
.btn {
  border: solid;
  background-color: inherit;
  padding: 14px 28px;
  font-size: inherit;
  cursor: pointer;
  display: inline-block;
  font-family: inherit;
}

.btn:hover {
  background: #fef000;
  color: black;}
.default {
    color: black;
}
.light {
    border-color: white;
    color: white;
}
.dark{
  background-color: rgba(0, 0, 0, 0.4)
}

.modules{
  background-color: rgba(0, 0, 0, 0);
  border: none;
}


/*--------------------------------------------------------*/
.box {
    border: solid;
    border-color: black;
    background-color: inherit;
    color: white;
    padding: 14px 28px;
    font-size: inherit;
    cursor: pointer;
    display: inline-block;
    font-family: inherit;
    text-align: center;
    cursor: default;
}

/*--------------------------------------------------------*/
/*https://www.w3schools.com/howto/howto_js_fullscreen_overlay.asp*/
.overlay {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  background-color: rgba(0,0,0, 0.9);
  overflow-x: hidden;
  transition: 0.5s;
}

.overlay-content {
  position: relative;
  top: 25%;
  width: 100%;
  text-align: center;
  margin-top: 30px;
  display: grid;
}

.overlay a {
  padding: 8px;
  text-decoration: none;
  color: rgb(255, 255, 255, 0.3);
  display: inline-block;
  transition: 0.3s;
}

.overlay a:hover, .overlay a:focus {
  color: rgb(255, 255, 255, 0.7);
}

.overlay .closebtn {
  position: absolute;
  top: 20px;
  right: 45px;
  font-size: 60px;
}

/* Hide checkbox */
.overlay input[type=checkbox]{
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.overlay input[type=checkbox] + label {
    width: 40px;
    /*height: 20px;*/
    text-align: center;
} 
.overlay input[type=checkbox]:checked + label {
    background-color: rgb(255, 255, 255, 0.3);

} 
