 @import url('https://fonts.googleapis.com/css2?family=Cormorant:ital,wght@0,300..700;1,300..700&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

*{
    font-family: "Open Sans" !important;
}


body {
    color: #666;
    font-family: "Source Sans Pro", "Helvetica", "Arial", sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.4;
  }
  
  a {
    text-decoration: none;
    transition: all 0.3s cubic-bezier(.25, .8, .25, 1);
  }
  
  div, h2, p, figure {
    margin: 0;
    padding: 0;
  }
  

header{
    background-color: #1D2F30;
    max-width: 1440px;
    margin: 0 auto;
    padding: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

nav{
    display: flex;
    gap: 50px;
}

nav a{
    color: white;
    text-decoration: none;
    font-size: 24px;
    line-height: 1.5;
    
}

nav a:hover{
    color: #BAE249;
}

nav a:focus{
    outline: 2px solid #83A440;
}

.header-btns{
    display: flex;
    margin: 0 30px;
    gap: 10px;
}

.header-btns h3{
    font-family: "Open Sans" !important;
    color: #BAE249;
    font-size: 20px;
}
      
.main {
    margin: 0 auto;
    max-width: 1440px;
    padding: 10px;
  }
  
  .column {
    flex: 1;
    flex-direction: column;
  }

    
  .article {
    background: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    color: #1D2F30;
    display: flex;
    flex: 1;
    flex-direction: column;
    flex-basis: auto;
    margin: 10px;
  }
  
  .article:hover,
  .article:focus {
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
    color: #444;
  }
  
  .fig{
    display: flex;
    flex-wrap: wrap;
  }
  .article-image1 {
    background: #eee;
    display: block;
    /* padding-top: 75%; */
    /* padding-top: 35%; */
    position: relative;
    /* width: 100%; */
    width: 50%;
  }
  .article-image {
    background: #eee;
    display: block;
    padding-top: 75%;
    /* padding-top: 35%; */
    position: relative;
    width: 100%;
    /* width: 50%; */
  }
  
  .article-image img {
    display: block;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
  }
  
  .article-image.is-3by2 {
    padding-top: 66.6666%;
  }
  
  .article-image.is-15by9 {
    padding-top: 75%;
    
  }

  .article-image.is-16by9 {
    padding-top: 60%;
    
 }

 .article-image.is-16by9 img{
  object-fit: cover;
 }
  
  .article-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 20px;
  }
  
  .article-title {
    color: #333;
    flex-shrink: 0;
    font-size: 1.4em;
      font-weight: 700;
    line-height: 1.2;
  }
  
  .article-content {
    flex: 1;
    margin-top: 10px;
  }

  .article-content1 {
    flex: 1;
    margin-top: 30px;
    font-size: 20px;
    color: brown;
    text-align: center;
    justify-content: center;
    
  }
  .article-info {
    display: flex;
    font-size: 0.85em;
    justify-content: space-between;
    margin-top: 10px;
  }
  
 
  .burger-btn{
    background: none;
    border: none;
    cursor: pointer;
    display: none;
  }
  
    
  
  

  @media screen and (min-width: 800px) {
    .columns,
    .column {
      display: flex;
    }
  }
  
  @media screen and (max-width: 850px){
  header .logo{
      display: none;
  }

  nav{
      
      padding: 24px 24px;
      position: absolute;
      background: rgba(1, 38, 39, 0.925);
      flex-direction: column;
      gap: 13px;
      top: 0;
      left: 0;
      transition: 1s;
      transform: scale(0);
      transform-origin: left top;
      box-shadow: 4px 4px 8px rgba(0, 0, 0, .25);
      
  }

  nav a{
      font-size: 14px;
  }

  .burger-btn{
      display: block;
  }
  }
  
  @media screen and (min-width: 1000px) {
    .first-article {
      flex-direction: row;
    }
  
    .first-article .article-body {
      flex: 1;
    }
  
    .first-article .article-image {
      height: 300px;
      order: 2;
      padding-top: 0;
      width: 400px;
    }
  
    .main-column {
      flex: 3;
    }
  
    .nested-column {
      flex: 2;
    }
  }

