@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@200;300;400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Qwigley&display=swap');

/* ---------------------Global Styles -------------------------*/
:root {
    --lightness: 10%;
    --purple: #5f2280; 
    --green: #1d9537;
    --lightgreen: rgba(29, 149, 55, .5);
    --backgroundColor: hsl(0, 0%, var(--lightness));
}
.text-primary {
    font-family: 'Raleway', sans-serif;
    color: #000 !important;
}
.font-cursive{
    font-family: 'Qwigley', cursive;
    font-size: 2em;
    line-height: 1em;
}
body{
    font-family: 'Raleway', sans-serif;
}
::-webkit-scrollbar{
    background-color: #fff;
}
::-webkit-scrollbar-thumb{
    background-color: var(--green);
}
::selection{
    background-color: var(--lightgreen);
}


/* End of Global Styles */

/* ----------------------------Header Styles-------------------------- */
.navbar{
    background-color: #fff;
    width: 100%;
}
.img-logo{
    width: 100%;
    max-width: 260px;
}
.nav {
    gap: 0p;

}
.nav-item{
    margin-right: 6px;
}
.menu-link{
    display: inline-block;
    width: 100%;
    position: relative;
}
.menu-link::after{
    position: absolute;
    content: "";
    display: block;
    height: 1px;
    width: 0%;
    background-color: var(--purple);
    bottom: 10px;
    left: 0;
    transition: .1s;
}
.menu-link:hover::after{
    width: 100%;
}
.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler-icon:focus {
    outline: none;
    box-shadow: none;
}
@keyframes rotateAnimation {
    0%{
        transform: rotate(0);
    }
    100%{
        transform: rotate(180deg);
    }
}
.nav-show-icon:hover{
    animation-name: rotateAnimation;
    animation-duration: 1s;
    animation-iteration-count: 1;
}

.intro{
    background-color: #000;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 199;
    display: flex;
    justify-content: center;
    align-items: center;
}
.intro-text .text{
    color: var(--green);
    font-size: 1.5em;
    font-weight: bold;
}
.slider{
    background-color: var(--purple);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 199;
    transform: translateY(100%);
}
.hide{
    background-color: #000;
    overflow: hidden;
}
.hide span{
    transform: translateY(100%);
    display: inline-block;
}


/* End of Header Styles */

main{
    position: relative;
}


/* -------------------------Footer Styles --------------------------*/
.footer-flex{
    background-color: #fff;
    gap: 26px;
}

.footer-flex > div{
    flex: 1;
}
.go-up-link{
    font-size: .8em;
}

.footer-links > a:hover i.fa-brands{
    color: var(--purple);
}
/* End of Footer Styles */


.projects-grid{
    margin-bottom: 300px;
}


@media screen and (max-width: 992px) {
    .menu-link:hover, .menu-link:active, .menu-link:focus{
        color: var(--purple) !important;
    }
    .nav-show-icon{
        /* font-size: 2em; */
        color: #000;
    }
    .nav-show-icon:hover,
    .nav-show-icon:active,
    .nav-show-icon:focus{
        color: var(--green);
    }
}


/* SHOP page styles */
.shop-presentation{
    display: none;
}
.pagination{
    --bs-pagination-color: #000;
    --bs-pagination-hover-color: var(--green);
    --bs-pagination-hover-bg: #fff;
    --bs-pagination-focus-bg: #fff;
}
.page-link.active{
    background-color: var(--green);
    border: 0;
    box-shadow: none;
}
.card-text{
    font-size: .8em;
}

.shop-presentation a.btn{
    padding: 0;
    border: none;
    font-size: .8em;
    position: relative;
}
/* .shop-presentation a.btn:hover,
.shop-presentation a.btn:active,
.shop-presentation a.btn:focus{

} */

.shop-presentation a.btn::after{
    position: absolute;
    content: "";
    display: block;
    height: 1px;
    width: 0%;
    background-color: var(--purple);
    bottom: 0px;
    left: 0;
    transition: .2s;
}
.shop-presentation a.btn:hover::after{
    width: 100%;
}
.cover-link{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    padding: 3em;

}
.cover-link-div{
    height: 50px;
    /* height: 100%; */
    width: 200px;
    /* width: 100%; */
    background-color: rgba(255, 255, 255, 1);
    flex-direction: column;
    justify-content: center;
    display: none;
}
.cover-link-div > p{
    margin: auto;
}
.cover-link:hover .cover-link-div{
    display: flex;
}
/* End of SHOP page styles */

/* ---------------------------------CONTACT page ----------------------*/
.form-label{
    margin-bottom: 0;
}
.form-control{
    border: 1px solid #777;
    border-radius: 0;
}
.form-control:focus, .form-control:active{
    border-color: var(--purple);
    /* box-shadow: none; */
    box-shadow: 0 0 2px var(--purple);
}
.contact-btn{
    width: 100%;
    max-width: 260px;
    background-color: #fff;
    padding: .375rem .75rem;
    border: 1px solid #777;
    border-radius: 0;
}
.contact-btn:hover,
.contact-btn:active,
.contact-btn:focus{
    background-color: var(--purple);
    color: #fff;
}

.form-control-message{
    flex-grow: 1;
}

@media screen and (max-width: 992px) {
    textarea.form-control-message{
        min-height: 250px;
    }
}
/* End of CONTACT page */

/* PROJECTS page */
.projects-heading{
    top: 30%;
    animation-name: fadeTextLeft;
    animation-duration: 1s;
    animation-iteration-count: 1;
}

.about-grid > div > p{
    font-size: 16px;
}


/* -----------------------------ABOUT ME ------------------------------*/
.img-portret{
    width: 100%;
    z-index: 99;
    position: relative;
}
.img-portret-bg{
    display: none;
    position: absolute;
    width: 40%;
    height: 70%;
    background-color: var(--green);
    z-index: 1;
}

.heading{
    font-size: 2.5em;
}
.about-header{
    top: 40%;
}
.about-header.active{
    animation-name: fadeTextLeft;
    animation-duration: 1s;
    animation-iteration-count: 1;
    opacity: 1;
}
.experiance-header{
    right: 1.5em;
    top: 20px;
    color: #fff;
    opacity: 0;
}
.experiance-header.active{
    animation-name: fadeTextRight;
    animation-duration: 1s;
    animation-iteration-count: 1;
    opacity: 1;
}

.process-header{
    top: 30%;
    opacity: 0;
}
.process-header.active{
    animation-name: fadeTextLeft;
    animation-duration: 1s;
    animation-iteration-count: 1;
    opacity: 1;
}
/* KEYFRAMES */
@keyframes fadeTextLeft{
    0%{
        transform: translateX(-200px);

    }
    100%{
        transform: translateX(0);
    }
}
@keyframes fadeTextRight{
    0%{
        transform: translateX(+200px);

    }
    100%{
        transform: translateX(0);
    }
}

.experience-section{
    cursor: url(../pictures/cursor-1.svg), auto;
}
.experience-dark-section{
    padding: 30px 0;
    background-color: var(--backgroundColor);
    color: #fff;
}
.experience-row{
    margin: 0 8%;
}
.col-left{
    padding-left: 8%;
}
.col-right{
    padding-right: 8%;
}
.project-num{
    font-size: 80px;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    margin: 0;
    line-height: .8em
}
.project-pr{
    font-size: .8em;
}
.experience-img-box-right{
    transform: rotate(3deg);
    transition: .5s ease;
}
.experience-img-box-right:hover{
    transform: rotate(0deg);
}
.experience-img-box-left{
    transform: rotate(-3deg);
    transition: .5s ease;
}
.experience-img-box-left:hover{
    transform: rotate(0deg);
}
.experience-row > .col p, 
.experience-row > .col h3,
.experience-row > .col img{
    cursor: url(../pictures/cursor-2.svg), auto;
}
.experience-row > p{
    max-width: 1200px;
    margin: auto;
}

.dark-bg{
    position: absolute;
    margin: 0;
    width: 100vw;
    height: 20%;
    background-color: var(--backgroundColor);
    z-index: -5;
}
.process-video-div > video{
    max-width: 1280px;
}
@media screen and (max-width: 992px) {
    .img-portret{
        margin: 40px;
        margin-left: 22%;
        max-width: 400px;
    }
    .img-portret-bg{
        display: block;
        right: 10%;
        top: 5px;
    }
    .col-left, .col-right{
        padding: 0;
    }
    .experience-img-box-left, .experience-img-box-right{
        transform: rotate(0);
    }
}
@media screen and (max-width: 768px) {
    .experience-title{
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }
}
@media screen and (max-width: 600px){
    .img-portret{
        margin:  0;
        max-width: none;
        box-shadow: 10px 10px 0 0 var(--green);
    }
    .img-portret-bg{
        display: unset;
    }
}