*{
    margin: 0;
    padding: 0;
    font-family: "Mulish", sans-serif;
    box-sizing: border-box;
}

html{
    scroll-behavior: smooth;
}

body{
    /* background-color: #000000;   */
    /* background-color: #222631; */
    background-color: #080e20;
    color: #ffffff;
}
/*------------------------------------- Hero Section ----------------------------------------------------------*/
#header{
    width: 100%;
    height: 100vh;
    background-image: url(./assets/header.jpg);
    background-size: cover;
    background-position: center;
}

.role{
    font-family: "Science Gothic", sans-serif;
    font-weight: 250;
}

.container{
    padding: 10px 10%;
}

nav{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.logo{
    width: 140px;
}

nav ul li{
    display: inline-block;
    list-style: none;
    margin: 10px 20px;
}

nav ul li a{
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    position: relative;
}

nav ul li a::after{
    content: '';
    width: 0%;
    height: 3px;
    background: #ed1c24;
    position: absolute;
    left: 0;
    bottom: -6px;
    transition: 0.3s;
}

nav ul li a:hover::after{
    width: 100%;
}

.header-text{
    margin-top: 10%;
    font-size: 30px;
}

.header-text h1{
    font-size: 60px;
    margin-top: 20px;
    margin-bottom: 12px;
}

.header-text h5{
    font-size: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.header-text h1 span{
    color: #ed1c24;
    font-weight: bolder; 
}

.menu{
    width: 15px;
    /* align-content: center;
    position: relative; */
}

/*------------------------------------- About Me Section ----------------------------------------------------------*/
#about{
    padding: 80px 0;
    color: #ababab;
}

.row{
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.about-col-1{
    flex-basis: 35%;
}

.about-col-1 img{
    width: 100%;
    border-radius: 15px;
}

.about-col-2{
    flex-basis: 60%;
}

.title{
    font-size: 60px;
    font-weight: bolder;
    color: #ffffff;
}

.title span{
    color: #ed1c24;
    font-weight: bolder;
}

.tab-titles{
    display: flex;
    margin: 20px 0 40px;
}

.tab-links{
    margin-right: 50px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
}

.tab-links::after{
    content: '';
    width: 0;
    height: 3px;
    background: #ed1c24;
    position: absolute;
    left: 0;
    bottom: -8px;
    transition: 0.3s;
}

.tab-links.active-link::after{
    width: 50%;
}

.tab-contents ul li{
    list-style: none;
    margin: 10px 0;
}

.tab-contents ul li span{
    color: #ed1c24;
    font-weight: bold;
    font-size: 16px;
}

.tab-contents ul li a{
    color: #ffffff;
    font-weight: bolder;
    text-decoration: none;
}

.tab-contents{
    display: none;
}

.tab-contents.active-tab{
    display: block;
}

.bio{
    text-align: justify;
    font-size: 16px;
}

.bio a{
    color: #ffffff;
    text-decoration: none;
    font-weight: bolder;
}

/*------------------------------------- Services Section ----------------------------------------------------------*/
#services{
    padding: 20px 0;
}

.services-list{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 30px;
    margin-top: 30px;
}

.services-list div{
    background: #2d3346;
    padding: 25px;
    font-size: 13px;
    font-weight: 300;
    border-radius: 10px;
    transition: background 0.4s, transform 0.4s;
}

.services-list div img{
    /* height: 30px; */
    margin-right: 10px;
    margin-bottom: 10px;
}

.graphics img{
    height: 30px;
}

.managing img{
    height: 25px;
}

.marketing img{
    height: 30px;
}

.web-dev img{
    height: 30px;
}

.services-list div h2{
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 15px;
}

.services-list div p{
    font-size: 16px;
    text-align: left;
}

.services-list div a{
    text-decoration: none;
    color: #ffffff;
    font-size: 16px;
    margin-top: 20px;
    display: inline-block;
    font-weight: bold;
}

.services-list a{
    display: block;
    margin: 5px auto;
    width: fit-content;
    border: 1px solid #ffffff;
    border-radius: 6px;
    text-decoration: none;
    color: #ffffff;
    padding: 14px 30px;
}

.services-list div:hover{
    background: #ed1c24;
    transform: translateY(-10px);
}

/*------------------------------------- Works Section ----------------------------------------------------------*/
#portfolio{
    padding: 20px 0;
}

.work-list{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 30px;
    margin-top: 30px;
}

.work{
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.work img{
    width: 100%;
    border-radius: 10px;
    display: block;
    transition: transform 0.3s;
}

.layer{
    width: 100%;
    height: 0%;
    background: linear-gradient(rgba(0,0,0,0.6), #ed1c24);
    border-radius: 10px;
    position: absolute;
    left: 0;
    bottom: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 40px;
    text-align: center;
    font-size: 15px;
    transition: height 0.3s;
}

.layer img{
    width: 40px;
    margin-top: 20px;
    border-radius: 50%;
}

.layer h3{
    font-weight: bold;
    font-size: 25px;
    margin-bottom: 20px;
    margin-top: 50px;
}

.work:hover img{
    transform: scale(1.05);
}

.work:hover .layer{
    height: 100%;
}

.btn{
    display: block;
    margin: 0px auto;
    margin-top: 30px;
    width: fit-content;
    border: 1px solid #ed1c24;
    border-radius: 6px;
    text-decoration: none;
    color: #ffffff;
    padding: 14px 50px;
    transition: background  0.5s;
}

.btn:hover{
    background: #ed1c24;
}

/*------------------------------------- Contact Section ----------------------------------------------------------*/
.contact-left img{
    height: 25px;
}

.contact-left.personal{
    display: flex;
}

.social-icons img{
    height: 30px;
    margin: 20px 5px
}

.contact-left{
    flex-basis: 35%;
    /* align-items: center; */
}

.contact-right{
    flex-basis: 60%;
}

.contact-left p{
    margin-top: 30px;
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: bold;
}

.contact-left p img{
    margin-right: 10px;
    display: inline-block;
}

.social-icons img{
    transition: transform 0.3s;
}

.social-icons img:hover{
    transform: translateY(-5px);
}

.btn.btn2{
    display: inline-block;
    border: 1px solid #ed1c24;
    background: #ed1c24;
    transition: background 0.5s;
    font-size: 16px;


}

.btn.btn2:hover{
    background: none;
}

.contact-right form{
    width: 100%;
}

form input, form textarea{
    width: 100%;
    border: 0;
    outline: none;
    background: #2d3346;
    padding: 15px;
    margin-top: 15px;
    color: #ffffff;
    font-size: 18px;
    border-radius: 6px;
}

form .btn2{
    padding: 14px, 60px;
    cursor: pointer;
    margin-top: 20px;
}

/*------------------------------------- Copy Right ----------------------------------------------------------*/

.copyright{
    width: 100%;
    text-align: center;
    padding: 25px;
    background: #2d3346;
    font-weight: 600;
    margin-top: 20px;
}

/*-------------------------------------  Text Changer ----------------------------------------------------------*/

/* .profession{
    height: 40px;
    padding: 10px;
    border-radius: 8px;
    display: flex;
    box-sizing: content-box;
}

.role{
    overflow: hidden;
    position: relative;
    display: block;
    height: 100%;
    color: #ed1c24;
    animation: role-change 4s infinite;
} */

/*-------------------------------------  Media Query ----------------------------------------------------------*/
nav .menu{
    display: none;
}

@media only screen and (max-width: 600px){
    
    #header{
        background-image: url(./assets/phoneheader.jpg);
    }

    .header-text{
        margin-top: 230px;
        font-size: 16px;
        font-weight: bold;
        /* margin-bottom: 10px; */
    }

    .header-text h1{
        margin-top: 10px;
        font-size: 30px;
    }

    nav .menu{
        display: block;
        width: 20px;
    }

    nav ul{
        background: #ed1c24;
        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 .menu{
        position: absolute;
        top: 25px;
        left: 25px;
        cursor: pointer;
    }

    .title{
        font-size: 40px;
    }

    /* .bio{
        font-size: 15px;
    } */

    .about-col-1, .about-col-2{
        flex-basis: 100%;
    }

    .about-col-1{
        margin-bottom:30px;
    }

    .about-col-2{
        font-size: 14px;
    }

    .tab-links{
        font-size: 16px;
        margin-right: 20px;
    }

    .contact-left, .contact-right{
        flex-basis: 100%;
    }

    .copyright{
        font-size: 14px;
    }

    

    
}
