 @import url('https://fonts.googleapis.com/css2?family=Edu+TAS+Beginner:wght@500&family=Poppins:wght@500&display=swap');
 @import url('https://fonts.googleapis.com/css2?family=Averia+Serif+Libre:ital@1&display=swap');
*{
    margin:0;
    padding: 0;
    box-sizing: border-box;
}
body{
    font-family: 'Edu TAS Beginner', cursive;
    font-family: 'Poppins', sans-serif;
}
.container{
    /* width:100%; */
    height:100vh;
    background-image: url("./photo-1484627147104-f5197bcd6651.jpeg");
    background-size:cover;
    background-position: 0% 40%;
    position: relative;
}

nav{
    background-color: transparent;
    width:100%;
    height:80px;
}
nav h1{
    display: inline-block;
    color:black;
    padding:10px;
    font-size: 30px;
    /* margin-top:10px; */
    margin-left:20px;
    line-height:60px;

}
nav ul{
    font-family: 'Poppins', sans-serif;
    float: right;
    font-size:25px;
    /* padding:10px; */
    font-weight:550;
    margin-top:10px;
    
    
}
nav ul li{
    display: inline-block;
    padding:10px 15px;

}
 .checkbox i{
    line-height:50px;
}
.fa-bars{
    font-size:30px;
    float:right;
    padding:10px;
    margin-right:10px;
    visibility: hidden;
}
.closebar{
    float: right;
    margin:15px;
    padding:5px;
    visibility: hidden;
}
#check{
    display:none;
}
.header h2{
    display: inline;
    padding:8px 15px;
    /* row-gap:20; */
}
 li:hover{
    background-color:bisque;
    /* border:2px solid black; */
    cursor: pointer;
}
.text h1{
    font-size:60px;
    font-weight: bolder;
    padding:5px 0px;
}
.text h2{
    font-size:25px;
    padding:0px 0px 30px 0px;
}
.text span{
    font-size: medium;
    font-weight:600;
}
.text{
    position:absolute;
    top:40%;
    left:7%;
    text-align:left;
    display: inline-block;
    z-index:1;   
}
.text button{
    margin-top:30px;
    border: none;
    background-color: #370511;
    border-radius:50px;
    font-weight: 700;
    color: white;
    font-size: larger;
    padding:20px;
    cursor: pointer;
}

.text2 h1{
    margin-top:60px;
}
.text2{
    text-align: center;
    margin-top:10px;
}
.box1{
    min-height:500px;
    width:300px;
    text-align: center;
    padding:5px;
    line-height:25px;
    /* max-height:550px ; */
    margin-bottom:25px;
}
.box1 img{
    width:100%;
    height:250px;
    object-fit: cover;
    border-top-right-radius:8px;
    border-top-left-radius:8px;
}
.box1 h2{
    display: inline-block;
    margin:15px 0px 15px 0px;
}
.box1 p{
    font-size: small;
    /* text-align: justify; */
}
.box1 button{
    padding:12px;
    border:none;
    border:2px solid black;
    border-radius:50px;
    font-weight: bold;
    font-size: 16px;
    margin-top:15px;
    line-height: 1.15;
    background-color: transparent;
    cursor: pointer;
}
.commonbox{
    display: grid;
    grid-template-columns:auto auto auto;
    justify-content:space-between;
    padding:60px;
}
.footer{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    width:100%;
    padding: 40px;
    background-color: black;
    color: white;
    font-size: 14px;
    font-weight:unset;
    text-align: center;
    text-wrap: wrap;
}
.footerlogo{
    font-size: x-large;
}
.footer .footernav{
    line-height:30px;
    font-size: 14px;
    text-align: left;
    line-height:40px;
    /* padding-top:10px; */
}

.footer .info{
 display: inline-block;
 text-align: center;
 line-height:40px;
 font-size: 14px;
 font-weight:unset;
 text-align: left;
}
.copyrights{
    font-family: "Averia Serif Libre", serif;
    font-weight: 400;
    font-style: italic;
    text-align: center;
    color: rgba(255, 255, 255, 0.925);
    padding:10px;
    background-color: rgba(0, 0, 0, 0.932);
}
.fa-brands{
      font-size:25px;
      padding:5px;
      margin:5px;
      cursor: pointer;
}
.slash{
    visibility: hidden;
    font-size:30px;
    float:right;
    padding:10px;
    margin-right:30px;
}


/* At media query */



@media screen and (min-width:250px) and (max-width:479px) {
    .text{
        top:18%
    }
    .closebar{
        visibility:visible;
        color: white;
    }
 
    .fa-bars{
        visibility:visible;
        z-index: 5000;
    }
    nav ul{
        margin-top:0;
        position:fixed;
        z-index:20;
        width:100%;
        height:100%;
        background-color: rgba(0, 0, 0, 0.808);
        backdrop-filter: blur(20px);
        top:0;
        left:-100%;
        text-align: center;
        transition: all 1s;
    }
    nav ul li{
        display:block;
        color: white;
        font-size:25px;
        padding:10px;
        line-height:40px;
        margin-top:30px;
        text-align: center;
    }
    nav ul li:nth-child(2){
        margin-top:70px;
    }
    li:hover{
        background-color:unset;
        color:crimson;
    }

    #check:checked ~ ul{
        left:0;
        transition: all 1s;
    }  
    .commonbox{
        grid-template-columns: auto;
        justify-content: center;
        align-items: center;
        padding:5px;
    }
    .container{
        min-height: 100vh;
    }
    .footer{
        flex-direction: column;

    }
    .footer h1, .footer h3{
        text-align: center;
       
    }
    .footer h1{
        font-size: large;
    }
    .text h1{
        font-size:50px;
    }
}


@media screen and (min-width:480px) and (max-width:800px) {
    .closebar{
        visibility:visible;
        color: white;
    }
 
    .fa-bars{
        visibility:visible;
        z-index: 5000;
    }
    nav ul{
        margin-top:0;
        position:fixed;
        z-index:20;
        width:100%;
        height:100%;
        background-color: rgba(0, 0, 0, 0.808);
        backdrop-filter: blur(20px);
        top:0;
        left:-100%;
        text-align: center;
        transition: all 1s;
    }
    nav ul li{
        display:block;
        color: white;
        font-size:25px;
        padding:10px;
        line-height:40px;
        margin-top:30px;
        text-align: center;
    }
    nav ul li:nth-child(2){
        margin-top:70px;
    }
    li:hover{
        background-color:unset;
        color:crimson;
    }

    #check:checked ~ ul{
        left:0;
        transition: all 1s;
    }  
   
    .commonbox{
        grid-template-columns: auto;
        justify-content: center;
        align-items: center;
        padding:5px;
    }
    .footer{
        flex-direction: column;

    }
    .footer h1, .footer h3{
        text-align: center;
       
    }
    .footer h1{
        font-size: large;
    }
    .text h1{
        font-size:50px;
    }
    .container{
        min-height: 100vh;
    }
    
}
@media screen and (min-width:801px) and (max-width:1000px){
    .commonbox{
        grid-template-columns: auto auto;
        justify-content: space-evenly;
        align-items: center;
        padding:5px;
    }
    .footer{
        flex-direction: column;

    }
    .footer h1, .footer h3{
        text-align: center;
       
    }
    .footer h1{
        font-size: large;
    }
    .text h1{
        font-size:50px;
    }
    .box1 p{
        max-height:175px;
        overflow-y: scroll;
        
    }
    .footer{
        flex-direction: row;
    }
    
}