@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@800&display=swap');

* {
  box-sizing: border-box !important;
  transition: ease all .3s;
  font-family: 'Playfair Display', sans-serif;
  font-weight: 600;
}

:root {
  --c1: #6a9784;
  --c2: #92c4a8;
  --c3: #b5e0d7;
  --c4: #d5f7f7;
  --c5: #e7fdec;
}

html {
  scroll-behavior: smooth;
  width: 100vw; height: 100vh;
  overflow-x: hidden;
}

body {
  background-color: var(--c2);
  height: 100vh; width: 100vw;
}

main {
  min-height: 100vh;
}

a {
  text-decoration: none !important;
}

h1, h2, h3, h4, h5, h6 {
  color: black;
}

ul, li, ol {
  margin: 0px;
  padding: 0px;
  list-style: none;
}

/* Button */

.btn-custom {
  outline: none !important;
  border: none !important;
  align-items: center;
  background-color: #fff;
  border-radius: 1.3rem !important;
  color: black;
  display: inline-flex;
  font-size: 14px;
  height: 6vh;
  width: auto;
  justify-content: center;
  padding: 2px 24px;
  text-align: center;
}

.btn-custom:hover {
  background-color: #e7e7e7;
}

.active {
  background-color: #d8d8d8 !important;
}

.shadow {
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.2), 0 8px 12px 6px rgba(0, 0, 0, 0.2) !important;
  border-radius: 24px;
}

.hide * {
  visibility: hidden;
}

/* Navbar */

nav {
  font-size: 0.9rem;
  background-color: var(--c1);

  width: 75vw;
  height: 10vh;
  justify-content: center;
  margin: 0 auto;
  border-radius: 0 0 0.4rem 0.4rem;
}

@media screen and (max-width: 1100px) {
  nav {
    width: 85vw;
  }
}

@media screen and (max-width: 900px) {
  nav {
    width: 100vw;
    overflow-x: visible !important;
    border-radius: 0;
  }
}

@media screen and (max-width: 767px) {
  .navbar-nav {
    width: 50%;
    justify-content: right;
    text-align: right;

    position: absolute;
    right: 0.5rem;
  }

  .nav-item {
    margin-bottom: 0.2rem !important;
  }

  .dropdown-item {
    justify-content: right;
    text-align: center;
    display: block;
    width: calc(100% / 2);

    position: relative;
    right: -20vw;
  }
}

@media screen and (max-width: 530px) {
  .dropdown-item {
    width: calc(100% / 1.6);
    position: relative;
    right: -15vw;
  }
}

@media screen and (max-width: 400px) {
  .dropdown-item {
    width: calc(100% / 1.2);
    position: relative;
    right: -5vw;
  }
}

@media screen and (max-width: 330px) {
  .dropdown-item, .nav-item {
    justify-content: center;
    text-align: center;
    align-items: center;

    top: 50%; right: 50%;
    transform: translate(-50%, 20%);
  }
}

.navbar * {
  font-family: 'Roboto Slab', sans-serif;
  font-weight: 800;
}

.navbar-brand, .navbar-brand img {
  height: 6vh;
  margin: 0; padding: 0;
}

.navbar-nav li {
  margin-top: 2%;
}

.dropdown-menu {
  outline: none !important;
  border: none !important;
  background-color: transparent;
  width: 100% !important;
  transform: translate(0.65rem, -0.5rem);
}

.dropdown-menu:hover {
  background-color: transparent;
  outline: none !important;
  border: none !important;
  transform: translate(0.65rem, -0.5rem);
}

.dropdown-item {
  padding: 0.4rem;
  padding-left: 0.8rem;
  border-radius: 1rem !important;
}

.dropdown-item:hover {
  background-color: #d0d0d0 !important;
  border-radius: 1rem !important;
}

.collapsing {
  -webkit-transition: none;
  transition: none;
  display: none;
}

.navbar-toggler {
  border: 2px solid black; 
  border-radius: 0.8rem;
  outline: none !important;
  box-shadow: 0.1rem 0.1rem rgba(0, 0, 0, .3);

  background: none;
  padding: 0.4rem 0.8rem;
}

.navbar-toggler i {
  font-size: 1.5rem;
  font-weight: bold;
}


/* Footer */

footer {
  padding: 50px 0;
  background-color: #303030;
  color: #d0d0d0;

  bottom: 0;
  width: 100vw;
  overflow-x: visible !important;
}

footer * {
  font-family: 'Roboto Slab', sans-serif !important;
}

footer h3 {
  margin-top: 0;
  margin-bottom: 0.4rem;
  font-weight: bold;
  font-size: 1.6rem;
  color: #dadada !important;
}

footer ul {
  padding: 0;
  list-style: none;
  line-height: 1.6;
  font-size: 1.1rem;
  margin-bottom: 0;
}

footer ul a {
  color: inherit;
  text-decoration: none;
  opacity: 0.5;
}

footer ul a:hover {
  opacity: 1;
}

footer .item.social {
  text-align: right;
}

@media (max-width: 767px) {
  footer .item {
    text-align: center;
    padding-bottom: 20px;
  }
}

@media (max-width: 768px) {
  footer .item.social {
    text-align: center;
  }
}

footer .item.social > a {
  font-size: 24px;
  width: 40px;
  height: 40px;
  line-height: 40px;
  display: inline-block;
  text-align: center;
  margin-left: 10px;
  margin-top: 22px;
  color: inherit;
  opacity: 0.75;
}

.social i {
  padding-bottom: 0.4rem;
  font-size: 2rem;
}

footer .item.social > a:hover {
  opacity: 0.9;
}

@media (max-width: 991px) {
  footer .item.social > a {
    margin-top: 40px;
  }
}

@media (max-width: 767px) {
  footer .item.social > a {
    margin-top: 10px;
  }
}

.copyright {
  margin-bottom: 0;
  font-size: 13px;
  opacity: 0.6;
}

.copyright a {
  opacity: 1;
}

.first {
  margin-top: 14px;
  margin-bottom: 5px;
}
