:root {
    --font-color: #F9F9F9;
}

[lang="ru"] {
    font-family: "Inter", sans-serif;
}

* {
    margin: 0;
    text-decoration: none;
    box-sizing: border-box;
}

body {
    background-color: #1A1A2E;
    font-family: "Aldrich", sans-serif;
    color: var(--font-color);
}

.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("../assets/hero-section-bg.svg");
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.head-wrapper {
    display: flex;
    justify-content: space-between;
}

.language_header {
    display: flex;
    justify-content: flex-end;
    padding: 12px;
}

.top-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.headline {
    margin-bottom: 12px;
    opacity: 0;
    filter: blur(5px);
    transform: translateX(-100%);
    transition: all 1s;
    z-index: -1;
}

.show {
    opacity: 1;
    filter: blur(0);
    transform: translateX(0);
}

.top-section p {
    margin: 12px;
}

.social-links-section {
    display: flex;
    flex-direction: row;
    gap: 32px;
    border: 2px solid rgba(255, 255, 255, 0.732);
    padding: 12px 32px;
    border-radius: 12px
}

.link-icons {
    transition: .3s;
}

.link-icons:hover {
    transform: scale(1.02);
    filter: blur(1px);
}

/* From Uiverse.io by TCdesign-dev */
#bottone1 {
    padding-left: 33px;
    padding-right: 33px;
    padding-bottom: 16px;
    padding-top: 16px;
    border-radius: 9px;
    background: #E94560;
    border: none;
    font-family: inherit;
    text-align: center;
    cursor: pointer;
    transition: 0.4s;
    box-shadow: 4px 4px 10px #000000;
}

#bottone1:hover {
    box-shadow: 7px -7px 24px #e9456083;
}

#bottone1:active {
    transform: scale(0.97);
    box-shadow: 7px 5px 56px -10px #a3293e;
}



.about-section {
    display: flex;
    align-items: center;
}

.right-text-section {
    margin: 16px;
}

.tech-illustration {
    width: 35%;
}

/* Techstack Section */
.techstackSection {
    margin: 12px;
    text-align: center;
}

.techstackSection h1 label {
    font-size: 3rem;
    background: #ff9b18;
    background: linear-gradient(to right, #ff9b18 0%, #ff2a2a 88%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@keyframes slide {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

.logos {
    overflow: hidden;
    padding: 60px 0;
    white-space: nowrap;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.61);
}

.logos-slide {
    animation: 15s slide infinite linear;
    display: inline-block;
}

.logos-slide img {
    height: 80px;
    margin: 0 40px;
}

/*Contact section*/
.contactSection {
    background-color: #0f3460;
    border-radius: 6px;
    padding: 20px;
}

.contactSection h2 {
    text-align: center;
    margin-bottom: 20px;
}

#contactForm {
    max-width: 600px;
    margin: 0 auto;
}

form button {
    display: block;
    width: 100%;
    margin-top: 15px;
    padding: 10px;
}

#statusMessage {
    font-weight: bold;
    font-size: 24px;
    color: rgb(112, 187, 0);
}

/* footer */

.footer {
    margin-top: 50px;
    color: white;
    background-color: #136bcffd;
}

.link {
    text-decoration: none;
}

.link:hover {
    text-decoration: underline;
}


.attributions-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 32px;
}

/* Projects Section */
.projects-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.projects-section-top {
    padding: 12px;
}

.projects-container {
    margin-bottom: 32px;
}

.work-container {
    background-color: #2a3e5e;
    border-radius: 8px;
    padding: 12px;
    transition: 0.2s;
    margin: 32px;
    max-width: 700px;
}

.work-container:hover {
    background-color: #9cacc7;
    color: black;
    cursor: pointer;
    rotate: 2deg;
}

.work-container a {
    color: #c6d2ee;
    text-decoration: none;
    transition: 0.2s;
}

.work-container:hover a {
    color: black;
}

.links-container {
    display: flex;
    justify-content: space-evenly;
}

.work-container h2 {
    margin-bottom: 0;
}

.work-container span {
    display: flex;
    align-items: center;
    justify-content: center;
}

.work-container span img {
    width: 30px;
    margin-right: 6px;
}

/** BG */
.background {
    width: 100%;
    height: 100%;
    --s: 200px;
    --c1: #0a0f1f;
    /* Dunkles Blau */
    --c2: #1c2a3a;
    /* Blaugrau */
    --c3: #142030;
    /* Tiefes Marineblau */


    background: repeating-conic-gradient(from 30deg,
            #0000 0 120deg,
            var(--c3) 0 180deg) calc(0.5 * var(--s)) calc(0.5 * var(--s) * 0.577),
        repeating-conic-gradient(from 30deg,
            var(--c1) 0 60deg,
            var(--c2) 0 120deg,
            var(--c3) 0 180deg);
    background-size: var(--s) calc(var(--s) * 0.577);
}