*{
    padding: 0;
    margin: 0;
    font-family: 'Josefin Sans', sans-serif;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

html{
    scroll-behavior: smooth;
}

body{
    background: #080808;
    color: #fff;
}

#header{
    width: 100%;
    height: 100vh;
    background-image: url(../images/background-image.jpg);
    background-size: cover;
    background-position: center;
}
.container{
    padding: 10px 10%;
}

nav{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding-top: 45px;
}

.logo{
    color: white;
    font-size: 35px;
    letter-spacing: 1px;
    cursor: pointer;
}

span{
    color: #f9004d;
}

nav ul li{
    list-style-type: none;
    display: inline-block;
    margin: 10px 25px;
}

nav ul li a{
    color: white;
    text-decoration: none;
    font-size: 18px;
    position: relative;
}

nav ul li a:hover{
    color: #f9004d;
    transition:  .4s;
}

.header-text{
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
}

.fade-in {
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.fade-in.appear {
    opacity: 1;
}


h1{
    color: white;
    margin: 20px 0px 20px;
    font-size: 75px;
}

h3{
    color:white;
    font-size: 25px;
    margin-bottom: 50px;
}

h4{
    color: #fcfc;
    letter-spacing: 2px;
    font-size: 20px;
}

/*-- Abou sec -- */
#about{
    width: 100%;
    padding: 100px 0px;
    background-color: #080808;
}
  

#about img{
    background-color: #1c1d24;
    height: 400px;
    width: 430px;
    border-radius: 10px;
}

.about-text{
    width: 550px;
}

.main{
    width: 1130px;
    max-width: 95%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.about-text h2{
    color: white;
    font-size:50px;
    text-transform: capitalize;
    margin-bottom: 20px;
}

.about-text h5{
    color: white;
    letter-spacing: 2px;
    font-size: 22px;
    margin-bottom: 25px;
    text-transform: capitalize;
}

.about-text p{
    color: #fcfc;
    letter-spacing: 1px;
    line-height: 28px;
    font-size: 18px;
    margin-bottom: 45px;
}

button{
    background-color: #f9004d;
    color: white;
    text-decoration: none;
    border: 2px solid transparent;
    font-weight: bold;
    padding: 13px 30px;
    border-radius: 30px;
    transition: .4s;
}

button:hover{
    background-color: transparent;
    border: 2px solid #f9004d;
    cursor: pointer;
}

/* -- Interests sec -- */
#interests{
    padding: 30px 0;
    background-color: #131419;
}

.sub-title{
    color: white;
    font-size: 50px;
    width: 90%;
    margin: 30px auto;
    text-align: center; 
    word-wrap: break-word;
}

.interests-list{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 40px;
    margin-top: 50px;
    text-align: center;
}

.interests-list div{
    background: #1c1d24;
    padding: 40px;
    font-size: 13px;
    font-weight: 300;
    border-radius: 10px;
}

.interests-list div i{
    font-size: 50px;
    display: block;
    text-align: center;
    margin: 25px 0px;
    color: #f9004d;
}

.interests-list div h2{
    color: white;
    font-size: 30px;
    font-weight: 500;
    margin-bottom: 15px;
}

.interests-list div p{
    color: #fcfc;
    font-size: 16px;
    line-height: 27px;
    margin-bottom: 25px;
}

/* -- Contact sec -- */
.contact-left{
    flex-basis: 35%;
}

.contact-left h1{
    font-size: 50px;
}

.contact-right{
    flex-basis: 60%;
}

.contact-left p{
    margin-top: 30px;
}

.contact-left p i{
    color: #f9004d;
    margin-right: 15px;
    font-size: 25px;
}

.social-icons{
    margin-top: 30px;
}

.social-icons a{
    text-decoration: none;
    font-size: 30px;
    margin-right: 15px;
    color: #ababab;
    display: inline-block;
    transition: transform(0.5s);
}

.social-icons a:hover{
    color: #f9004d;
    transition: translateY(-5px);
}

.btn .btn2{
    display: inline-block;
    background: #f9004d;
}

.contact-right form{
    width: 100%;
}

form input, form textarea{
    width: 100%;
    border: 0;
    outline: none;
    background: #1c1d24;
    padding: 15px;
    margin: 15px 0;
    color: #fff;
    font-size: 18px;
    border-radius: 6px;
}

.row{
    display: flex;
    justify-content: space-between;
}

.copyright{
    width: 100%;
    text-align: center;
    padding: 25px 0;
    font-weight: 300;
    margin-top: 20px;
    font-weight: bolder;
}

/* -- For small screens -- */
nav .fa-solid{
    display: none;
}

@media only screen and (max-width: 600px){
    #header{
        background-image: url(../images/background-image.jpg);
    }

    .header-text{
        font-size: 16px;
    }

    .header-text h1{
        font-size: 30px;
    }

    nav .fa-solid{
        display: block;
        font-size: 25px;
    }

    nav ul{
        background: #191919;
        position: fixed;
        top: 0;
        right: -200px;
        width: 200px;
        height: 100vh;
        padding-top: 50px;
        z-index: 2;
        transition: right 0.5s;
    }

    nav ul li{
        display: block;
        margin: 25px;
    }

    nav ul .fa-solid{
        position: absolute;
        top: 25px;
        left: 25px;
        cursor: pointer;
    }

    .skills-list img {
        width: 10%;
        height: auto;
      }

    .contact-left p{
        word-wrap: break-word;
    }

    .main {
        flex-direction: column;
        text-align: center;
    }
    
    #about img {
            width: 80%;
            margin: 20px auto;
        }
    
    .about-text {
            width: 80%;
            text-align: center;
            margin: 20px auto;
        }
    
    .about-text h2 {
            font-size: 50px;
        }
    
    .about-text h5 {
            font-size: 18px;
        }
    
    .about-text p {
            font-size: 14px;
        }
    
    .container h1{
            font-size: 50px;
        }

    .container {
            padding: 15px 20px;
    }

    .row {
        flex-direction: column;
    }

    .contact-left, .contact-right {
        flex: none;
        width: auto;
    }
}


#msg{
    color:#fff;
    margin-top: 10px;
    display: none;
}