
/* Animations */

@keyframes appear {
 	0% {opacity: 0%;}
 	100% {opacity: 100%; }
}


/* Dropdown Menu */

.dropdown-btn {
    cursor: pointer;
    margin: 0;
}

.dropdown {
    position: relative;
    display: inline-block;
    min-width: 100px;
    width: 255px;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    width: 100%;
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
    z-index: 1;
    opacity: 0;
    animation: appear 0.25s forwards;
}

.dropdown-content a, .dropdown-content input {
    color: #3D995C;
    margin: 0px;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    animation: appear 0.5s forwards;
    cursor: pointer;
}

.dropdown-content input {
	background-color: inherit;
    font-family: inherit;
  	font-size: inherit;
    width: 100%;
    border: none;
}

.dropdown-content a:hover, .dropdown-content input:hover {
    filter: brightness(95%);
    background-color: #fff;
}


/* Other */

header nav {
    overflow-x: scroll;
    white-space: nowrap;
    min-inline-size: fit-content;
}

header nav::-webkit-scrollbar {
    display: none;
}


/* //////////// Laptop/desktop //////////// */

/* //////////////////// HEADER //////////////////// */

header, footer {
  text-align: center;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

header {
  background-color: #fff;
  position: fixed;
  color: #fff;
  width: 100%;
  z-index: 1;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  flex: 1;
  font-size: 26px;
  font-family: Oswald;
  text-align: center;
  user-select: none;
  display: flex;
  flex-wrap: nowrap;
  flex-direction: row;
}

header img, footer img {
  width: 55px;
  height: auto;
  user-select: none;
}

nav a, header a {
  color: #3D995C;
  text-decoration: none;
  opacity: 0;
  animation: appear 0.5s forwards;
}

nav a {
  margin: 0px 20px;
}

nav a:hover, header a:hover, footer img:hover {
  filter: brightness(85%);
  cursor: pointer;
}

.logo {
  padding-top: 5px;
  min-width: 70px;
  width: 255px;
}

.header-right {
  max-height: 55px;
  height: 100%;
  
  width: 255px;
  min-width: 55px;
}

/* //////////////////// FOOTER //////////////////// */

bottom {
  width: 100%;
}

footer {
  background-color: #3D995C;
  color: #fff;
  bottom: 0;
  text-align: center;
  font-size: 20px;
  font-family: WorkSans;
  font-weight: bold;
  padding-top: 8px;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  width: 100%;
}

.social-links {
  display: flex;
  justify-content: center; /* Center horisontally */
  align-items: center;	 /* Center vertically */
  padding-right: 50px;
  user-select: none;
}

.social-links a {
  padding-left: 3vw;
}

.social-links img {
  display: flex;
  justify-content: center; /* Center horisontally */
  align-items: center;	 /* Center vertically */
  width: 50px;
  user-select: none;
  transition: transform 0.45s ease-in-out;
}

.social-links img:hover {
  transform: rotate(360deg);
}
  


/* //////////// Mobile and tablet CSS //////////// */

@media (max-width: 550px) {

  	header img, footer img {
      width: 35px;
    }
  
  	/* //////////////////// HEADER //////////////////// */
  
    header {
      font-size: 16px;
    }
  
    nav a {
      margin: 0px 5px;
    }

    .dropdown {
      min-width: 100px;
      width: 150px;
    }
  
    .logo {
      padding-top: 5px;
      min-width: 35px;
      width: 150px;
    }

    .header-right {
      width: 150px;
      min-width: 55px;
    }

  	/* //////////////////// FOOTER //////////////////// */

    footer {
      font-size: 16px;
    }
  
    .social-links img {
      width: 30px;
    }

}


