@import url('https://fonts.googleapis.com/css2?family=Poppins&family=Ubuntu&display=swap');
*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}
html{
  scroll-behavior: smooth;
}
nav {
    background: white;
    height: 125px;
    width: 100%;
  }
  label img {
    height: 124px;
    position: relative;
    top: -3px;
    left: 14px;
  }
  label a.Home{
    background-color: transparent;
  }
  nav ul {
    float: right;
    margin-right: 20px;
  }
  nav ul li {
    display: inline-block;
    line-height: 122px;
    margin: 0 5px;
  }
  nav ul li a {
    color: black;
    font-size: 17px;
    padding: 7px 13px;
    border-radius: 3px;
    text-transform: uppercase;
    line-height: 10px;
    text-decoration: none;
  }
  a.active,
  a:hover {
    background: black;
    transition: 0.5s;
    color: white;
    border-radius: 9px;
  }
  .checkbtn {
    font-size: 30px;
    color: black;
    float: right;
    margin-right: 40px;
    cursor: pointer;
    top: 45px;
    position: relative;
    display: none;
  }
  #check {
    display: none;
  }
  section {
    background: url(bg1.jpg) no-repeat;
    /* background-size: cover; */
    /* height: calc(100vh - 80px); */
  }
  .background {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: start;
    padding: 80px 32px 0px 32px;
}
  
  .articles {
    display: flex;
    flex-wrap: wrap;
    margin: 0 auto;
    justify-content: center;
    max-width: 1200px;
    gap: 24px;
  }
  
  .articles article {
    max-width: 320px;
    /* cursor: pointer; */
    position: relative;
    display: block;
    transition: all 0.4s ease-in-out;
    overflow: hidden;
    border-radius: 16px;
  }
  
  .articles article a {
    display: inline-flex;
    color: var(--primary);
    text-decoration: none;
    color: red;
  }
  .articles article a {
    background-color: transparent;
  }
  .articles article h2 {
    margin: 0 0 18px 0;
    font-size: 1.6rem;
    color: black;
    transition: color 0.3s ease-out;
  }
  
  .articles article img {
    max-width: 100%;
    transform-origin: center;
    transition: transform 0.4s ease-in-out;
    cursor: pointer;
  }
  
  .article-preview {
    padding: 24px;
    background: rgb(255, 255, 255);
  }
  
  .articles figure {
    width: 100%;
    height: 200px;
    overflow: hidden;
  }
  
  .articles figure img {
    height: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    object-fit: cover;
  }
  
  .articles article:hover img {
    transform: scale(1.5);
  }
footer{
    position: relative;
    top: 180px;
}
footer .container{
    background-color: white;
    position: relative;
}
.container img{
  margin: 0px 60px 0px 60px;
  position: absolute;
  top: -46px;
  right: 0;
  height: 236px;
  display: block;
}
.row{
    display: flex;
    padding: 0px 100px 40px;
    gap: 149px;
}
.row2 {
  display: flex;
  padding: 40px 20px;
  justify-content: space-between;
  text-align: center;
  margin: 0px 20px 0px 20px;
}
.footer-col ul{
    list-style: none;
}

.footer-col h4{
    color: black;
    margin-bottom: 25px;
    font-size: 22px;
    position: relative;
    font-family: 'Ubuntu', sans-serif;
}

.footer-col h4::before{
    content: '';
    width: 70px;
    height: 2px;
    position: absolute;
    background-color: black;
    bottom: -10px;
}

.footer-col ul li{
    padding: 10px 0;
}
.footer-col ul li a{
    color: black;
    text-decoration: none;
    font-size: 14px;
    opacity: 0.7;
    transition: 0.5s;
}
.footer-col ul li a:hover{
    opacity: 1;
    color: black;
    background: transparent;
}
.footer-col ul i{
  display: inline-block;
  scale: 1.44;
  color: black;
 position: relative;
 margin: 10px 7px 15px 7px;
 cursor: pointer;
}
.footer-col ul a.instagram,a.facebook,a.linkedin{
  background-color: transparent;
}
.col p{
    color: black;
}
.row hr{
    opacity: 0.7;
}

@media (max-width: 600px){
    footer .row{
        flex-direction: column;
        padding: 20px 30px;
    }

    footer .footer-col ul{
        /* margin-left: 20px; */
        margin-bottom: 20px;
    }
    .footer-col ul i{
      margin: 10px 7px 15px 7px;
    }
}
@media (max-width: 952px) {
    label img {
      height: 124px;
      position: relative;
      top: -3px;
    }
    nav ul li a {
      font-size: 16px;
    }
  }
  @media (max-width: 858px) {
    .checkbtn {
      display: block;
    }
    nav ul {
      position: fixed;
      width: 100%;
      height: 100vh;
      background: #2c3e50;
      top: 125px;
      left: -100%;
      text-align: center;
      transition: all 0.5s;
      z-index: 999;
    }
    nav ul li {
      display: block;
      margin: 50px 0;
      line-height: 30px;
    }
    nav ul li a {
      color: white;
      font-size: 20px;
      position: relative;
      top: 39px;
    }
    a:hover,
    a.active {
      background: none;
      color: #0082e6;
    }
    #check:checked ~ ul {
      left: 0;
    }
    .footer-col ul i{
    margin: 10px 7px 35px 7px;
    }
    footer .footer-col{
      margin-bottom: -27px;
    margin-top: -76px;
    }
  footer .container .row {
    flex-direction: column;
    padding: 20px 30px;
  }
  .col p {
    color: black;
    margin-bottom: 21px;
    font-size: 13px;
  }
  .col2 p{
    font-size: 10px;
  }
  .row2{
    display: block;
  }
}
@media (max-width:1206px) {
.container img{
  display: none;
  visibility: hidden;
}
.row{
  justify-content: center;
}
}