body{
    background: #080808;
    color: #fff;
    margin: 0;
    padding: 0;
}

#header{
    width: 100%;
    height: 100vh;
    background-image: url(./Images/bg.jpg);
    background-size:cover;
    background-position:center;
    position: relative;
    margin-top: -60px;
}
.header-text{
    text-shadow: 2px 2px 4px #575454;
    justify-content: space-around;
}
.header-text.buttondiv{
    padding: 10px;
}
nav p{
    font-size: 25px;
    margin-bottom:  100px;
    /* border-bottom: 30px; */
    /* margin-top: -80px; */
    margin-left: -30px;
    align-items: flex-start;
}
nav p span{
    color: #ff004f;
    font-size: 35px;
}
.container{
    padding: 10px 10%;

}
.container-wide{
    width: 100%;
    padding: 0 6%;
}

.homepage-icons{
    color: white;
}
nav{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
    flex-wrap: wrap;
    /* margin-top: -500px; */
}
#front{
    width: 100%;
    height: 100vh;
    /* background-image: url(./images/main-bcg.jpeg);
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6));
    background-size: cover;
    background-position:center; */
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url("./images/main-bcg.jpeg") center/cover no-repeat fixed;
    /* position: absolute; */
}

#hide i{
    color: #ffffff;
    /* background-color: #000000; */
    cursor: pointer;
    padding: 10px;
    font-size: larger;
    position: fixed;
    z-index: 9000;
    align-items: flex-end;
    /* display: none; */
    margin-left: 335px;
    margin-top: -142px;

}
#hide li{
    justify-content: space-evenly;
    padding-right: 25px;
    margin-left: -10px;
    padding-top: -15px;
}
#navbar{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    background-color: whitesmoke;
    justify-content: center;
    display: none;
    height: 33px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%) translateY(-100%);
    width: 100%;
    max-width: 100%;
    opacity: 0;
    pointer-events: none;
    z-index: 9000;
}
#navbar a{
    /* background-color: whitesmoke; */
    justify-content: center;
    color: rgb(0, 0, 0);
    justify-content: space-evenly;
    margin-right: 10%;
    /* display: none; */
    text-decoration: none;
    /* margin-top: -10px; */
    
}
.banner a{
    border-radius: 20px;
}
#hide i.clicked{
    color: black;
}
#navbar a, #Home{
    margin-left: 10%;
}
#navbar.shownav{
    display: block;
    padding-top: 13px;
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: auto;
}
.logo{
    width: 140px;
    /* color: #ec4444; */
    transition: 0.3s ease;
    cursor: pointer;
    user-select: none;
    font-weight: 800;
    margin-left: 0px;
    font-size: xx-large;
    margin-top: 70px;
}
.logo:hover{
    transform: scale(1.2);
    text-shadow: 2px 2px 5px #080808;    
}
.nav-links li{
    display: inline-block;
    font-weight: 600;
    font-size: large;
}
.nav-links{
    /* margin-right: 0px;
    margin-top: 0px; */
    margin: 0;

}
nav ul li{
    display: inline-block;
    list-style: none;
    margin: 10px 20px;
    transition: 0.3s ease-in-out;
}
nav ul{
    user-select: none;
}

nav ul li:hover{
    transform: scale(1.2);
    text-shadow: 2px 2px 7px #504d4d;
}

nav ul li a{
    color: #fff;
    font-size: 18px;
    text-decoration: none;
    position: relative;
}
nav ul li a::after{
    content: '';
    width: 0;
    height: 3px;
    background: #ff004f;
    position: absolute;
    left: 0;
    bottom: -7px;
    transition: 0.5s;
}
nav ul li a:hover::after{
    width: 100%;
    /* transform: scale(1.2); */
}
.header-text{
    margin-top: 20vh;
    font-size: 30px;
    text-align: right;
    max-width: 600px;
    margin-left: auto;
}

.header-text h1{
    font-size: 60px;
    margin-top: 20px;
    font-weight: bold;
}
.header-text h1 span{
    color: #ff004f;

}
#about{
    padding: 80px 0;
    color: #ababab;
    font-weight: bolder;
}
.row{
    display: grid;
    align-items: center;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    justify-content: space-between;
    flex-wrap: wrap;

    gap: 40px;
}
.about-col-1{
    flex-basis: 60%;
}
.about-col-1 img{
    width: 100%;
    height: auto;
    border-radius: 16px;
    margin-left: 0px;
}
.about-col-2{
    flex-basis: 55%;
    min-width: auto;
}
.active-link ul li span{
    font-size: 100px;
    font-weight: bold;
}
#skills .block{
    width: 160px;
    height: 45px;
    font-size: 14px;
}


.sub-title{
    font-size: 60px;
    font-weight: 600;
    color: #fff;
}
.tab-titles{
    display: flex;
    margin: 20px 0 40px;
}
.tab-links{
    margin-right: 50px;
    font-size: 18px;
    font-weight: 500;
    position: relative;
    cursor: pointer;
}

.tab-links::after{
    content: '';
    width: 0;
    height: 3px;
    background: #ff004f;
    position: absolute;
    left: 0;
    bottom: -7px;
    transition: 0.7s;
}
.tab-links.active-link::after{
    width: 100%;
}
/* .tab-links.active-link:hover::after{
    width: 50%;
} */
 
.block{
    position: relative;
    border: 2px solid #fff;
    width: 200px;
    height: 50px;
    border-radius: 25px;
    display: flex;
    justify-content: space-between;
    padding: 10px;
    /* overflow: hidden;
    align-items: center; */
    margin-bottom:20px;
    margin-left: 20px;
    transition: transform 0.3s;
}
.block::after{
    content: '';
    width: 0;
    left: 0;top: 0;
    height: 100%;
    background: #ff004f;
    position: absolute;
    border-radius: 25px;
    left: 0;
    z-index: -1;
    /* transition: width 0.8s ease-in-out; */
}
.block:hover{
    /* width: 50%; */
    /* background: #ff004f; */
    /* transition: 0.8s ease-in-out; */
    /* background-color: #ff004f; */
    background: linear-gradient(
        to right,
        #ff004f 0%,
        /* #ff004f 70%, */
        transparent 90%
        
    );

    transition: background 0.5s ease-out;
    transform: scale(1.07);

}
.block:hover 

.tab-contents ul li{
    list-style: none;
    margin: 10px 0;
}
.tab-contents ul li span{
    color: #b54769;
    font-size: 14px;
}
.tab-contents{
    display: none;
}
.tab-contents.active-tab{
    display: block;  
     
}
#portfolio{
    padding: 120px 0;
}
.work-list{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 40px;
    margin-top: 50px;
}
.work{
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    min-height: 320px;
}
.work img{
    width: 100%;
    border-radius: 10px;
    display: block;
    transition: transform 0.5s;
    object-fit: cover;
}
.layer{
    width: 100%;
    height: 0%;
    background: linear-gradient(
        rgba(0,0,0,0.6),
        #ff004f
    );
    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: 16px;
    transition: height 0.5s;
}

.layer h3{
    margin-bottom: 24px;
    font-weight: 600;

}

.layer a{
    margin-top: 20px;
    color: #ff004f;
    text-decoration: none;
    font-size: 18px;
    line-height: 60px;
    background: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
}
.work:hover img{
   transform: scale(1.1); 
}

.work:hover .layer{
    height: 100%;
}

.work a{
    padding: 10px 10px;
}
/* #contact{
    padding: 120px 0;
} */
.container{
    width: 100%;
    justify-content: space-between;
}
.container.row.contact-left{
    margin-top: -90px;
}
.contact-left{
    flex-basis: 45%;
}
.contact-right{
    flex-basis: 60%;
    margin-top: 40px;
}

.contact-left p{
    margin-top: 30px;
}
.contact-left p i{
    color: #ff004f;
    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;
}

.social-icons a:hover{
    color: #ff004f;
    transform: translateY(5%);
}
.btn.btn2{
    display: inline-block;
   background: #ff004f; 
   color: #fff;
    padding: 10px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    transition: background 0.2s ease-in-out;
}
.btn.btn2:hover{
    background: #e8074a;
}
.contact-right form{
    width: 100%;
}
form input, form textarea{
    width: 100%;
    border: 0;
    /* width: ; */
    max-width: 700px;
    outline: none;
    background: #262626;
    padding: 15px;
    margin: 15px 0;
    color: #fff;
    font-size: 18px;
    border-radius: 6px;
}

form .btn2{
    margin-top: 20px;

}
.copyright{
    width: 100vw;
    text-align: center;
    /* padding: 10px 0; */
    background: #262626;
    font-weight: 300;
     font-size: 16px;
     letter-spacing: 0.6px;
   margin-top: 80px; 
   margin-right: 80px;
   margin-bottom: -10px;
}
.copyright p{
    padding: 20px;
    justify-items: center;
}
.homepage-icons a{
    color: white;
    padding-top:-10px;
    padding-bottom: 15px;
}

nav .fas.fa-bars{
    display: none;
}

/* @media only screen and (max-width:600px) {
    #header{
        background-image: url(./Images/bg\ \(Edited\).jpg);
    }
    .header-text{
        margin-top: 100%;
        font-size: 16px;

    }
    .header-text h1{
        font-size: 30px;
    }
    nav .fas.fa-bars{
    display:visible;
    font-size: 25px;
    }
    nav ul{
        background-color: #ff004f;
        position: fixed;
        top: 0;
        right: -200px;
        width: 200px;
        height: 100vh;
        padding-top: 50px;
    }
    nav ul li{
        display: block;
        margin: 25px;

    }
    nav ul .fas{
        position: absolute;
        top: 25px;
        left: 25px;
        cursor: pointer;
    }
} */

/* @media (max-width: 768px){

    .header-text{
        text-align: center;
        margin: 100px auto 0;
    }

    nav ul{
        background: #ff004f;
        position: fixed;
        top: 0;
        right: -200px;
        width: 200px;
        height: 100vh;
        padding-top: 60px;
        transition: right 0.3s;
    }

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

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

    .row{
        grid-template-columns: 1fr;
        text-align: center;
    }
} */

*{
    box-sizing: border-box;
}

html, body{
    overflow-x: hidden;
}

img, video{
    max-width: 100%;
    height: auto;
}

section{
    overflow-x: hidden;
}


@media (min-width: 1400px){

    body{
        font-size: 18px;
    }

    .container,
    nav{
        max-width: 1320px;
        margin: auto;
    }

    .header-text{
        max-width: 700px;
        font-size: 34px;
    }

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


    .work-list{
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }


    .skills-list{
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
    #hide{
    display: none;
}
}


@media (min-width: 992px) and (max-width: 1399px){

    .header-text{
        max-width: 620px;
    }

    .work-list{
        grid-template-columns: repeat(2, 1fr);
    }

    .skills-list{
        grid-template-columns: repeat(4, 1fr);
    }
    #hide{
        display: block;
    }
    #navbar{
        height: 30px;
    }
    #navbar a{
        margin-right: 0px;

    }
    #hide i{
        font-size: large;
        margin-top: -5px;
    }
    #navbar.shownav{
        padding-top: 4px;
    }
    
    #small{
        display: none;
    }
}
.small-screen div{
        display: none;
    }


@media (max-width: 992px){

    .header-text{
        text-align: center;
        margin: 120px auto 0;
    }

    .about-col-1,
    .about-col-2{
        width: 100%;
        text-align: center;
    }

    .about-col-1 img{
        margin: auto;
        display: block;
    }

    .tab-titles{
        justify-content: center;
        flex-wrap: wrap;
    }

    .skills-list{
        grid-template-columns: repeat(2, 1fr);
    }
    .non-mobile div{
        display: none;
    }
    .small-screen div{
        display: inline-flex;
    }
    #small{
        display: none;
    }
    
}


@media (max-width: 768px){

    .work{
        background: #111;
        border-radius: 14px;
        overflow: hidden;
    }

    .work img{
        width: 100%;
        display: block;
        border-radius: 14px 14px 0 0;
        transform: none !important;
    }

    .layer{
        position: static;
        height: auto;
        background: none;
        padding: 16px 14px;
        text-align: center;
    }

    .layer h3{
        margin-bottom: 8px;
        font-size: 18px;
    }

    .layer p{
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 14px;
    }

    .layer a{
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 10px 22px;
        background: #ff004f;
        color: #fff;
        text-decoration: none;
        border-radius: 20px;
        font-size: 15px;
    }

    .work:hover img,
    .work:hover .layer{
        transform: none;
    }

    .layer,
    .layer *{
        transition: none !important;
    }
    #small{
        display: none;
    }
}



@media (max-width: 480px){

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

    .sub-title{
        font-size: 36px;
    }

    .block{
        max-width: 140px;
    }

    .layer a{
        font-size: 14px;
        padding: 9px 18px;
    }
    #small{
        display: none;
    }
}


