/*General Settings*/

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

a {
  text-decoration: none;
}

li {
  list-style: none;
}

.forum-regular {
  font-family: "Forum", serif;
  font-weight: 400;
  font-style: normal;
}

/*Background Image Setup*/
body {
  background-image: url('./MEDIA/bg.png');
  background-repeat: no-repeat;
  background-size: cover;
  /* Adjusts the background image to cover the entire body */
}



/*--------------------------------------------------*/
/* NAVBAR STYLING STARTS */
header {
  box-shadow: 0 4px 19px rgba(0, 0, 0, 0.65);
  margin-bottom: 20px;

}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px;
  background-color: teal;
  color: #fff;
  transition: background-color 0.5s ease-in-out;
  transition: box-shadow 2s ease;
}

.navbar:hover {
  background-color: #036e70;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.nav-links a {
  color: #fff;
  margin-right: 15px;
}

/* LOGO */
.logo {
  padding: 3px;
  width: auot;
  height: 100px
}

/* NAVBAR MENU */
.menu {
  display: flex;
  gap: 1em;
  font-size: 25px;
  padding-right: 100px;
}

.menu li:hover {
  background-color: #4c9e9e;
  border-radius: 5px;
  transition: 1s ease;
}

.menu li {
  padding: 2px 14px;
  margin: 20px;
}

/* DROPDOWN MENU */
.services {
  position: relative;
}

.dropdown {
  background-color: rgb(1, 139, 139);
  padding: 1em 0;
  position: absolute;
  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;
}

input[type=checkbox] {
  display: none;
}

/* HAMBURGER MENU */
.hamburger {
  display: none;
  font-size: 24px;
  user-select: none;
}




/*--------------------------------------------------*/
/*PAGE BELOW NAV*/
.pag {
  padding-top: 30px;

}

.titl {
  height: 100%;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: x-large;
  padding: 15px;
}



/*----PARAGRAPH ------1*/

.cont1 {
  padding: 20px;
  padding-top: 40px;
  margin: 10px;
  margin-left: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.p1space {
  padding: 15px;
  width: 35%;
  line-height: 250%;
  align-items:center;
  text-align: center;

}

.p1 {

  padding: 5px;
  font-size: larger;
  font-weight: 400;
  color: #333;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/*Image 1*/
.ac1 {
  margin-left: 10px;
  border-radius: 10px;
}




/*----PARAGRAPH -------2*/
.cont2 {
  padding: 20px;
  padding-top: 40px;
  margin: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.p2space {
  padding: 15px;
  width: 45%;
  line-height: 250%;
  text-align: center;

}

.p2 {
  padding: 5px;
  font-size: larger;
  font-weight: 400;
  color: #333;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}
.seeMoreB {

  display: inline-block;
  outline: 0;
  border: 0;
  cursor: pointer;
  background: #000000;
  color: #FFFFFF;
  border-radius: 8px;
  padding: 10px 20px 12px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  transition: transform 200ms, background 200ms;

}


.ac2 {
  margin-right: 10px;
  border-radius: 20px;
  padding: 5px;
  margin-right: 30px;
}



/*--------------------------------------------------*/
/*FOOOOOOOOOTER*/
footer {
  padding: 10px;
  padding-top: 0px;
  margin-top: 0px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0px -5px 10px rgba(0, 0, 0, 0.2);
  /*background photo*/
  background-image: url("./MEDIA/bgGri.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.pcont {
  text-align: center;
  flex: 1;
  margin-left: 10em;

}

footer p {
  line-height: 220%;
  font-size: small;
  color: antiquewhite;
}

.fbcont {
  margin-right: 0px;
}

.fb {
  width: 20%;
  height: auto;
  margin-right: -40px;


}






/*--------------------------------------------------*/
/* APPLYING MEDIA QUERIES */
@media (max-width: 768px) {
  .menu {
      display: none;
      position: absolute;
      background-color: teal;
      border: 1px solid black;
      right: 0;
      left: 0;
      text-align: center;
      padding: 16px 0;
  }

  .menu li:hover {
      display: inline-block;
      background-color: #4c9e9e;
      transition: 0.3s ease;
  }

  .menu li+li {
      margin-top: 12px;
  }

  input[type=checkbox]:checked~.menu {
      display: block;
  }

  .hamburger {
      display: block;
  }

  .dropdown {
      left: 50%;
      top: 30px;
      transform: translateX(35%);
  }

  .dropdown li:hover {
      background-color: #4c9e9e;

  }
}



/*
MEDIA STUFF FOR PHONES AND SHIT
*/

@media (max-width: 1200px) {
  .menu {
      font-size: 20px;
      padding-right: 50px;
  }

  .cont1, .cont2 {
      flex-direction: column;
      align-items: center;
  }

  .p1space, .p2space {
      width: 80%;
  }
}

@media (max-width: 992px) {
  .menu {
      font-size: 18px;
      padding-right: 30px;
  }

  .p1space, .p2space {
      width: 90%;
  }

  .ac1, .ac2 {
      width: 80%;
  }
}

@media (max-width: 768px) {
  .menu {
      display: none;
      position: absolute;
      background-color: teal;
      border: 1px solid black;
      right: 0;
      left: 0;
      text-align: center;
      padding: 16px 0;
  }

  .menu li:hover {
      display: inline-block;
      background-color: #4c9e9e;
      transition: 0.3s ease;
  }

  .menu li+li {
      margin-top: 12px;
  }

  input[type=checkbox]:checked~.menu {
      display: block;
  }

  .hamburger {
      display: block;
  }

  .dropdown {
      left: 50%;
      top: 30px;
      transform: translateX(35%);
  }

  .dropdown li:hover {
      background-color: #4c9e9e;
  }

  .logo img {
      width: 50px;
      height: auto;
  }

  .p1space, .p2space {
      width: 100%;
  }

  .ac1, .ac2 {
      width: 100%;
      margin: 0 auto;
  }

  .seeMoreB {
      width: 100%;
      text-align: center;
  }

  .pcont {
      text-align: center;
      margin-left: 0;
      flex: 1;
  }

  .fb {
      width: 50px;
      height: auto;
      margin: 0 auto;
  }
}

@media (max-width: 576px) {
  .navbar {
      flex-direction: column;
      align-items: flex-start;
  }

  .menu {
      font-size: 16px;
  }

  .p1space, .p2space {
      font-size: 14px;
  }
}

@media (max-width: 400px) {
  .menu {
      font-size: 14px;
  }

  .p1space, .p2space {
      font-size: 12px;
  }

  .seeMoreB {
      font-size: 10px;
      padding: 8px 16px;
  }
}
