@charset "UTF-8";

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

:root {
    --grey: #1f1f1f;
    --orange: #ff5517;
    --white: #ffffff;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    color: var(--grey);
}

.iubenda-cs-brand-badge-outer {
    visibility: hidden !important;
}

/* start cursor */

.cursor {
    display: block;
    width: 60px;
    height: 60px;
    position: absolute;
    margin-top: -20px;
    margin-left: -20px;
    transform: translate(-50%);
    border-radius: 50%;
    background: transparent;
    pointer-events: none;
    z-index: 111;
    border: 2px solid var(--orange);
    transition: all 0.2s ease-out;
    animation: moveCursor1 .5s infinite alternate;
}

.expand {
    background: transparent;
    animation: moveCursor2 .5s forwards;
    border: 1px solid var(--orange);
}

.cursor.hover-target {
    border-color: var(--grey);
}

@keyframes moveCursor1 {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(.8);
    }
}

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

    50% {
        transform: scale(2);
    }

    100% {
        transform: scale(1);
        opacity: 0;
    }
}

.a-link {
    cursor: pointer;
}

/* end cursor */

/* start generic */

body {
    background-color: var(--grey);
    font-family: "Josefin Sans", sans-serif;
    overflow-x: hidden;
}

a {
    text-decoration: none;
}

h1 {
    font-size: 11vw;
}

h2 {
    font-size: 50px;
    font-weight: bold;
}

h3 {
    font-size: 26px;
    font-weight: normal;
}

h1,
h2,
h3 {
    color: var(--orange);
}

h1 span,
h2 span,
h3 span,
p span {
    display: inline-block;
}

p {
    font-size: 18px;
}

/* end generic */

/* start hero */

.hero {
    background-image: url(/media/img/hero-bg.png);
    background-color: var(--grey);
    background-position: center bottom;
    background-size: contain;
    background-repeat: no-repeat;
    height: 100svh;
    width: 100vw;
    position: relative;
}

.header {
    height: 80px;
    width: 100vw;
    padding: 25px 5%;
    animation: headerAnimation 1s ease-in-out;
}

@keyframes headerAnimation {
    0% {
        transform: translateY(-20px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.nav-bar .name,
.nav-anchors a {
    color: var(--orange);
}

.nav-bar {
    display: flex;
    justify-content: space-between;
}

.nav-anchors a {
    margin-left: 25px;
}

.hero-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 5%;
}

.title {
    background-image: url(/media/img/arrow-down-right.svg);
    background-position: top left;
    background-size: 40px;
    background-repeat: no-repeat;
    padding: 40px 0 0 50px;
    width: fit-content;
    margin-top: -50vh;
    animation: titleAnimation 1s ease-in-out;
    font-size: 26px;
}

@keyframes titleAnimation {
    0% {
        transform: translate(-20px, -20px);
        opacity: 0;
    }

    100% {
        transform: translate(0);
        opacity: 1;
    }
}

.marquee {
    width: 100%;
    font-size: 11vw;
    display: flex;
    position: absolute;
    bottom: 20px;
    overflow: hidden;
    animation: marqueeAnimation 1s ease-in-out;
}

@keyframes marqueeAnimation {
    0% {
        transform: translateY(40px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.marquee ul {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
    min-width: 100%;
    user-select: none;
    animation: scroll 40s linear infinite;
}

@keyframes scroll {
    to {
        transform: translateX(calc(-100%));
    }
}

.marquee ul li span {
    color: var(--orange);
    font-weight: bold;
}

.button {
    background-color: rgba(255, 255, 255, .3);
    height: 70px;
    width: 250px;
    border-radius: 50px 0 0 50px;
    position: absolute;
    right: -165px;
    transition: all .8s ease-in-out;
    animation: openButton 1s ease-in-out;
    overflow: hidden;

}

@keyframes openButton {
    0% {
        transform: translateX(100px);
        opacity: 0;
    }

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

.button-icon {
    position: absolute;
    height: 50px;
    width: 50px;
    background-color: var(--orange);
    animation: button-bg 1s linear infinite;
    background-image: url(/media/img/house.svg);
    background-size: 20px;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 50%;
    top: 10px;
    left: 10px;
}

@keyframes button-bg {
    to {
        background-color: rgba(255, 85, 23, 0);
        height: 70px;
        width: 70px;
        top: 0px;
        left: 0px;
    }
}

.button-text {
    position: absolute;
    top: 29px;
    left: 90px;
    color: var(--white);
    font-size: 14px;
}

.button:hover {
    right: 0;
    transition: all .8s ease-in-out;
}

.buy {
    margin-top: -200px;
}

/* end hero */

/* start about */

.about {
    background-color: var(--orange);
    position: relative;
}

.about-header {
    padding: 25px 5%;
}

.about-header .nav-bar .name,
.about-header .nav-bar a {
    color: var(--grey);
}

.about-name {
    padding: 15px 0;
}

.about-name img {
    max-width: 100%;
}

.about-text {
    margin: 100px 5% 0;
    display: flex;
}

.about-text .about-text-child:first-child p {
    font-size: 24px;
}

.about-text .about-text-child:last-child {
    margin-left: 10%;
}

.circle-button {
    position: relative;
    height: 200px;
    width: 200px;
    border-radius: 50%;
    margin-top: 20%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    font-size: 18px;
    overflow: hidden;
    background-color: transparent;
    color: black;
    z-index: 0;
    transition: color .8s ease;
}

.circle-button::before {
    content: '';
    position: absolute;
    background-color: var(--white);
    border-radius: 50%;
    width: 200%;
    height: 200%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform .8s ease;
    z-index: -1;
}

.circle-button:hover::before {
    transform: translate(-50%, -50%) scale(1);
}

.circle-button:hover {
    color: var(--grey);
}


.grey-button {
    color: var(--orange);
    background-color: var(--grey);
}

.orange-button {
    color: var(--grey);
    background-color: var(--orange);
}

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100svh;
    background-color: var(--orange);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.8s ease;
}

.popup-overlay.active {
    opacity: 1;
    pointer-events: auto;
    overflow: hidden;
}

.popup {
    width: 90vw;
    height: 90svh;
    background: var(--grey);
    display: flex;
    border-radius: 50px;
}

.popup-content {
    padding: 5%;
    align-items: center;
    border-radius: 12px;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease;
}

.popup-content p {
    max-width: 60%;
    color: var(--white);
}

.popup-overlay.active .popup-content {
    transform: translateY(0);
    opacity: 1;
}

.close-button {
    right: 5%;
    position: absolute;
    top: 5%;
    background: none;
    border: 2px solid var(--orange);
    color: var(--white);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    padding: 0 0 3px 0;
}

.contact-button {
    right: 5%;
    position: absolute;
    bottom: 5%;
}

.hidden {
    display: none;
    overflow: auto;
}

/* end about */

/* start services */

.services {
    background-color: var(--orange);
    padding-bottom: 5%;
}

.services-title {
    padding: 25px 5%;
}

.service h3 {
    color: var(--grey);
}

.service {
    padding: 25px 5%;
    color: var(--grey);
    border-top: var(--grey) 1px solid;
}

.service h3 {
    transition: all .8s ease-in-out;
}

.service:last-child {
    border-bottom: var(--grey) 1px solid;
}

.service h3:hover {
    transform: translateX(20px);
    transition: all .8s ease-in-out;
}

/* end services */

/* start contact */

.contact {
    background-image: url(/media/img/hero-bg.png);
    background-color: var(--grey);
    background-position: left bottom;
    background-size: contain;
    background-repeat: no-repeat;
    height: 100svh;
    width: 100vw;
    position: relative;
    margin-top: -250px;
}

.contact .marquee {
    bottom: 100px;
}

.contact-title {
    padding: 5%;
    display: flex;
    justify-content: space-between;
}

.contact-title {
    text-align: center;
}

.contacts-block {
    margin: 0 5%;
}

.instagram {
    color: var(--orange);
}

.contact-title p {
    color: var(--white);
    text-align: right;
    font-weight: 300;
    width: 72vh;
}

.contact-title b {
    color: var(--white);
}

.contact-title p div {
    color: var(--orange);
}

.contacts {
    width: 100%;
    text-align: end;
}

.contacts a {
    color: var(--white);
    padding: 25px 50px;
    border-radius: 50px;
    border: 2px solid var(--orange);
    position: relative;
    display: inline-block;
    font-family: sans-serif;
    overflow: hidden;
    text-align: center;
}

.contacts a:first-child {
    margin-right: 50px;
}

.copyright {
    position: absolute;
    bottom: 10px;
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 0 5%;
}

.copyright div a,
.copyright div {
    color: var(--white);
    font-size: 14px;
}

.credits a {
    color: var(--orange) !important;
}

/* end contact */

.split .word {
  display: inline-block;
  white-space: normal;
}
