@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800&display=swap');
*{
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}

.header{
    width: 100%;
    min-height: 100vh;
    background: black;
    color: white;
    background-position: center;
    background-size: cover;
    position: relative; 
}

nav{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2% 2%;
}
nav img{
    width: 85px;
}
.link{
    flex: 1;
    text-align: right;
}
.link ul li{
    list-style: none;
    display: inline-block;
    position: relative;
    padding: 8px 12px;
}
.link ul li a{
    color:white;
    text-decoration: none;
    font-size: 24px;
}
.link ul li::after{
    contain:'';
    width: 0%;
    height:2px;
    background: red;
    display: block;
    margin: auto;
    transition: 0.2s;
}
.link ul li:hover::after{
    width: 100%;
}

.textbox{
    width: 80%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
}

.textbox h1{
    font-size: 50px;
}

.textbox p{
    font-size: 15px;
}

.notes-btn{
 display: inline-block;
 text-decoration: none;
 color:white;
 border: 1px solid white;
 padding: 5px 15px;
 font-size: 15px;
 background: transparent;
 position: relative;
 cursor: pointer;
}

.notes-btn:hover{
    border: 1px solid gray;
    background: gray;
    transition: 1s;
   }

 nav .fa{
    display: none;
 }
@media(max-width: 700px){
     .textbox h1{
      font-size: 50px;
}
    .link ul li{
        display: block;
    }
    .link{
        background: gray;
        position: fixed;
        right: -200px;
        top: 0;
        height: 100vh;
        width: 200px;
        text-align: left; 
        z-index: 2;
        transition: 0.5s; 
    }
    nav .fa{
        display: block;
        font-size: 25px;
        cursor: pointer;
        color: white;
        margin: 10px;
     }
}
@media(max-width:700px){
    .row{
        flex-direction: column;
    }
}
