*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
    font-family: 'Manrope', sans-serif;

}


:root{
    --bg-color: #000000;
    --text-color: #ffffff;
    --main-color: #f53fa1;
    --other-color: #a722ac;
    --h1-font: 4.7rem;

}



body{
    background-color: var(--bg-color);
    color: var(--text-color);
    align-items: center;
    justify-content: center;
    display: flex;
    height: 100vh;
    cursor: none;
   
}

.cursor{
    z-index: 999;
    position: fixed;
    background: #f53fa1;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    pointer-events: none;
    box-shadow: 0 0 10px#f54ca6,
                0 0 20px#f54ca6,
                0 0 40px#f54ca6,
                0 0 80px#f54ca6,
                0 0 160px#f54ca6;
    animation: colors 10s infinite;
    transform: translate(-50%, -50%);
    display: none;
}


header{
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    padding: 30px 12%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent;
    transition: all ease .55s;
}

.navlist{
    display: flex;
}

.navlist a{
    font-size: 15px;
    font-weight: 400;
    color: var(--text-color);
    margin: 0 30px;
    transition: all ease .55s;
}

.navlist a:hover{
    color: var(--other-color)
}

.logo{
    width: 65px;
    height: 65px;
    cursor: none;
}

.h-right{
    display: flex;
    align-items: center;
}

.h-right a {
    margin-right: 30px;
    font-size: 17px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--other-color);
    transition: all ease .55s;
}

.h-right a:hover{
    color: var(--text-color);
}

#menu-icon{
    font-size: 37px;
    color: var(--main-color);
    z-index: 10001;
    cursor: pointer;
    display: none;
}

section{
    padding: 0 12%;
    
}

.home{
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: url(../img/pozadi.png);
    background-size: cover;
    background-position: center;
    gap: 30px;
    overflow-x: hidden;
}

.home-text span{
    padding: 11px 18px;
    background: #4c1432;
    border-radius: 10px;
    color: var(--main-color);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 1px;
}

.home-text h1{
    font-size: var(--h1-font);
    font-weight: 800;
    line-height: 1.3;
    margin: 22px 0;
}

.home-text p{
    width: 100%;
    max-width: 400px;
    font-size: 15px;
    font-weight: 400;
    color: var(--text-color);
    line-height: 30px;
    margin-bottom: 35px;
}



.home-text i{
    height: 45px;
    width: 45px;
    background: var(--main-color);
    color: #4c1432;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    border-radius: 12px;
    margin-right: 18px;
    margin-bottom: 50px;
    transition: all ease .55s;
    

}

.home-text i:hover{
    background: #4c1432;
    color: var(--main-color);
    transform: scale(1.09);
}

.btn{
    position: relative;
    display: inline-block;
    font-size: 16px;
    color: var(--other-color);
    text-decoration: none;
    text-transform: uppercase;
    border: 1px solid var(--other-color);
    border-radius: 20px;
    padding: 15px 22px;
    z-index: 1;
    overflow: hidden;
    transition: color 0.5s, box-shadow 0.5s;
    transition-delay:0s, 1s ;
}

.btn::before {
    content:'';
    position: absolute;
    top: 0;
    left: -20px;
    width: 0;
    height: 100%;
    background: var(--other-color);
    transform: skewX(35deg);
    z-index: -1;
    transition: 1s;
}

.btn:hover{
    color: var(--text-color);
    box-shadow: 
                0 0 10px var(--other-color),
                0 0 20px var(--other-color),
                0 0 40px var(--other-color),
                0 0 80px var(--other-color),
                0 0 160px var(--other-color);
}

.btn:hover::before{
    width: 100%;

}

.btn22{
    position: relative;
    display: inline-block;
    font-size: 16px;
    color: var(--other-color);
    text-decoration: none;
    text-transform: uppercase;
    border: 1px solid var(--other-color);
    border-radius: 20px;
    padding: 15px 22px;
    margin-left: 30px;
    z-index: 1;
    overflow: hidden;
    transition: color 0.5s, box-shadow 0.5s;
    transition-delay:0s, 1s ;
}
.btn22::before {
    content:'';
    position: absolute;
    top: 0;
    left: -20px;
    width: 0;
    height: 100%;
    background: var(--other-color);
    transform: skewX(35deg);
    z-index: -1;
    transition: 1s;
}

.btn22:hover{
    color: var(--text-color);
    box-shadow: 
                0 0 10px var(--other-color),
                0 0 20px var(--other-color),
                0 0 40px var(--other-color),
                0 0 80px var(--other-color),
                0 0 160px var(--other-color);
}

.btn22:hover::before{
    width: 100%;

}


.social{
  position: absolute;
  top: 92%;
  left: 50%;
  transform: translateY(-50%);
}
.social a{
    display: flex;
    align-items: center;
    color: var(--main-color);
    font-size: 16px;
    font-weight: 600;
    transition: all ease .55s;
}
.social img{
    margin-right: 5px;
    width: 22px;
    height: auto;
}
.social a:hover{
    transform: translateY(-4) scale(1.08);
}

@media (max-width: 1820px){
    header{
        padding: 15px 7%;
    }
    section{
        padding: 0 7%;
    }
}
@media (max-width: 1610px){
    :root{
        --h1-font: 4.2rem;
    }
    .home-img{
        height: 800px;
        width: 800px;
    }
    .home-img img{
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
}
@media (max-width: 1490px){
    :root{
        --h1-font: 3rem;
    }
    .home-img{
        height: 720px;
        width: 720px;
    }
}
@media (max-width: 1180px){

    .social{
        display: none;
        
    }
    section{
        padding: 70px 7%;
    }
    .home{
        display: flex;
        flex-wrap: wrap;
        gap: 2rem;
    }
    .home-text{
        order: 2;
        width: 100%;
    }
    .home-text p{
        width: 100%;
        max-width: 800px;
    }
    .home-img{
        height: 550px;
        width: 550px;
        margin: 20px auto;
    }
    
    @media (max-width: 950px){
        .navlist a{
            margin: 0 15px;
        }
    }

    @media (max-width: 780px){
        header{
            padding: 13px 5%;
        }
        section{
            padding: 60px 5%;
        }
        #menu-icon{
            display: block;
            font-size: 43px;
        }
        .navlist{
            position: absolute;
            width: 100%;
            height: 100vh;
            padding: 70px 50px;
            top: 0;
            right: 0;
            bottom: 0;
            left: 100%;
            display: flex;
            flex-direction: column;
            backdrop-filter: blur(32px);
            transition: all 0.5s ease-in-out;
        }
        .navlist a{
            display: block;
            padding: 0;
            margin: 0px 0px 22px 0px;
            font-size: 2rem;
        }
        .navlist.open{
            left: 0;
        }
    }

    @media (max-width: 530px){
        :root{
            --h1-font: 2.3rem;
        }
        .home-img{
            height: 400px;
            width: 400px;
            margin: 10px auto;
        }
    }
}