/*Start global*/
@import url('https://fonts.googleapis.com/css2?family=Inter&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@600&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600&display=swap');
* {
    padding: 0;
    box-sizing: border-box;
    margin: 0;
}
:root {
    --bg-color: #070707;
    --second-bg-color: #d7ae5c;
    --text-color: #fff;
    --main-color: #f7ad00;


}
html {
    font-size: 10px;
    font-family: 'Inter';
    color: #eee;
    scroll-behavior: smooth;
}



body {
    width: 100%;
    height: 100%;
    background: #090a17;
}

section {
    padding: 4rem 0;
}

a {
    text-decoration: none;
    color: #ffffff;
}

p, li{
    font-size: 1.6rem;
    font-weight: 300;
    line-height: 1.7;
    font-family: 'Inter';
    margin-top: 20px;
}

img {
    width: 100%;
}

video {
    width: 100%;
    box-shadow: 0 15px 60px 0 rgba(0, 0, 0, .5);
}

h1,
h2,
h3 {
    color: #fff;
    font-family: 'Open Sans';
    
}
h3 {
    font-size: 2rem;
}
.landing-text h1 {
    font-size: 11.88889vw;
    background-color: #f4d03f;
    background-image: linear-gradient(132deg, #d7ae5c 40%, #fff 100%);
    -webkit-background-clip: text;
    color: transparent;
    margin-bottom: 20px;
}
.landing-text h2 {
    font-size: 3.5vw;
    background-color: #f4d03f;
    background-image: linear-gradient(132deg, #d7ae5c 40%, #fff 100%);
    -webkit-background-clip: text;
    color: transparent;
    margin-bottom: 20px;
}
.landing-text p {
    font-size: 2vw;

    
}
/*End global*/

/*Start reusable*/
.container {
    width: 90%;
    max-width: 1440px;
    height: 100%;
    margin: 0 auto;
    position: relative;
    padding: 0 10px;

}

.section-heading {
    text-align: center;
    margin-bottom: 4rem;
    margin-top: 4rem;


}

.section-heading {
    text-align: center;
    margin-bottom: 4rem;
    margin-top: 4rem;


}

.section-heading h2 {
    font-size: 5rem;
    color: rgba(255, 255, 255, .3);
    text-transform: uppercase;
    font-weight: 300;
    position: relative;
    margin-bottom: 1rem;
}

.section-heading h2::before,
.section-heading h2::after {
    content: '';
    position: absolute;
    bottom: -.5rem;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(255, 255, 255, 075);

}

.section-heading h2::before {
    width: 10rem;
    height: 3px;
    border-radius: .8rem;
}

.section-heading h2::after {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 100%;
    bottom: -1rem;
}

.section-heading span {
    font-size: 1.6rem;

    font-weight: 300;

}

/*End reusable*/

/*Start header*/
header {
    width: 100%;
    height: 100vh;
    
    background-image: url("images/profilgael.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right bottom;
    z-index: 0;
    background-blend-mode: multiply;
    position: relative;
}
header::after
{
    height: 10vh;
    content: '';
    position: absolute;
    width: 100%;
    left: 0px;
    bottom: -35px;
    right: -3px;
    background: rgb(9 10 22);
    z-index: 0;
    filter: blur(12px);
}

.overlay {
    position: absolute;
    height: 100%;
    width: 100%;
    background-color: #141630;
    opacity: 0.4;
}


.top-nav {
    position: fixed;
    background-color: #070707;
    transition: all 650ms cubic-bezier(.64, .33, 0, 1);
    border-bottom-right-radius: 100%;
    border-bottom-left-radius: 100%;
    width: 100%;
    height: 100vh;
    top: -100vh;
    z-index: 50;

}

.nav-list {
    list-style: none;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;

}

li {
    margin: 0 2rem;
    list-style: none;
}

.nav-link {
    font-size: 5rem;
    padding: 1rem;
}

.nav-link:hover,
.nav-link:focus {
    background: linear-gradient(to top, #fff, #d7ae5c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

}

.top-nav.open {
    top: 0;
    border-radius: initial;
}

.menu-toggler {
    position: absolute;
    top: 5em;
    right: 5rem;
    width: 5rem;
    min-height: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 1500;
    transition: transform 650ms ease-out;



}

.menu-toggler.open {
    transform: rotate(-45deg);
}




.bar {
    width: 100%;
    height: 4px;

    background: linear-gradient(to right, #fff, #d7ae5c);
    border-radius: .8rem;
    background-color: #f4d03f;
  

}

.bar.half {
    width: 50%;
}

.bar.start {

    transform-origin: right;
    transition: transform 650ms cubic-bezier(0.54, -0.81, 0.57, 0.57);

}

.open .bar.start {
    transform: rotate(-450deg) translateX(.8rem);
}

.bar.end {
    align-self: flex-end;
    transform-origin: left;
    transition: transform 650ms cubic-bezier(0.54, -0.81, 0.57, 0.57);

}

.open .bar.end {
    transform: rotate(-450deg) translateX(-.8rem);
}

.landing-text {
    position: absolute;
    top: 40%;
    left: 0%;
    transform: translate(0%, -40%);
    width: 70%;
    text-align: left;
    z-index: 0;
    padding-left: 10vw;

}

.landing-text h6 {
    font-size: 3.5rem;
    font-weight: 300;
}

.button-scroll {
    z-index: 10;
    position: absolute;
    bottom: 16px;
    left: calc(50% - 34px);
    width: 68px;
    height: 68px;
    cursor: pointer;
}

.button-scroll svg {
    transform: rotate(-90deg);
}
#cercle-noir {
    stroke: lightgrey;
    opacity: 0.6;
}
#cercle-blanc {
    stroke: var(--second-bg-color);
    transition: all .8s linear;

    stroke-dasharray: 2000;
    stroke-dashoffset: 1920;
    opacity: 1;
}
.button-scroll:hover #cercle-blanc{
    stroke: var(--second-bg-color);
    stroke-dasharray: 2000;
    stroke-dashoffset: 1600;
    opacity: 1;
}
/*End header*/

/*Start about*/
#about {
    padding-top: 10rem;
}

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

.about-heading {
    text-align: center;
    text-transform: uppercase;
    line-height: 0;
    margin-bottom: 6rem;

}

.about-heading h2 {
    font-size: 10rem;
    opacity: .3;
}

.about-heading span {
    font-size: 2rem;
    font-weight: 300;

}

.about-detail p {
    font-weight: 300;
    line-height: 150%;

}

.profil-image {
    flex: 1;
    margin-right: 5rem;
}

.about-detail {
    flex: 1;

}

.social-media {
    margin-top: 5rem;
}

.social-media i {
    font-size: 5rem;
    transition: color 650ms;
}

.fa-facebook-square:hover {
    color: #38a1f3;
}

.fa-linkedin-in:hover {
    color: #38a1f3;

}

/*End about*/

/*Start services*/

.card {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.my-skills {
    margin: 40px;
    justify-content: center;
    align-items: center;
    height: auto;
    width: 400px;
    background: #070707;
    position: relative;


}

.my-skills:before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    border: 5px solid #d7ae5c;
    bottom: -4px;
    right: -4px;
    background: #fff;
    z-index: -1;
    filter: blur(4px);

}

.my-skills:after {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    bottom: -3px;
    right: -3px;
    background: #fff;
    z-index: -2;
    filter: blur(168px);


}

.my-skills:nth-child(1):before,
.my-skills:nth-child(1):after {
    background: linear-gradient(235deg, #373737, #D7AE5C, #2c2c2c);


}

.my-skills:nth-child(2):before,
.my-skills:nth-child(2):after {
    background: linear-gradient(235deg, #D7AE5C, #373737, #D7AE5C);


}

.my-skills:nth-child(3):before,
.my-skills:nth-child(3):after {
    background: linear-gradient(235deg, #373737, #D7AE5C, #2c2c2c);


}

.glass {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    display: block;
    background: rgba(255, 255, 255, 0.1);
    pointer-events: none;




}

.skill {


    justify-content: center;
    align-items: center;
    padding-top: 0px;
    color: white;
    margin: 2px;


}

.skill h1 {
    text-transform: uppercase;
    letter-spacing: 2px;

    font-size: 2rem;
    text-align: center;
}

.skill {


    margin: auto;
    text-align: center;
    font-family: 'Inter';
    line-height: 150%;
    padding-top: 1.5em;
    padding-bottom: 2em;
    padding-left: 2em;
    padding-right: 2em;
    margin: 0.25em;

}

.icon-container {
    width: 10rem;
    height: 10rem;
    border: 2px solid #fffef8;
    border-radius: 25% 10%;
    background-color: #070707;
    margin-bottom: 2rem;
    display: flex;


}

.ico {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;



}

.icon-container i {
    color: #ffffff;
    font-size: 4rem;
    margin: auto;
    transform: rotate(-40deg);

    animation: leaves 3s ease-in-out infinite alternate;

}

@keyframes leaves {
    0% {
        transform: scale(1.0);
        -webkit-transform: scale(1.0);
    }

    100% {
        transform: scale(1.1);



    }
}

@keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(-40deg);
    }

    100% {
        -webkit-transform: rotate(315deg);
        transform: rotate(315deg);
    }
}



/*End services*/

/*Start portfolio*/
.portfolio {
    width: 100%;
}

.portfolio-item {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 5rem;


}


.portfolio-item .portfolio-img {


    width: 70%;
    height: 100%;
    box-shadow: 0 15px 60px 0 rgba(0, 0, 0, .5);


}

.portfolio-item .portfolio-description {
    width: 50%;

}

.portfolio-item:last-child {
    margin-bottom: 0;
}

/*
.profile-img{
    width: rem;
    flex: ;
}*/
.portfolio-description .title {

    font-size: 3rem;
    font-family: 'Montserrat';
    font-weight: 300;
    margin: 1rem 0;
    width: auto;
}

.portfolio-description span {
    font-size: 2.2rem;
    font-family: 'Montserrat';
    text-transform: capitalize;
    font-weight: 300;
    color: var(--second-bg-color);

}

  


.portfolio-description .cta {
    display: inline-block;
    margin-top: 2.5rem;
    font-size: 1.5rem;
    text-transform: uppercase;
    color: #D7AE5C;
}

.portfolio-description .cta:hover {

    color: midnightblue;
}

.has-margin-right {
    margin-right: 15rem;
}
.portfolio-item img {

    background-size: cover;
    width: 100%;
    height: 100%;
    box-shadow: 0 15px 60px 0 rgba(0, 0, 0, .5);


}

.overlay-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    -webkit-transform: scale(1.02);
    transform: scale(1.02);
    transition: all .3s ease;
    pointer-events: none;
    background-color: rgba(40,40,40,.88);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    /* -webkit-box-orient: horizontal; */
    /* -webkit-box-direction: normal; */
    -ms-flex-flow: column wrap;
    flex-flow: column wrap;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.portfolio-img:hover .overlay-img{
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);

}


.portolio-icon {
    position: absolute;
    top: 25px;
    left: 25px;
    color: var(--second-bg-color);
    font-size: 25px;
}
.overlay-img {
    font-size: 30px;
}
.overlay-img span {
    font-size: 20px;
}


/*End services*/


/*Start contact*/

.contact {
    background-color: #090a17;
}

form {
    width: 70%;
    margin: 0 auto;


}

form label {
    font-size: 1.5rem;
}

input,
select,
textarea {
    width: 100%;
    padding: 1rem;
    margin-bottom: 5px;
    border: none;
    background-color: transparent;
    border-bottom: 1px solid white;
    outline: none;
    color: #fff;
    caret-color: #070707
}


input:hover,
input:focus textarea:hover,
textarea:focus {

    border-bottom: 1px solid #D7AE5C;
    outline: none;
    background-color: transparent;



}



.button-fright {
    width: initial;
    background-color: #D7AE5C;
    border: none;
    border-radius: .8rem;
    color: aliceblue;
    margin-top: 20px;
    padding: 1.2rem 2rem;
    cursor: pointer;
    font-size: 2rem;
    transition: all 0.5s ease;
    width: 100%;
    border: 2px solid #0000;

}

.button-fright:hover {
    box-shadow: 0px 2px 4px -1px rgba(238, 233, 233, 0.2), 0px 4px 5px 0px rgb(0 0 0 / 14%), 0px 1px 10px 0px rgb(0 0 0 / 12%);
    cursor: pointer;
    border: 2px solid #D7AE5C;
    background-color: #070707}





#subject {
    border: 1px solid grey;
    font-size: 1.5rem;
}

#service {
    color: white;
    font-size: 1.5rem;
}

::placeholder {
    color: white;
    font-size: 1.5rem;
}




/*End contact*/

/*Start footer*/
.copyright {
    width: 100%;
    text-align: center;
    background-color: #141630;
    padding: 2% 10%;
    position: relative;
}

.up {
    position: absolute;
    width: 5rem;
    height: 5rem;
    background-color: white;
    top: -2.5rem;
    border-radius: 100%;
    right: 5rem;
    display: flex;
    animation: pulse 2s infinite;
    cursor: pointer;
}

.up i {
    color: #d7ae5c;
    font-size: 2rem;
    margin: auto;
}

.copyright p {
    font-size: 1.3rem;

}

/*End footer*/

/*Start animations*/
@-webkit-keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 #d7ae5c;
    }

    70% {
        box-shadow: 0 0 0 1.6rem #d7ae5c;
    }

    100% {
        box-shadow: 0 0 0 0 #d7ae5c;
    }

}

/*End animations*/

/*Start media queries*/
@media screen and (max-width: 813px) {

    /*Start global*/
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }


    section {
        margin: auto;

    }

    p {
        margin: auto;
    }

    .card {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;

        flex-wrap: wrap;
        margin: auto;
        width: 90%;
    }

    .my-skills {
        margin: 30px auto;
        width: 90%;
        height: 100%;
        justify-content: center;
        align-items: center;
        position: relative;
    }

    .my-skills p {
        font-size: medium;


    }



    .landing-text h6 {
        font-size: 1.7rem;
    }

    .nav-list {
        flex-direction: column;
    }

    li {
        margin: 2rem 0;
    }

    .nav-link {
        font-size: 4.5rem;
    }

    .about-heading h1 {
        font-size: 4rem;

    }

    .section-heading h1 {
        font-size: 4rem;
    }

    .about-detail .nav-list {
        flex-direction: initial;
    }

    .about-detail li {
        margin: 0 2rem;
    }

    .icon-container i {
        font-size: 4rem;
    }

  
}





@media screen and (max-width: 768px) {

    .landing-text {
        position: absolute;
        top: 30%;
        left: 0%;
        transform: translate(0%, -30%);
        width: 100%;
        text-align: center;
        z-index: 0;
        padding-left: 0vw;
    
    }
    
    .menut-toggler {
        top: 2rem;
        right: 2rem;

    }
    .about-heading h2 {
        font-size: 6rem;
        opacity: .3;
    }
    .cursor {
        visibility: hidden;
    }

    .landing-text h6 {
        font-size: 2rem;
    }

    .nav-link {
        font-size: 3.5rem;
    }

    .about .row-center {
        flex-direction: column;
    }

    

    .profil-image {
        margin: 0 0 7rem 0;
    }

    .portfolio-item {
        flex-direction: column;
        margin: 50px 0px;
        overflow-x: hidden;
    }

    .portfolio-item .portfolio-img {
        width: 90%;
    }

    .portfolio-img {
        margin: 0 0 2rem 0;
        order: 1;
    }

    .portfolio-item .portfolio-description {
        margin: 0;
        order: 2;
        width: 90%;
        text-align: center;
    }

  
    form {
        width: 100%;
    }

    .up {
        right: 2rem;
    }

 
}

/*End media queries*/

/*SVG*/


/*End media queries
START CURSOR*/

body {
    cursor: none;
}

.cursor{
    position: fixed;
    width: 40px;
    height: 40px;
    margin-left: -20px;
    margin-top: -20px;
    border-radius: 50%;
    border: 2px solid var(--main-color);
    transition: transform .3s ease;
    transform-origin: center center;
    pointer-events: none;
    z-index: 1000;
}

.grow, .grow-small{
    transform: scale(7);
    background: #fff;
    mix-blend-mode: difference;
    border: none;
}
.grow-small{
    transform: scale(3);
}


/*End media queries*/


/* Contact PHP */

.flex-column-center {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    align-items: center;
}
.flex-column-center p {
   font-size: 2.6rem;
}