@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Shadows+Into+Light&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Marck+Script&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Monoton&display=swap');

@font-face {
    font-family: 'Permanent Marker';
    font-style: normal;
    src: local('Permanent Marker'), url('fonts/PermanentMarker-Regular.ttf')
}

/* Reseseseseseseset */

:root {
    --clr-blue: #3b6699;
    --clr-turqoise: #48aaff;
    --clr-violet: #404191;
    --clr-purple: #403080;
    --clr-dark: rgba(1, 16, 85, 255);
    --clr-light: rgb(232, 239, 221);
    --clr-dark-purple: rgb(37, 37, 97);
}

/*
    --clr-blue: #3b6699;
    --clr-turqoise: #2ef9ff;
    --clr-violet: #404191;  rgb(64, 65, 145);
    --clr-purple: #403080;
    --clr-dark: #011055;
    --clr-light: #e8efdd;
    --clr-dark-purple: #252561;

*/


* {
    transition: 500ms;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body:not(#get-started) {
    scroll-padding-top: 7rem;
}

body,
h1,
h2,
h3,
h4,
h5,
p,
figure,
picture {
    margin: 0;
}

a {
    text-decoration: none;
    color: white;
}

input,
button,
textarea,
select {
    font: inherit;
    border: none;
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .hide-animation {
        transition: none;
    }
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    /* added line */
    border: 0;
}



/**************************/
/***   UTILITY CLASSES  ***/
/**************************/

.background-white {
    background: rgba(13, 19, 168, 0.2);
}

.background-dark {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    box-shadow: 0 7px 8px 0 rgba(126, 125, 125, 0.5);

}

@supports (backdrop-filter: blur(0.5rem)) {


    .background-dark {
        background: rgba(255, 255, 255, 0.8);
        backdrop-filter: blur(10px);
    }
}

.margin2 {
    margin: 2rem;
}


.mt1 {
    margin-top: 1rem;
}

.mt2 {
    margin-top: 2rem;
}

.mt3 {
    margin-top: 3rem;
}

.mt4 {
    margin-top: 4rem;
}

.mt5 {
    margin-top: 5rem;
}

.mb1 {
    margin-bottom: 1rem;
}

.mb2 {
    margin-bottom: 2rem;
}

.mb3 {
    margin-bottom: 3rem;
}

.mb4 {
    margin-bottom: 4rem;
}

.mb5 {
    margin-bottom: 5rem;
}

.pad2 {
    padding: 2rem;
}

.pad3 {
    padding: 3rem;
}

.block {
    display: block;
}

.ff-title {
    word-spacing: 0.5ch;
    font-family: 'Monoton', cursive;
    font-size: clamp(1.5rem, 9vw, 2.5rem) !important;
}

.flex {
    display: flex;
}

.flex-column {
    display: flex;
    flex-direction: column;
}

.grid {
    display: grid;
}

.uppercase {
    text-transform: uppercase;
}

.center {
    text-align: center;
}

.shadow {
    box-shadow: 0 7px 8px 0 rgba(0, 0, 0, 0.5);
}

.shadow-white {
    box-shadow: 0 7px 8px 0 rgba(255, 255, 255, 0.733);
}

.mb4 {
    margin-bottom: 4rem;
}

.text-shadow {
    text-shadow: black 1px 0 5px;
}

.w70 {
    margin-left: auto;
    margin-right: auto;
    width: 80%;
}

.margins {
    width: 95%;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 640px) {
    .margins {
        width: 90%;
    }
}

@media (min-width: 1200px) {
    .margins {
        width: 80%;
    }
}

@media (min-width: 1600px) {
    .margins {
        width: 60%;
    }
}

.primary-navigation li {
    font-size: 1.2rem;
}

h1 {
    font-size: 3rem;
}


@media (max-width: 95rem) {
    h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 70rem) {
    .w70 {
        width: 90%;
    }
}

@media (max-width: 40rem) {
    .w70 {
        width: 95%;
    }

    h1 {
        font-size: 2rem;
    }

    .primary-navigation li {
        font-size: 1.5rem;
    }

}

/**************************/
/***       welcome page ***/
/**************************/
.ff-welcome {
    font-family: 'Monoton', cursive;
    word-spacing: 0.5ch;
}

.welcome-page {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.welcome-page .h1 {

    color: white;
    position: absolute;
}

.welcome-page span {
    padding-bottom: 2rem;
    font-size: 1.5rem;
}

.welcome-button {
    text-decoration: none;
    position: relative;
    border: none;
    font-size: 1.4rem;
    font-family: inherit;
    color: #fff;
    width: 9em;
    height: 3em;
    line-height: 2em;
    text-align: center;
    background: linear-gradient(90deg, #b44747, #f441a5, #ffeb3b, #2e013c);
    background-size: 300%;
    border-radius: 30px;
    z-index: 1;
}

.welcome-button:hover {
    animation: ani 8s linear infinite;
    border: none;
}

@keyframes ani {
    0% {
        background-position: 0%;
    }

    100% {
        background-position: 400%;
    }
}

.welcome-button:before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    z-index: -1;
    background: linear-gradient(90deg, #03a9f4, #f441a5, #ffeb3b, #03a9f4);
    background-size: 400%;
    border-radius: 35px;
    transition: 1s;
}

.welcome-button:hover::before {
    filter: blur(20px);
}

.welcome-button:active {
    background: linear-gradient(32deg, #03a9f4, #f441a5, #ffeb3b, #03a9f4);
}

#background-video {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    object-position: center;
}

/**************************/
/***       body       ***/
/**************************/

body {
    position: relative;
    background: url('assets/bg2.jpg');
    background-size: cover;
    background-position: top;
    background-attachment: fixed;
    font-family: 'Montserrat', sans-serif;
}

.body-container {
    color: var(--clr-dark);
    flex-direction: column;
    justify-content: space-between;
}

.active-page {
    text-decoration: underline;
    text-underline-offset: 1rem;
}

.body-thanks {
    border: 1px solid red;
    display: flex;
    flex-direction: column;
    height: 100vh;
    justify-content: space-between;
}

/**************************/
/***       header       ***/
/**************************/

div[data-scroll-watcher] {
    position: absolute;
}

.shake-horizontal:hover {
    -webkit-animation: shake-horizontal 0.6s ease-in both;
    animation: shake-horizontal 0.6s ease-in both;
}

/* ----------------------------------------------
/**
 * ----------------------------------------
 * animation shake-horizontal
 * ----------------------------------------
 */
@-webkit-keyframes shake-horizontal {

    0%,
    100% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }

    10%,
    30%,
    50%,
    70% {
        -webkit-transform: translateX(-10px);
        transform: translateX(-10px);
    }

    20%,
    40%,
    60% {
        -webkit-transform: translateX(10px);
        transform: translateX(10px);
    }

    80% {
        -webkit-transform: translateX(8px);
        transform: translateX(8px);
    }

    90% {
        -webkit-transform: translateX(-8px);
        transform: translateX(-8px);
    }
}

@keyframes shake-horizontal {

    0%,
    100% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }

    10%,
    30%,
    50%,
    70% {
        -webkit-transform: translateX(-10px);
        transform: translateX(-10px);
    }

    20%,
    40%,
    60% {
        -webkit-transform: translateX(10px);
        transform: translateX(10px);
    }

    80% {
        -webkit-transform: translateX(8px);
        transform: translateX(8px);
    }

    90% {
        -webkit-transform: translateX(-8px);
        transform: translateX(-8px);
    }
}


.image1:hover {
    -webkit-animation: rotate-center 0.4s infinite linear both;
    animation: rotate-center 0.4s infinite linear both;
}

.action-btn,
.action-btn a {
    color: white;
    padding: 1rem 1.2rem;
    border-radius: 7px;
    background: var(--clr-turqoise);
    transition: 0.5s;
    text-shadow: none;
    font-size: 1.1rem;
    font-weight: bold;
}

.action-btn:hover,
.action-btn a:hover {
    background: var(--clr-dark);
    color: white;
    cursor: pointer;
    text-shadow: none;
}


/* * ----------------------------------------
 * animation rotate-center
 * ----------------------------------------
 */

@-webkit-keyframes rotate-center {
    0% {
        -webkit-transform: rotate(0);
        transform: rotate(0);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes rotate-center {
    0% {
        -webkit-transform: rotate(0);
        transform: rotate(0);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

header {
    box-sizing: content-box;
    padding-top: 0.5rem;
    height: 6rem;
    position: fixed;
    z-index: 2;
    flex-direction: row;
    align-items: center;
    position: sticky;
    top: 0;
    transition: background 800ms ease-in-out;
}

@keyframes AnimationName {
    0% {
        background-position: 0% 50%
    }

    50% {
        background-position: 100% 50%
    }

    100% {
        background-position: 0% 50%
    }
}

.header {
    position: relative;
    flex-wrap: wrap;
    justify-content: space-between;
}


.logo {
    height: 6.5rem;
    align-items: center;
    justify-content: start;
}

.mobile-nav-toggle {
    display: none;
}

.image {
    padding: 1rem 0.2rem;
}

nav {
    font-size: 1.3rem;
}


.ff-title-nav {
    font-size: 1.2rem;
    word-spacing: 0.5ch;
    font-family: 'Monoton', cursive;
}

.primary-navigation {
    position: relative;
    padding: 1rem 0;
    flex-direction: row;
    justify-items: space-evenly;
    column-gap: 2.5rem;
    list-style-type: none;
    z-index: 2000;
}

.link-nav {
    color: #0D13A8;
    transition: 0.3s;
    font-weight: bold;
}

.link-nav:hover {
    text-underline-offset: 0.8rem;
    color: var(--clr-dark);
}


@media (max-width: 61em) {

    .mobile-nav-toggle {
        display: block;
        position: absolute;
        aspect-ratio: 1/1;
        z-index: 9999;
        top: 2rem;
        right: 2rem;
        background-color: transparent;
        background-image: url('open.svg');
        background-size: contain;
        background-repeat: no-repeat;
        cursor: pointer;
        width: 3rem;
    }

    .mobile-nav-toggle[data-expanded="true"] {
        background-image: url('close.svg');
        background-repeat: no-repeat;
        width: 3rem;

    }

    .primary-navigation {
        position: fixed;
        height: 100vh;
        padding-top: 30%;
        margin: 0;
        background: rgba(255, 255, 255, 0.8);
        backdrop-filter: blur(5px);
        row-gap: 3rem;
        align-items: center;
        flex-direction: column;
        inset: 0 0 0 30%;
        transform: translateX(100%);
        transition: transform 500ms ease-in;
    }

    .primary-navigation[data-visible="true"] {
        transform: translateX(0%);

    }

    @supports (backdrop-filter: blur(1.2rem)) {


        .primary-navigation {
            background: rgba(255, 255, 255, 0.8);
            backdrop-filter: blur(5px);
        }
    }
}

.background-dark {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    box-shadow: 0 7px 8px 0 rgba(126, 125, 125, 0.5);

}

@supports (backdrop-filter: blur(0.5rem)) {


    .background-dark {
        background: rgba(255, 255, 255, 0.8);
        backdrop-filter: blur(5px);
    }
}

@media (max-width: 35rem) {

    .mobile-nav-toggle {
        top: 1.8rem;
        right: 1.5rem;
        width: 2rem;
    }

    .image1 {
        display: none;
    }
}

/**************************/
/*    ANIMATIONS        ***/
/**************************/


@media (min-width: 800px) {

    .hide-animation {
        transform: translateY(50%);
        opacity: 0.1;
    }


    .show-animation {
        transform: translateY(0);
        opacity: 1;
        transition: all 0.9s;
    }


}

/**************************/
/***        HERO        ***/
/**************************/

.hero-section {
    color: var(--clr-dark);
    column-gap: 2rem;
    min-height: 40vh;
}

.hero-inside {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}


.hero-left {
    margin: auto;
    gap: 2.5rem;
    max-width: 550px;
    padding: 1rem;
}

.hero-right {
    margin: auto;
    width: 90%;
}

@media (max-width: 61rem) {
    .hero-inside {
        padding-top: 4rem;
        grid-template-columns: 1fr;
    }
}

@media (max-width: 550px) {
    .hero-left {
        align-items: center;
        text-align: center;
    }


}



.action-buttons {
    gap: 1rem;

}

@media (max-width: 550PX) {
    .action-buttons {
        flex-direction: COLUMN;
    }
}


.button-hero2 {
    background-color: var(--clr-purple);
    color: white;
}

.button-hero2:hover {
    background-color: var(--clr-dark);
}

/* 
h1 {
    margin-bottom: 1.5rem;
} */


.photo {
    border-radius: 10px;
    flex-direction: column;
    color: var(--clr-dark);
    box-shadow:
        0px 3em 2em -1em rgba(0, 0, 0, .2),
        0px 2em 1.5em -1em rgba(0, 0, 0, .15);
    max-width: 100%;
}

.photo-frame {
    align-items: center;
}

.photo img {
    padding: 1rem .8rem 0 .8rem;
    width: 100%;
}

.photo span {
    font-size: 1.8rem;
    padding: 1rem 2rem;
    font-family: 'Shadows Into Light', cursive;
    letter-spacing: 0.3ch;
}

@media (min-width: 55rem) and (max-width: 70rem) {
    .photo span {
        font-size: 1.5rem;
    }
}



/**************************/
/***  devies display      */
/**************************/
.devices-img {
    height: auto;
    width: 100%;
}



/**************************/
/***        projects    ***/
/**************************/

.projects-wrapper h2 {
    color: var(--clr-dark);
}

.projects__grid {
    display: grid;
    padding: 5rem 2rem;
    place-items: center;
    grid-template-columns: 1fr;
    /* width: 100vw; */
    gap: 2rem;
}

.project__item {
    gap: 2rem;
    padding: 2rem;
    align-items: center;
    width: 100%;
}

.project__item--img {
    width: 50%;
}

.project__item--img img {
    width: 100%;
}

.project__item--text {
    justify-content: center;
    width: 50%;
}

.project__item--text a {
    color: var(--clr-dark);
    text-decoration: underline;
}

.project__item--text article {
    max-width: 450px;
}

.project__item--text .action-btn {
    text-decoration: none;
    color: white;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

@media (max-width: 61em) {
    .project__item {
        flex-direction: column;
        padding: 1rem;
    }

    .project__item--text {
        width: 100%;
    }

    .project__item-reverse {
        flex-direction: column-reverse;
    }

    .project__item--img {
        width: 100%;
    }
}



.other-work {
    width: 100%;
}

.other-work__item {
    width: 100%;
}

.other-work__item img {
    width: 100%;
}

.other-work__item img:hover {
    cursor: pointer;
    transform: scale(1.1)
}

@media (max-width: 650px){
    .other-work {
        flex-direction: column;
        gap: 2rem;
    }
}

/**************************/
/***     CONTACT-pag  ***/
/**************************/

.form-inputs {
    flex-direction: column;
    justify-items: space-between;
    row-gap: 1rem;
    margin-bottom: 2rem;
    height: auto;
}

input,
textarea {
    padding: 0.5rem;
    border-radius: 5px;
}

.contact-form button {
    padding: 1rem 3rem;
    border-radius: 7px;
    background: var(--clr-turqoise);
    font-weight: bold;
    transition: 0.5s;
}

.form-button {
    justify-content: center;
}


.contact-form button:hover {
    background: var(--clr-purple);
    color: white;
    cursor: pointer;
}


.contact-form,
.calendly {
    padding: 2rem;
    border-radius: 7px;
}

.form-and-calendly {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    column-gap: 1rem;
    row-gap: 3rem;
    margin-bottom: 4rem;
}

.calendly {
    width: 50%;
    flex-direction: column;
    min-height: 400px;
    justify-content: space-between;
}

.calendly hr,
#faq hr {
    height: 1px;
    width: 95%;
    color: white;
    margin: 1rem 0;
}


@media (max-width: 61rem) {

    .contact-form,
    .calendly {
        width: 100%;
    }
}

.contact__options {
    padding-inline: 5%;
    grid-template-columns: 1fr 1fr 1fr;
    place-items: center;
    gap: 3rem;
}

@media(max-width: 550px) {
    .contact__options {
        grid-template-columns: 1fr;
    }
}

.contact__item p {
    font-weight: bold;
    color: var(--clr-dark);
    font-size: 1.3rem;
}


.contact__item i {
    color: var(--clr-dark);
    font-size: 3rem;
}

.contact__item p:hover,
.contact__item i:hover {
    color: var(--clr-turqoise);
}

/**************************/
/***     PROJECTS-pag  ***/
/**************************/

.espo-transport {
    border-radius: 5px;
    padding: 2rem;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    justify-content: space-between;
}

.espo-left img {
    width: 400px;
}

@media (max-width: 750px) {
    .espo-transport {
        grid-template-columns: 1fr;
    }

    .espo-left img {
        width: 100%;
        margin: auto;
    }
}

.espo-transport img:hover {
    transform: scale(1.1);
    transition: 500ms ease-in;
}

.espo-right {
    align-items: center;
    justify-content: center;
}

/* *********************** */

@media (max-width: 61rem) {

    .project-overlay {
        flex-direction: column;
        margin-bottom: 3rem;
    }
}

.project-title {
    font-size: 2rem;
    font-weight: bold;
}

.project-description {
    margin-top: 2rem;
    font-size: 1rem;
}

.projects-page {

    gap: 6rem;
    align-items: center;
    justify-content: center;
    margin-bottom: 0 auto 4rem auto;
}

.website-title {
    align-items: center;
    justify-content: center;
}

.project-website {
    display: flex;
    flex-direction: column-reverse;
    width: 90%;
    padding: 3rem;
    border-radius: 7px;
}

.project-image {
    display: block;
}


.see-website-btn,
.see-website-btn a {
    color: var(--clr-dark);
    padding: 1rem 2rem;
    border-radius: 7px;
    background: var(--clr-turqoise);
    transition: 0.5s;
    margin-top: 2rem;
    font-weight: bold;
}

.see-website-btn:hover,
.see-website-btn a:hover {
    background: var(--clr-purple);
    color: white;
    cursor: pointer;
}

.separator {
    margin: 2rem;
}

@media (min-width: 61rem) {

    .project-website {
        position: relative;
        width: 45%;
    }


    .project-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(21, 9, 87, 0.7);
        color: white;
        padding: 2rem;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        opacity: 0;
        transition: opacity 600ms ease;
        border-radius: 7px;
        z-index: 0;
    }

    .project-overlay:hover {
        opacity: 1;
    }

    .project-overlay>* {
        transform: translateY(350px);
        transition: transform 0.25s;
    }

    .project-overlay:hover>* {
        transform: translateY(0)
    }


    .project-description {
        margin-top: 2.5rem;
        font-size: 1.3rem;
    }

    .see-website-btn,
    .see-website-btn a {
        margin-top: 2rem;
    }

}


/**************************/
/***       ABOUT       ***/
/**************************/


.about-me-content {
    grid-template-columns: 1fr;
    min-height: 500px;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    border-radius: 7px;
}


.about-me-top p {
    margin-bottom: 1rem;
    text-align: justify;
}

.about-me-text {
    align-items: center;
    justify-content: center;
}

.about-me-right img {
    max-height: 350px;
    width: auto;
}

@media (max-width: 61rem) {

    .about-me-text {

        flex-direction: column;
    }

}

.title {
    font-size: 2rem;
}

li {
    margin-bottom: 1rem;
}

.logos-paragraph {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 1rem;
}

.course-logo {
    margin: 0.5rem;
    float: right;
}

.course-logos {
    gap: 1rem;
}

.about-me-left li a:hover {
    color: var(--clr-turqoise);
}

.education {
    max-width: 95vw;
}

.education a:hover {
    color: var(--clr-dark);
}

/**************************/
/***       THANKS       ***/
/**************************/

.thanks {
    margin-top: 10vh;
}

/**************************/
/***  Cookies and PP   ***/
/**************************/
.privacy-policy,
.cookies {
    padding: 3rem;
    border-radius: 7px;
    margin-bottom: 4rem;
}

.privacy-policy h2,
.cookies h2 {
    margin-top: 2rem;
}

/**************************/
/***       FOOTER       ***/
/**************************/

footer {
    color: white;
    position: relative;
    padding: 0rem 15%;
    width: 100%;
    padding: 1rem 0;

}

.fa-arrow-up {
    position: absolute;
    top: -4rem;
    right: 5%;
    padding: 1rem 1.2rem;
    color: white;
    font-size: 2rem;
}

.fa-arrow-up:hover {
    color: var(--clr-dark);
}

.footer-content {
    padding-top: 2rem;
    flex-direction: row;
    flex-wrap: wrap;
    row-gap: 2rem;
    column-gap: 2rem;
    justify-content: space-between;
    align-items: start;
}


@media (max-width: 38rem) {
    .footer-content {
        flex-direction: column;
    }
}

.text-link a {
    line-height: 1rem;
    font-weight: bold;
    transition: color 0.3s ease;
}

.text-link h3 {
    color: var(--clr-dark);
    font-size: 1.3rem;
}

.text-link a:hover {
    cursor: pointer;
    color: var(--clr-dark);
}

.footer-social img {
    background-color: var(--clr-dark);
    padding: 1.1rem;
    margin: 0.5rem;
    border-radius: 5px;
    height: 60px;
}

.footer-social img:hover {
    background-color: var(--clr-turqoise);
}

.footer-contact {
    z-index: 0;
    position: relative;
    display: inline-block;
    transition: color 1s ease;
}

.contact-icon-footer {
    margin-right: 1rem;
}

.contact-info {
    margin-bottom: 1rem;
}

.flex-align {
    display: flex;
    align-items: center;
    gap: 1rem;
}

hr.hr-white {
    color: white;
    margin-bottom: 1.5rem;
}




.nav-blog {
    top: 3.8rem;
    letter-spacing: 0.5ch;
    left: 9rem;
    color: var(--clr-turqoise);
    position: absolute;
    font-family: 'Marck Script', cursive;
    font-size: 2rem;
    text-transform: none;
}
