@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');

html * {
    font-family: "Lato", sans-serif !important;
    font-weight: 400;
    font-style: normal;
}


.bg-img-desktop {
    background-image: url("./assets/bg-2-blur.jpg");
}

.bg-img-mobile {
    background-image: url("./assets/bg-mobile-blur.jpg");
}

.shadow-inset {
    box-shadow: inset 0px 0px 50px rgba(0, 0, 0, 0.5);
}

.text-shadow {
    text-shadow: #424242 0px 0px 8px;
}

button:hover {
    transform: scale(1.01);
}

button:focus {
    outline: none !important;
}

button:active {
    transform: scale(0.99);
}

.check-svg {
    -webkit-animation: svgScale 0.5s ease-in-out;
    animation: svgScale 0.5s ease-in-out;
}

.download-arrow {
    transition: transform 0.2s linear;
}

button:hover .download-arrow {
    transform: translate(0, 3px);
}

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

    50% {
        transform: scale(1.2);
    }
}

@keyframes svgScale {
    0% {
        transform: scale(0);
    }

    50% {
        transform: scale(1.2);
    }
}

button.download-button {
    min-width: 100px;
    min-height: 45px;
}

.download-loader {
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top-color: #ffffff;
    border-radius: 50%;
    opacity: 0;
    -webkit-animation: button-loading-spinner 1s ease 3;
    animation: button-loading-spinner 1s ease 3;
}

@-webkit-keyframes button-loading-spinner {
    from {
        transform: rotate(0turn);
        opacity: 1;
    }

    to {
        transform: rotate(1turn);
        opacity: 0;
    }
}

@keyframes button-loading-spinner {
    from {
        transform: rotate(0turn);
        opacity: 1;
    }

    to {
        transform: rotate(1turn);
        opacity: 0;
    }
}

@media (max-width: 375px) {
    button.copy-button {
        min-width: 300px;
    }
}

.scroll-down {
    position: absolute;
    left: 49.5%;
    bottom: 10px;
    display: block;
    text-align: center;
    font-size: 20px;
    z-index: 100;
    text-decoration: none;
    text-shadow: 0;
    width: 13px;
    height: 13px;
    border-bottom: 2px solid #fff;
    border-right: 2px solid #fff;
    z-index: 9;
    -webkit-transform: translate(-50%, 0%) rotate(45deg);
    -moz-transform: translate(-50%, 0%) rotate(45deg);
    transform: translate(-50%, 0%) rotate(45deg);
    -webkit-animation: fade_move_down 4s ease-in-out infinite;
    -moz-animation: fade_move_down 4s ease-in-out infinite;
    animation: fade_move_down 4s ease-in-out infinite;
}


/*animated scroll arrow animation*/
@-webkit-keyframes fade_move_down {
    0% {
        -webkit-transform: translate(0, -10px) rotate(45deg);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        -webkit-transform: translate(0, 10px) rotate(45deg);
        opacity: 0;
    }
}

@-moz-keyframes fade_move_down {
    0% {
        -moz-transform: translate(0, -10px) rotate(45deg);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        -moz-transform: translate(0, 10px) rotate(45deg);
        opacity: 0;
    }
}

@keyframes fade_move_down {
    0% {
        transform: translate(0, -10px) rotate(45deg);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translate(0, 10px) rotate(45deg);
        opacity: 0;
    }
}

.animate-ping-slow {
    animation: ping-slow 3s cubic-bezier(.47, .24, 1, .99) infinite;
}

@keyframes ping-slow {
    50%, 100% {
        transform: scale(1.35);
        opacity: 0;
    }
}

.animate-scroll-ping-slow {
    animation: scroll-ping-slow 3s infinite;
}

@keyframes scroll-ping-slow {
    0% {
        transform: scaleX(1);
        opacity: 0.5;
    }
    50% {
        transform: scaleX(1.1);
        opacity: 0.9;
    }
    100% {
        transform: scaleX(1);
        opacity: 0.5;
    }
}

.animate-slide-in-left {
    animation: slide-in-left 1s;
}

@keyframes slide-in-left {
    0% {
        transform: translateX(-50%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.animate-slide-in-right {
    animation: slide-in-right 1s;
}

@keyframes slide-in-right {
    0% {
        transform: translateX(50%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.animate-pop-up {
    animation: pop-up 1s;
}

@keyframes pop-up {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    95% {
        transform: scale(1.1);
        opacity: 1;
    }
    100% {
        transform: scale(1);
    }
}

.animate-button-slide-in {
    animation: button-slide-in 0.5s forwards;
}

@keyframes button-slide-in {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(100%);
    }
}

.animate-button-slide-out {
    animation: button-slide-out 0.5s forwards;
}

@keyframes button-slide-out {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(0%);
    }
}

.card-parcours {
    position: relative;
    width: 450px;
    height: 200px;
    background-color: #f2f2f2;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 0 0 5px #dec48b;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card-parcours:hover {
    transform: scale(1.05);
    box-shadow: 0 0 0 2px #dec48b;
}

.card-parcours-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 20px;
    box-sizing: border-box;
    background-color: #f2f2f2;
    transform: rotateX(-90deg);
    transform-origin: bottom;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card-parcours:hover .card-parcours-content {
    transform: rotateX(0deg);
}

.card-parcours-title {
    margin: 0;
    font-size: 24px;
    color: #362602;
    color: #362602;
    font-weight: 700;
}

.card-parcours:hover .card-parcours-title-hover {
    scale: 0;
}

.card-parcours-description {
    margin: 10px 0 0;
    font-size: 14px;
    line-height: 1.4;
}

.pattern {
    background: radial-gradient(
            circle farthest-side at 0% 50%,
            #F2F2F2 23.5%,
            rgba(255, 170, 0, 0) 0
    )
    21px 30px,
    radial-gradient(
            circle farthest-side at 0% 50%,
            #d0cbba 24%,
            rgba(240, 166, 17, 0) 0
    )
    19px 30px,
    linear-gradient(
            #F2F2F2 14%,
            rgba(240, 166, 17, 0) 0,
            rgba(240, 166, 17, 0) 85%,
            #F2F2F2 0
    )
    0 0,
    linear-gradient(
            150deg,
            #F2F2F2 24%,
            #d0cbba 0,
            #d0cbba 26%,
            rgba(240, 166, 17, 0) 0,
            rgba(240, 166, 17, 0) 74%,
            #d0cbba 0,
            #d0cbba 76%,
            #F2F2F2 0
    )
    0 0,
    linear-gradient(
            30deg,
            #F2F2F2 24%,
            #d0cbba 0,
            #d0cbba 26%,
            rgba(240, 166, 17, 0) 0,
            rgba(240, 166, 17, 0) 74%,
            #d0cbba 0,
            #d0cbba 76%,
            #F2F2F2 0
    )
    0 0,
    linear-gradient(90deg, #d0cbba 2%, #F2F2F2 0, #F2F2F2 98%, #d0cbba 0%) 0 0
    #F2F2F2;
    background-size: 40px 60px;
}

.animate-breath-pulse {
    animation: breath-pulse 6s infinite;
    &:hover {
        animation-play-state: paused;
    }
}

@keyframes breath-pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.contact {
    position: relative;
    overflow: hidden;
}
.cubic-translate {
    transition: all 1s cubic-bezier(0.175, 0.885, 0.32, 1);
}

/* From Uiverse.io by Juanes200122 */
.container-graph {
    position: relative;
    width: 100%;
    font-size: 14px;
    margin: 0 15px;
    padding: 5px 10px;
    border-radius: 7px;
}

.container-graph .skill-box {
    width: 100%;
    margin: 10px 0;
}

.skill-box .title {
    display: block;
    font-weight: 600;
    color: rgb(226, 226, 226);
}

.skill-box .skill-bar {
    height: 8px;
    width: 100%;
    border-radius: 6px;
    margin-top: 6px;
    background: rgba(236, 236, 236, 0.1);
}

.skill-bar .skill-per {
    position: relative;
    display: block;
    height: 100%;
    border-radius: 6px;
    background: rgb(226, 226, 226);
    animation: progress 0.4s ease-in-out forwards;
    opacity: 0;
}

@keyframes progress {
    0% {
        width: 0;
        opacity: 1;
    }

    100% {
        opacity: 1;
    }
}

.animate-clicker-pro-scale {
    animation: clicker-pro-scale 0.5s forwards;
}

@keyframes clicker-pro-scale {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

.animate-clicker-pro-scale-hover {
    scale: 0.9;
    transition-duration: 0.3s;
    transition: all 500ms;
    &:hover {
        scale: 1;
    }
}
