body {
    font-family: var(--eb-garamond-main);
    background-color: #001F3F;
    color: white;
}

.header{
    color: #DBD3D3;
    a, span {
        color: #DBD3D3;
    }
    h2 {
        background-color: #6A9AB0;
        color: black;
        display: flex;
        justify-content: center;
        font-size: 20px;
        padding: 5px;
    }
}

footer {
    color: #DBD3D3;
}

.eb-garamond-main {
  font-family: "EB Garamond", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.name-brand {
    font-family: var(--eb-garamond-main);
}

.nav-item {
    font-family: var(--eb-garamond-main);
    font-size: 16px;
    background: transparent;
    border: none;
    padding: 0.5em;
    color: #ffedd3;
    text-transform: uppercase;
    position: relative;
    transition: 0.5s ease;
    cursor: pointer;
  }
  
  .nav-item::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 0;
    background-color: #EC8305;
    transition: 0.5s ease;
  }
  
  .nav-item:hover {
    transition-delay: 0.5s;
    a {
        color: #EC8305;
    }
  }
  
  .nav-item:hover::before {
    width: 100%;
  }

.heroServices {
    background-image: url('../assets/images/marcelo-leal-k7ll1hpdhFA-unsplash.jpg');
    background-repeat: no-repeat;
    background-size:cover;
    height: 40vh;

    h1 {
        position: relative;
        top: 45%;
        left: 45%;
        color: black;
        font-size: 3rem;
        background-color: #DBD3D3;
        width: fit-content;
        padding-top: 10px;
        padding-bottom: 10px;
        padding-left: 20px;
        padding-right: 20px;
        box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
    }
}

.services {
    background-color: #DBD3D3;
    display: flex;
    flex-direction: column;
    align-items: center;

    h1 {
        margin-top: 50px;
        border-bottom: solid #001F3F 5px;
        color: #001F3F;
    }
}

.services2 {
    background-color: #DBD3D3;
    display: flex;
    flex-direction: column;
    align-items: center;

    h1 {
        margin-top: 30px;
        border-bottom: solid #001F3F 5px;
        color: #001F3F;
    }
}

.col-4 {
    background-color: #001F3F;
    padding: 20px;
}

.row {
    margin: 10px;
}

.card {
    padding: 10px;
    margin-top: 5px;
    background-color: #6A9AB0;
}

.card:hover {
    background-color: #DBD3D3;
    color: #001F3F;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
}

hr {
    margin: 0;
}

  
.sidenav {
    background-color: #f4f4f4;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 450px;
    right: 10px;
    width: 15%;
}

.sidenav h3 {
    font-size: 20px;
    color: black;
    margin-bottom: 15px;
    border-bottom: 2px solid black;
}

.sidenav a {
    display: block;
    padding: 10px;
    color: #007bff;
    text-decoration: none;
    border-radius: 5px;
    margin-bottom: 10px;
    transition: background-color 0.3s ease, color 0.3s ease;
    display: flex;
    justify-content: center;
}

.sidenav a:hover {
    background-color: #007bff;
    color: white;
}
  
@media (max-width: 576px) {
    .heroServices h1 {
      font-size: 2rem;
      text-align: center;
    }
  
    .container-fluid p-0 {
      padding: 0;
    }
  
    .services h1, .services2 h1 {
      font-size: 2rem;
      text-align: center;
    }
  
    .card {
      width: 100%;
      margin-bottom: 20px;
    }
  
    .row.flex-lg {
      display: block;
      margin: 0 auto;
      text-align: center;
    }
  
    .sidenav {
      display: none;
    }

    .col-4 {
        background-color: unset;
    }
  }
  
  @media (max-width: 768px) {
    .heroServices h1 {
      font-size: 2.5rem;
      text-align: center;
    }
  
    .services h1, .services2 h1 {
      font-size: 2.5rem;
      text-align: center;
    }
  
    .card {
      width: 100%;
      margin-bottom: 20px;
    }
  
    .row.flex-lg {
      display: flex;
      flex-direction: column;
      flex-wrap: wrap;
      justify-content: center;
    }
  
    .sidenav {
      display: none;
    }
  
    .sidenav h3 {
      font-size: 1.2rem;
      margin-bottom: 10px;
    }
  
    .sidenav a {
      font-size: 1rem;
      margin-bottom: 5px;
    }

    .col-4 {
        background-color: unset;
    }
  }
  
  @media (min-width: 992px) {
    .heroServices h1 {
      font-size: 4rem;
      text-align: left;
    }
  
    .services h1, .services2 h1 {
      font-size: 3rem;
      text-align: left;
    }
  
    .card {
      width: 18rem;
      margin-bottom: 30px;
    }
  
    .row.flex-lg {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
    }
  
    .sidenav {
      display: none;
    }
  
    .sidenav h3 {
      font-size: 1.5rem;
      margin-bottom: 20px;
    }
  
    .sidenav a {
      font-size: 1.1rem;
      margin-bottom: 10px;
    }
  }

  @media (min-width: 1200px) {
    .heroServices h1 {
      font-size: 4rem;
      text-align: left;
    }
  
    .services h1, .services2 h1 {
      font-size: 3rem;
      text-align: left;
    }
  
    .card {
      width: 18rem;
      margin-bottom: 30px;
    }
  
    .row.flex-lg {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
    }
  
    .sidenav {
      display: block;
      position: fixed;
      top: 450px;
      right: 10px;
      width: 200px;
    }
  
    .sidenav h3 {
      font-size: 1.5rem;
      margin-bottom: 20px;
    }
  
    .sidenav a {
      font-size: 1.1rem;
      margin-bottom: 10px;
    }
  }
  