
body {
  height: 100%;
  margin: 0;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;

}

body {
  font-family: Helvetica;
}

a {
  text-decoration: none;
}

li {
  list-style: none;
}

/* NAVBAR STYLING STARTS */

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  background-color: transparent;
  width: 1200px;
}

.nav-links a {
  color: #fff;
}

/* LOGO */

.logo {
  font-size: 32px;
}

/* NAVBAR MENU */

.menu {
  display: flex;
  gap: 20px;
  font-size: 18px;
}

.menu li:hover {
  background-color: #01B1E2;
  border-radius: 40px;
  transition: 1s ease;
}

.menu li {
  padding: 10px 20px;
}

/* DROPDOWN MENU */
.services {
  position: relative;
}

.active {
  background: #01B1E2;
  color: white;
  border-radius: 40px;
}

/*
.dropdown {
  background-color: rgb(1, 139, 139);
  padding: 1em 0;
  position: absolute; WITH RESPECT TO PARENT
  display: none;
  border-radius: 8px;
  top: 35px;
}

.dropdown li + li {
  margin-top: 10px;
}

.dropdown li {
  padding: 0.5em 1em;
  width: 8em;
  text-align: center;
}

.dropdown li:hover {
  background-color: #4c9e9e;
}

.services:hover .dropdown {
  display: block;
}
*/

.body-upper {
  margin: 0;
  display: flex;
  flex-flow: column;
  height: 100%;
  background: url('../img/kniplia_heis.jpg') no-repeat left center;
  box-shadow: inset 0 0 0 2000px rgba(4,2,25,.55);
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  justify-content: flex-start;
  align-items: center;
}

.inside-body-upper {
  display: flex;
  width: 800px;
  flex-flow: row wrap;
  align-items:center;
  margin-top: auto;
  margin-bottom: auto;
}

.button-div {
  display:flex;
  flex: 50%;
  padding: 8px;
}

.left-button {
  display: flex;
  flex: 50%;
  justify-content: flex-end;
}

.right-button {
  display: flex;
  flex: 50%;
  justify-content: flex-start;
}

.row {
  display: flex;
  flex: 100%;
  margin: 0;
  flex-direction:row;
  justify-content: center;
  padding: 12px;
  margin-bottom: 0px;
}

hr {
  display:flex;
  border: 1px solid #01B1E2;
  width: 20%;
}

a.buttonlink:link, a.buttonlink:visited {
font-family:Helvetica;
  background-color: #01B1E2;
  border: 1px solid #01B1E2;
  border-radius: 40px;
  color: white;
  padding: 14px 14px;
  text-align: center;
  text-decoration: none;
  width: 40%;
  font-size: 14px;
  font-weight: bold;
  -webkit-transition: background-color 0.5s, background-color 0.5s, border-color 0.5s, color 0.5s;
  transition: background-color 0.5s, background-color 0.5s, border-color 0.5s, color 0.5s;
}

a.buttonlink:hover, a.buttonlink:active {
  background-color: #0179e2;
  border: 1px solid #0179E2;
  border-radius: 40px;
  font-size: 14px;
}

.information {
  font-family: Helvetica;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
}

.body-middle {
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  padding: 40px;
}

h1 {
  color: white;
  font-size: 64px;
  font-family: Helvetica;
  text-align: center;
}

h2 {
  color: black;
  font-size: 48px;
  font-family: Helvetica;
}

h3 {
  color: black;
  font-size: 32px;
  font-family: Helvetica;
  margin-bottom: 16px;
  margin-top: 32px;
}

/*RESPONSIVE NAVBAR MENU STARTS*/

/* CHECKBOX */

input[type=checkbox]{
  display: none;
}

/*HAMBURGER MENU*/

.hamburger {
  display: none;
  font-size: 48px;
  color: black;
  user-select: none;
  margin-right: 16px;
}

/* APPLYING MEDIA QUERIES */

@media (max-width: 1200px) {
  .desktop {
    display: none;
  }

  .menu {
    display:none;
    position: absolute;
    background-color:#01B1E2;
    right: 0;
    left: 0;
    margin-top: 40px;
    text-align: center;
    padding: 16px 0;
    width: 100%;
  }

  .menu li:hover {
    display: inline-block;
    background-color: white;
    transition: 1s ease;
  }

  .menu li + li {
    margin-top: 12px;
  }

  .nav-links a {
    color: white;
    padding: 16px;
  }

  .nav-links a:hover {
    color: black;
  }

  input[type=checkbox]:checked ~ .menu{
    display: block;
  }

  .hamburger {
    display: block;
  }

  .dropdown {
    left: 50%;
    top: 30px;
    transform: translateX(35%);
  }

  .dropdown li:hover {
    background-color: #4c9e9e;
  }

  .navbar {
    width: 100%;
    background-color: white;
    border-bottom: 2px solid lightgray;
    height: 156px;
  }

  .inside-body-upper {
    width: 100%;
  }
}

@media (max-width: 800px) {
  a.buttonlink:link, a.buttonlink:visited {
    width: 60%;
  }
}

@media (min-width: 1200.1px) {
  .mobile {
    display: none;
  }
}
