* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    font-family: "Poppins", sans-serif;
        --color1: #FFF;
        --color2: #181818;
        
}
.nav-bar {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    position: relative;
    background-color: var(--color2);
    padding: 12px 20px;
}
.logo img {
    width: 50px;
    border-radius: 50px;
}
.menu {display: flex;}
.menu li {padding-left: 30px;}
.menu li a {
    display: inline-block;
    text-decoration: none;
    color: var(--color1);
    text-align: center;
    transition: 0.15s ease-in-out;
    position: relative;
    text-transform: uppercase;
}
.menu li a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color1);
    transition: 0.15s ease-in-out;
}
.menu li a:hover:after {width: 100%;}
.open-menu , .close-menu {
    position: absolute;
    color: var(--color1);
    cursor: pointer;
    font-size: 1.5rem;
    display: none;
}
.open-menu {
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}
.close-menu {
    top: 20px;
    right: 20px;
}
#check {display: none;}

/* section 3 */
.sec3{
    height: 430px;
}
.sec3::before{ 
    content: "";
    position: absolute;
    background: url('../img/covthree.png') no-repeat center center/cover;
    height: 430px;
    top:0px;
    left:0px;
    width: 100%;
    z-index: -1;
    opacity:0.9;
}
/* SECTION 2 */
.sec2{
    display: flex;
    flex-direction: column;
    margin: 20px 200px;
}
.sec2 h3{
    color: rgb(192, 5, 5);
    font-size: 40px;
    margin: 35px auto;
    text-align: center;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif ;
}
.sec2 p{
    text-align: center;
    font-size: 20px;
}
/* FOOTER */
.foot{
    margin-top: 120px;
    display:flex;
    width:100%;
    background-color:black;
    height: 400px;
    padding:65px 196px;
}
.foot div{
    text-align: center;
    color:white;
}
.col2{
    flex-grow: 2;
}
.foot div h3{
    font-weight: 300;
    margin-bottom: 30px;
    letter-spacing: 1;
}
.fa-brands{
    font-size: 30px;
    padding: 5px;
    cursor: pointer;
}
.col1 a{
    display: block;
    text-decoration: none;
    margin-bottom: 10px;
    color: aliceblue;
}
form input{
    width:400px;
    height:40px;
    border-radius: 4px;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
    outline: none;
    border: none;
}
form button{
     background: transparent;
     border:2px solid #524444;
     border-radius: 30px;
     padding: 10px 30px;
     color: white;
     cursor: pointer;
}

@media only screen and (max-width:1170px){
    .menu {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 80%;
        height: 100vh;
        position: fixed;
        top: 0;
        right: -100%;
        z-index: 100;
        background-color: var(--color2);
        transition: all 0.2s ease-in-out;
    }

    .menu li {
        margin-top: 30px;
    }

    .menu li a {
        padding: 8px;
    }

    .open-menu,
    .close-menu {
        display: block;
    }

    #check:checked~.menu {
        right: 0;
    }
    .sec2{
        margin: 52px 42px;
    }
    .sec2 h3{
        font-size: 37px;
    }
    .sec2 p{
        font-size: 16px;
    }
    .foot{
      display: flex;
      flex-direction: column;
      padding: 65px 25px;
      height: auto;
  }
  .foot div{
      margin-bottom: 20px;
  }
  .foot div h3{
      margin-bottom: 4px;
  }
  form input{
      width: 80%;
      margin: 10px;
  }
  }
