@font-face {
    font-family: 'MyFont'; 
    src: url('./assets/fonts/Inter-VariableFont_slnt\,wght.ttf') format('truetype');    
  }



* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'MyFont';
}

html
     {
        padding: 30px 100px 30px 100px;
height: 100vh;
max-width: 100%;
    }

.menu {
    height: 100px;
    padding: 30px 80px 20px  150px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 150px;
    position: relative;
    overflow: hidden;
   width: 100%;
  
}

.main-container {
    margin: 30px 50px 100px 0px;
}

 #logo {
    align-self: center;
    justify-content: flex-start;
 }

 #categories {
    align-self: center;
    justify-content: flex-end;
    display: flex;
    position: relative;
 }

#categories a {
    margin: 15px;
    font-weight: 100;
    text-decoration: none;
    
}

a:visited {
    text-decoration: none;
    color: black;
}

a:link {
    text-decoration: none;
    color: grey;
}


#hamburger {
    display: none;
    background: transparent;
    border:none;

}

 #hamburger img {
    width: 40px;
    height: 30px;
    background-color: transparent;
 }

#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
    display: none; 
    backdrop-filter: blur(1px);
}


.close-button {
    background-color: transparent;
    display: block;
    position: fixed;
    right: 30px;
    width: 40px;
    top: 10px;
    color: black;
    border: none;
    font-size: 30px;
}

.newDiv {
    padding-top: 80px;
    background: white;
    height: 100%;
    width: 200px;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 2;
}

footer {
    position: fixed;
    bottom: 0;
    right: 150px;
}

.newDiv a {
    color: black;
    margin: 20px;
    font-weight: bolder;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
   height: 20px;
}

.container1 {
    display: flex;
    flex-direction: column;
    width: 800px;
    height: 450px;
    padding-left: 100px;;
}

.main-picture-container {

    background-image: url('./assets/images/image-web-3-desktop.jpg');
    background-size: cover;
    height: 250px; 
}

.content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 30px;
    gap: 40px;
}

.left-column {
    width: 45%;
    font-size: 21px;
    line-height: 1;
}

.right-column {
    width: 55%; 
    font-size: 14px;
    color: rgb(121, 119, 119);
    padding: 0px 10px 10px 10px;
}


#categories:hover {
    color: salmon;
    cursor: pointer;
}

h1, h4 {
    margin-bottom: 10px; 
}

#read-more {
    width: 120px;
    height: 35px;
    background-color:rgb(212, 81, 66);
    color: white;
    border:none;
    font-size: 11px;
    cursor: pointer;
    margin-top: 25px;
}

#read-more:hover {
    background-color: black;
}

/* DO NOT FORGET THE HOVERING CHANGING COLORS TO PEACH */


.other-main-container {
    display: flex;
    flex-direction: row;
    width: 1100px;
    gap: 30px;
    margin-left: 50px;
    margin-right: 50px; 
    
}
 .container2 {
    width: 380px;
    height: 420px;
    background-color: black;
    color: rgb(135, 150, 182);
    padding: 30px;
    font-size: 15px;
 }
.container2 h4 {
    cursor: pointer;
}

.container2 h4:hover {
    color: rgb(192, 133, 81);
}
 .container2 h2 {
    color: rgb(192, 133, 81);
    font-size: 25px;
    margin-bottom: 25px;
 }
.first-question {
    border-bottom: 1Px solid rgba(255, 255, 255, 0.315);
    margin-top: 10px;
    margin-bottom: 10px;
    padding-bottom: 20px;
}

.first-question h4  {
    color: white;
}

.second-question {
    border-bottom: 1Px solid rgba(255, 255, 255, 0.315);
    margin-top: 10px;
    margin-bottom: 10px;
    padding-bottom: 20px;
}

.second-question h4 {
    margin-top: 20px;
    color: white;
}

.third-question h4 {
    margin-top: 20px;
    margin-bottom: 10px;
    color: white;
}


.container3 {
    display: flex;
    flex-direction: row;
    gap: 40px;
    max-height: 200px;
    font-size: 14px;
    padding-left: 150px;
    padding-right: 25px;
    padding-top: 20px;
    color: rgb(94, 94, 94);    
  }
  
  .section {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
  }
  
  .section img {
    width: 80px; 
    margin-right: 20px;
    height: 100px;
  }
  
  .section .text {
    flex: 1;
  }
  
  .section h3 {
    margin-bottom: 5px;
  }
  
  .section h4 {
    margin-bottom: 10px;
  }

.container3 h4:hover {
    color:rgb(212, 81, 66);
    cursor: pointer;
}

.container3 h3 {
    font-size:25px;
    color: rgb(168, 168, 168);
}

.container3 h4 {
    color: black;
}



        /* MEDIA QUERIESSSSSSSSS */


 @media screen and (max-width: 650px) {

    html {
        margin: 0; 
        padding: 10px;
       
    }

 .main-container {
    margin: 0;
    padding: 50px;
    width: 100px;
 }
    #categories {
        display: none;
        
    }
.other-main-container {
 
    align-items: LEFT;
    justify-content:left;
}

    #hamburger {
        display: block;
        position: fixed;
        right: 70px;
        width: 40px;
        top: 30px;
    }

    #logo img {
        width: 30px;
        height: 20px;
       
        position: fixed;
        top: 30px;
      }

.content {
    flex-direction: column;
}

.main-picture-container {
    background-image: url('./assets/images/image-web-3-mobile.jpg');
    background-size: cover;
    width: 300px;
  }

  .other-main-container {
    display: flex;
    flex-direction: column;
  }
  
  .container1,
  .container2,
  .container3 {
    width: 60%; 
    margin-bottom: 20px; 
  }
  
  .container3 {
    order: 3; 
  }

  .container3 {
    flex-direction: column;
  }
  

}