*,
*::before, 
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}



:root {
    --main-color : #8c061b;
    --second-color: #F2EBE9;
    --trd-color: #A5BECC;
    --text-color : #CC1414;
    --liner: linear-gradient(90deg, rgba(2,0,36,0) 5%, rgba(121,9,9,1) 50%, rgba(0,212,255,0.0578606442577031) 95%);
    --h1: linear-gradient(90deg, rgba(2,0,36,0) 5%, rgb(255, 255, 255) 50%, rgba(0,212,255,0.0578606442577031) 95%);
}

body {
    font-family: 'Montserrat', sans-serif;
    cursor: none;
    background-image: url(../img/landingbg-1.webp);
    background-size: cover;
    background-attachment: fixed;
    overflow-x: hidden;
}

ul {
    list-style: none;
}

a {
    cursor: none;
    text-decoration: none;
    color: white;
}

.center {
    display: flex;
    justify-content: center;
    align-items: center;
}

body .cursor {
    /* cursor: none; */
    position: absolute;
    width: 30px;
    transform: translate(-20%, -20%);
    pointer-events: none;
    z-index: 2;
}

hr {
    width: 100%;
    background-image: var(--h1);
    height: .5em;
    border: none;
    margin: 2em 0em;
}

nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-image: var(--liner);
    height: 70px;
    width: 100%;
    z-index: 1;
}

nav .logo img {
    width: 69px;
    animation: rotate-change 20s infinite;
}

@keyframes rotate-change {
    0% {
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(180deg);
    }
    100% {
        transform: rotate(0deg);
    }
}

nav .logo h1 {
    font-weight: 600;
}

nav .nav-links {
    height: inherit;
}

nav .nav-links li {
    padding: 0px 10px;
    height: inherit;
    font-weight: 700;
    color: white;
    text-shadow: 0 0 10px var(--text-color);
    transition: .3s all ease;
}

nav .nav-links li:hover {
    background-color: var(--main-color);
    color: var(--second-color);
    text-shadow: 0 0 10px black;
}

.musics {
    position: relative;
    background-color: #757575;
    width: 100%;
    height: 25px;
}

.musics h1 {
    position: absolute;
    color: black;
    font-weight: bold;
    font-size: 15px;
    right: 2%;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    z-index: 1  ;
}
.musics h1 span {
    transform: translateY(10%);
}

.musics p {
    position: absolute;
    height: 100%;
    background-color: var(--main-color);
    border-radius:  0 1em 1em 0;
    transition: .5s all ease-in-out;
}

.musics h1 img {
    width: 25px;
    margin-right: 5px;
    margin-top: 1px;
    animation: scale-change 2s infinite;
}

@keyframes scale-change {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

.landing {
    background-image: url(../img/landsiteimg.webp);
    height: 100vh;
    background-size: 100% 100%;
}

.landing .land-txt {
    width: 50%;
    color: white;
    font-size: 35px;
    padding: 2em 0em 0em 2em;
    text-shadow: 0 0 12px var(--text-color);
}

.landing .land-txt h1 span {
    color: var(--main-color);
    text-shadow: 0 0 35px var(--second-color);
}

.content {
    position: relative;
    /* display: flex; */
    align-items: center;
    padding: 30px 0px;
}

/* .photoshop {
    position: relative;
} */

.content .social ul {
    justify-content: flex-start;
    padding-top: 1em;
}

.content .social li img{
    width: 50px;
    margin: 10px;
}
.content .social li:hover {
    transform: scale(1.5);
}

.content .social li .face {
    width: 60px;
}



section .header {
    background-image: var(--liner);
    color: var(--second-color);
    padding: 10px;
    font-size: 30px;
    text-shadow: 0 0 12px black;
}


.head-skill {
    position: relative;
    color: white;
    text-align: center;
    font-size: 30px;
    text-shadow: 0 0 12px var(--text-color);
    margin-bottom: 1em;
}

.head-skill::before {
    content: "";
    position: absolute;
    bottom: -20%;
    left: 40%;
    width: 20%;
    height: 5px;
    background: var(--h1);
    border-radius: 10px;
    transition: all ease-in-out .5s;
}

.head-skill:hover::before {
    width: 40%;
    left: 30%;
}

.items {
	position: relative;
	width: 100%;
	overflow: hidden;
	white-space: nowrap;
    padding: 2em 0;
}

.item {
    position: relative;
    width: 13em;
    height: 10em;
    color: white;
    border-radius: 0 30px 0 30px;
    /* transition: all ease-in-out .2s; */

    flex-wrap: wrap;
    margin: 0 2em 2em 2em;
    display: inline-block;
}

.item:hover img {
    transform: translateY(-10%);
}

.item:hover h1 {
    bottom: -35%;
    opacity: 1;
}

.item a {
    border-radius: inherit;
}

.item img {
    position: absolute;
    width: 100%;
    height: 10em;
    border-radius: inherit;
    box-shadow: 0px 0px 15px 0px white;
    transition: all ease-in-out .5s;
    z-index: 1;
}

.item h1 {
    position: absolute;
    left: 50%;
    bottom: 10%;
    transform: translate(-50%);
    padding: 10px;
    text-align: center;
    height: 3em;
    text-shadow: 0  0 5px var(--text-color);
    transition: all ease-in-out .5s;
    opacity: 0;
}

.item p {
    padding: 10px;
    text-shadow: 0  0 10px black;
    white-space: break-spaces;
}

.item h4 {
    white-space: normal;
}


.photoshop-img {
    height: 15em;
}

.photoshop-img img {
    height: 15em;
}


#footer {
    width: 100%;
    /* height: 50vh; */
    background-image: linear-gradient(0deg, black, transparent);
}

#footer .right-side,
#footer .left-side {
    width: 45%;
    color: white;
}

#footer .right-side {
    text-align: center;
    margin: 2em 0;
}

#footer .right-side img {
    z-index: 1;
    transform: scale(1.5) translate(50%, 20%) rotate(180deg);
    transition: all 2s ease-in-out;
}

#footer .right-side img.active {
    transform: scale(1) translate(0%,0%) rotate(0deg);
}

#footer .right-side h1 {
    margin: 1em 0;
    color: var(--main-color);
    letter-spacing: 35px;
    transition: all 5s ease-in-out;
    font-size: 3em;
    opacity: 0;
}

#footer .right-side h1.active {
    letter-spacing: 5px;
    opacity: 1;
}

#footer .left-side {
    text-align: center;
}

#footer .left-side ul {
    transform: translateX(-50%);
    transition: all 7s ease-in-out;
    opacity: 0;
}

#footer .left-side ul.active {
    opacity: 1;
    transform: translateX(30%);
}

#footer .left-side ul li a {
    justify-content: flex-start;
    font-size: 15px;
    font-weight: bold;
}

#footer .left-side ul li a img {
    width: 5em;
}

@media (max-width: 800px) {

    .item {
		width: 25%;	
	}

    .landing {
        height: 80vh;
        background-size: 100% 100%;
        background-image: url(../img/landcenterbg.webp);
        position: relative;
    }

    .landing .land-txt  {
        text-align: center;
        position: absolute;
        width: 100%;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        padding: 0;
    }

    .landing .land-txt h1 {
        animation: opacity-change 5s infinite;
    }

    .content .social ul {
        justify-content: center;
    }

    #footer {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding-left: 15%;
    }


    @keyframes opacity-change {
        0% {
            opacity: 0;
        }
        50% {
            opacity: 1;
        }
        100% {
            opacity: 0;
        }
    }
}