*{
    font-family: 'Montserrat', sans-serif;
}

body {
    overflow-x: hidden;
}

.navbar-brand {
    font: 32px Viga;
    color: #4F6458;
}

.navbar-brand1 {
    font: 23px Viga;
}

.navbar-nav .nav-link:hover {
    color: black;
}

.button-news1 {
    font: 23px Viga;
} 

.card {
    margin-top: -10%;
}

.cad {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2); 
    transition: 0.3s; 
}

.cad:hover {
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
}

.main-banner {
    border-bottom: 3px dotted #eee;
    padding-top: 20px;
    padding-bottom: 10px;
  }
  
  .main-banner .left-content .thumb img {
    width: 100%;
    overflow: hidden;
  }

  .main-banner .left-content .inner-content span {
    font-size: 16px;
    color: #fff;
    font-weight: 400;
    font-style: italic;
    display: block;
    margin-bottom: 30px;
  }
  
  .main-banner .left-content .inner-content {
    position: absolute;
    left: 60px;
    top: 50%;
    transform: translateY(-50%);
  }
  
  .main-banner .left-content .inner-content h4 {
    color: #fff;
    margin-top: -10px;
    font-size: 52px;
    font-weight: 700;
    margin-bottom: 20px;
  }
  
  .main-banner .right-content .right-first-image {
    margin-bottom: 28.5px;
  }
  
  .main-banner .right-content .right-first-image .thumb {
    position: relative;
    text-align: center;
    filter: brightness(85%);
  }
  
  .main-banner .right-content .right-first-image .thumb img {
    width: 100%;
    overflow: hidden;
  }
 
  .main-banner .right-content .right-first-image .thumb .hover-content {
    position: absolute;
    top: 15px;
    right: 15px;
    left: 15px;
    bottom: 15px;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s;
  }
  
  .main-banner .right-content .right-first-image .thumb:hover .hover-content {
      opacity: 1;
      visibility: visible;
    }

  .main-banner .right-content .right-first-image .thumb .hover-content .inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
  }
  
  .main-banner .right-content .right-first-image .thumb .hover-content h4 {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
  }
  

@media (min-width: 992px) {
    .navbar {
        padding-top: 20px;
        padding-right: 90px;
    }
    .navbar-brand, .nav-link {
        padding-left: 60px;
        color: #727E77;
    }
    .nav-link {
        text-transform: uppercase;
        margin-right: 0px;
        font-family: 'Poppins', sans-serif;
    }
    .nav-link:hover::after,
    .nav-link.active::after {
        content: '';
        display: block;
        border-bottom: 3px solid #4F6458;
        margin: auto;
        margin-bottom: -8px;
        width: 50%;
        padding-top: 5px;
    }
}