/* Global and mobile rules */
:root{
  --white: #f9f9f9;
  --black: #36383F;
  --gray: #85888C;
}

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

a {
  text-decoration: none;
}

body {
  /*font-family: Verdana, sans-serif;*/
  font-family: "Poppins", sans-serif;
  background-color: var(--white);
}

body:has(.side-menu:checked) {
  overflow: hidden;
}

img {
  width: 100%;
  height: auto;
}
  
ul {
  list-style: none;
}

#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}

#desktoplogo {
  display: none;
}

#grad1 {
  background-color: black; /* For browsers that do not support gradients */
  background: -webkit-linear-gradient(to bottom, #241d24,#25323a,#134f4b,#1a7a6e,#58b09f,#c0e4d8);
  background: linear-gradient(to bottom, #241d24,#25323a,#134f4b,#1a7a6e,#58b09f,#c0e4d8);
  position: absolute;
  top: 200px;
  right: 0;
  bottom: 0;
  left: 0;
}

#grad2 {
  background-color: black; /* For browsers that do not support gradients */
  background: -webkit-linear-gradient(to bottom, #241d24,#707070);
  background: linear-gradient(to bottom, #241d24,#707070);
  position: absolute;
  top: 200px;
  right: 0;
  bottom: 0;
  left: 0;
}
    
#mainbg {
  background-color: #39998a;
  height: auto;
  /*margin-top: 67px;*/
  margin-top: 145px;
  padding: 10px 10px 10px 15px;
}

#mainbg a {
  color: white;
}

#mainbg a:hover {
  color: #52e7db;
}

#mainbg a:visited {
  color: #ec597f;
}

#medimg {
  width: auto;
  height: auto;
}

#mobilelogo {
  /*height: 175px;*/
  /*max-width: 100%;*/
  display: block;
  min-width: 300px;
  max-width: 500px;
  height: auto;
}

#smallimg {
  width: auto;
  height: auto;
}

.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

.dropdown {
  float: left;
  overflow: hidden;
}

.dropdown .dropbtn {
  font-size: 30px;  
  border: none;
  outline: none;
  color: black;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
  padding-bottom: 5px;
}

.dropdown-content a {
  float: none;
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.dropdown-content a:hover {
  background-color: #2b8d7e;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.gallery {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	margin: 10px;
}
  
.gallery img {
	width: 100px;
	height: 100px;
	margin: 5px;
}

.hamb{
  cursor: pointer;
  float: right;
  padding: 40px 20px;
}

.hamb-line {
  background: var(--white);
  display: block;
  height: 2px;
  position: relative;
  width: 24px;
}

.hamb-line::before,
.hamb-line::after{
  background: var(--white);
  content: '';
  display: block;
  height: 100%;
  position: absolute;
  transition: all .2s ease-out;
  width: 100%;
}
  
.hamb-line::before{
  top: 5px;
}
  
.hamb-line::after{
  top: -5px;
}

.header{
  background-color: var(--black);
  position: fixed;
  top: 0;
  width: 100%;
}

.logo{
  display: inline-block;
  color: var(--white);
  font-size: 60px;
  margin-left: 10px;
}

.menu a{
  display: block;
  padding: 30px;
  color: var(--white);
}

.menu a:hover{
  background-color: var(--gray);
}

.mobile-li li {
  line-height: .1em;
  list-style: none;
}

.modal {
  display: none; 
  position: fixed;
  z-index: 1; 
  padding-top: 75px;
  left: 0;
  top: 0;
  width: 100%; 
  height: 100%; 
  overflow: auto; 
  background-color: rgb(0,0,0); 
  background-color: rgba(0,0,0,0.9); 
}

.modal-content {
	margin: auto;
	display: block;
	max-width: 950px;
	max-height: 2000px;
	position:relative;
	overflow-y: auto;
}

.nav{
  width: 100%;
  height: 100%;
  position: fixed;
  background-color: var(--black);
  overflow: hidden;
  max-height: 0;
  transition: max-height .5s ease-out;
}

.navbar{
  max-height: none;
  top: 0;
  float: right;
  width: fit-content;
  background-color: transparent;
  display: none;
  position: sticky;
}

.navbar a {
  float: left;
  font-size: 30px;
  color: black;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  display: flex;
}

.navbar a:hover, .dropdown:hover .dropbtn {
  background-color: #252830;
  color: white;
}

.side-menu {
  display: none;
}

.side-menu:checked ~ nav{
  max-height: 100%;
}
  
.side-menu:checked ~ .hamb .hamb-line {
  background: transparent;
}
  
.side-menu:checked ~ .hamb .hamb-line::before {
  transform: rotate(-45deg);
  top:0;
}
  
.side-menu:checked ~ .hamb .hamb-line::after {
  transform: rotate(45deg);
  top:0;
}

@media (max-width: 769px) {
  #mainbg {
    margin-top: 75px;
  }
  
  #medimg {
    width: 350px;
    height: auto;
  }
}

/* Desktop rules */
@media (min-width: 1425px) {
/*@media (min-width: 768px) {*/
  img {
    width: auto;
    height: auto;
  }
    
  #desktoplogo {
    display: block;
    max-width: auto;
    height: auto;
  }
    
  #fullpage {
    display: none;
    position: absolute;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-size: contain;
    background-repeat: no-repeat no-repeat;
    background-position: center center;
    background-color: black;
  }
    
  #grad1 {
    top: 300px;
  }
  
  #grad2 {
    top: 300px;
  }
    
  #mainbg {
    background-color: #13685f;
    margin-left: 300px;
    width: 70%;
    overflow-y: auto;
    height: 700px;
    margin-top: 66px;
    position: sticky;
    position: -webkit-sticky;
    top: 15px;
    padding: 10px 50px 50px 50px;
  }
  
  #social {
    display: flex;
    align-items:center;
  }
    
  .dropdown {
    float: left;
    overflow: hidden;
  }
  
  .dropdown .dropbtn {
    font-size: 30px;  
    border: none;
    outline: none;
    color: black;
    background-color: inherit;
    font-family: inherit;
    margin: 0;
  }
    
  .dropdown-content {
    margin-left: 33px;
    display: none;
    position: absolute;
    background-color: #67b9a9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
  }
  
  .dropdown-content a {
    float: none;
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
  }
  
  .dropdown-content a:hover {
    background-color: #2b8d7e;
  }
  
  .dropdown:hover .dropdown-content {
    display: block;
  }   
    
  .gallery {
  	display: flex;
  	flex-wrap: wrap;
  	justify-content: center;
  	align-items: center;
  	margin: 10px;
  }
    
  .gallery img {
  	width: 150px;
  	height: 150px;
  	margin: 10px;
  }
  	
  .hamb{
    display: none;
  }
  	
  .header{
    display: none;
  }
    
  .menu a:hover{
    background-color: transparent;
    color: var(--gray);
  }
    
  .menu li{
    float: left;
  }
    
  .navbar {
    background-color: #2b8d7e;
    display: flex;
    justify-content: space-between;
    position: absolute;
    margin-left: 300px;
    width: 70%;
  }

  .navbar.responsive {position: relative;}
  .navbar.responsive a.icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .navbar.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
}
