*{
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}
body{
    padding-bottom: 30px;
}

header{
    background-image: linear-gradient(rgba(2, 10, 29, 0.6),rgba(2, 10, 29, 0.6)), url("./images/background.jpg");
    min-height: 50vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

nav img{
    width: 150px;
}

nav{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 80px;
}

#nav li{
    display: inline-block;
    margin: 10px;
    transition: 0.15s;
    padding: 5px;
    border-radius: 5px;
}

#nav a{
    color: white;
    font-size: 13px;
}

#nav li:hover{
    background-color: #f44336;
}

nav .fa{
    display: none;
}

.textbox{
    width:  80%;
    margin: auto;
    text-align: center;
    color: white;
    margin-top: 100px;
}

.textbox h3{
    font-size: 40px;
}

.flex{
    display: flex;
    width: 80%;
    margin: auto;
    gap: 30px;
    margin-top: 150px;
}

.text{
    flex-basis: 64%;
}

.text img{
    width: 100%;
}

.text h2{
    margin-top: 30px;
}

.text .pp{
    margin-top: 30px;
    color: #777;
}

.text .comment{
    margin-top: 50px;
    border: 1px solid #777;
    padding: 20px;
}

.comment h3{
    margin-bottom: 20px;
}

input{
    width: 100%;
    height: 50px;
    background-color: rgb(231, 221, 221);
    margin-bottom: 20px;
    border: none;
    outline: none;
    padding: 5px 10px;
}

textarea{
    width: 100%;
    background-color:  rgb(231, 221, 221);
    border: none;
    outline: none;
    padding: 5px 10px;
}

.text button{
    margin-top: 30px;
    background-color: transparent;
    color: #f44336;
    padding: 10px 30px;
    border:  1px solid #f44336;
    left: 0;
}

.post{
    flex-basis: 36%;
}

.post h3{
    background-color: #f44336;
    color: white;
    padding: 5px 10px;
    text-align: center;
    margin-bottom: 30px;
}

.post div{
    display: flex;
    justify-content: space-between;
    padding: 5px 10px;
    margin-top: 10px;
    color: rgb(78, 73, 73);
}

footer{
    width: 80%;
    margin: auto;
    text-align: center;
    margin-top: 150px;
}

footer div{
    margin-top: 20px;
    color: #f44336;
}

footer p{
    color: #777;
}

footer div .fa{
    margin: 0px 10px;
}
.ftext{
    margin-top: 30px;
}

.stext{
    margin-top: 20px;
}

.stext .fa{
    color: #f44336;
}

@media (max-width: 768px){
    body{
        overflow-x: hidden;
    }
    nav .fa{
        display: block;
        color: white;
        font-size: larger;
    }
    nav{
        padding: 5px 30px;
    }
    #nav{
        position: fixed;
        top: 0;
        right: -200px;
        padding: 10px 20px;
        background-color: #f44336;
        height: 100%;
        text-align: left;
        z-index: 30;
        transition: 1s;
    }
    #nav li{
        display: block
    }
    .textbox{
        margin-top: 200px;
    }
    .textbox h3{
        font-size: 20px;
    }
    .flex{
        flex-direction: column;
    }
}