:root {
    --bg: #131313;
    --text: #efefef;
    --contrast: #ffffff;
    --primary: #ad00ff;
    --accent: #00ffd1;

    --radius: 25px;
    --indent: 50px;
}

:root .invert {
    --bg: #ffffff;
    --text: #131313;
    --contrast: #000000;
}

@media (max-width: 700px) {
    :root {
        --indent: 20px;
        --radius: 10px;
    }
}

html {
    /* height: 100%; */
    min-height: 100%;
    background-color: var(--bg);
    scroll-behavior: smooth;
    overflow-x: hidden;
}

header,
footer,
section {
    background-color: var(--bg);
    color: var(--text);
    padding: 50px 0;
}

header {
    padding-top: 0;
}

body {
    margin: 0;
    min-height: 100%;
    font-family: "Montserrat", sans-serif;
    overflow-x: hidden;
}

.shadow {
    text-shadow: 0 5px 20px var(--accent);
}

p {
    max-width: 500px;
    line-height: 1.5em;
}

h1 {
    font-size: 64px;
}

h2 {
    font-size: 48px;
}
h3 {
    font-size: 24px;
}

.button {
    border: none;
    padding: 10px 20px;
    background-color: var(--text);
    color: var(--primary);
    transition: 0.3s ease-in-out;
    cursor: pointer;
    outline: none;
    text-decoration: none;
    text-align: center;
}

.button.accent {
    background-color: var(--primary);
    color: var(--text);
}

.button:hover {
    transform: scale(0.97);
}
.button:active {
    transform: scale(0.95);
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 10%;
}

@media (max-width: 700px) {
    .container {
        padding: 15px;
    }
}

/* SCROLLBAR */

/* width */
::-webkit-scrollbar {
    width: 15px;
}

/* Track */
::-webkit-scrollbar-track {
    background: var(--bg);
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: var(--contrast);
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

::-webkit-scrollbar-thumb:active {
    background: var(--accent);
}

/* HELLO */

#hello {
    position: relative;
    overflow: hidden;
}

#hello .logo {
    max-width: 100%;
}

.hello-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
}

.hello-container .actions {
    display: grid;
    gap: 10px;
    grid-template-columns: 1fr 1fr;
}

@media (max-width: 700px) {
    .hello-container .actions {
        grid-template-columns: 1fr;
        width: 100%;
    }
}

#hello .overlay {
    pointer-events: none;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    height: 100%;
    width: 100%;
    transition: 0.5s ease-in-out;
}

.hello-container:hover + .overlay.gradient {
    transform: scale(1.3);
}

#hello .overlay.gradient {
    mix-blend-mode: screen;
    width: 80%;
    opacity: 0.3;
    filter: blur(10px);
    background: radial-gradient(var(--accent), #00ffd100 60%);
}

#hello .overlay.car {
    object-fit: cover;
    mix-blend-mode: screen;
    opacity: 0.3;
}

.hello-text {
    font-size: 24px;
}

#hello .scroll-down a {
    display: flex;
    align-items: center;
    color: white !important;
    padding: 30px;
    transform: translateX(-25px);
}

/* PRODUCTS */

#products .plate {
    width: 30%;
}

@media (max-width: 700px) {
    .plates {
        flex-direction: column;
    }

    #products .plate {
        width: 100%;
    }
}

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

.plate .plate-icon {
    font-size: 100px;
}

/* CASES */
#cases {
}

.card {
    position: relative;
    max-width: 500px;
    max-height: 500px;
    margin-left: 100px;
    margin-bottom: 100px;
    min-width: 320px;
    display: block;
    color: inherit;
    transition: 0.3s ease-in-out;
}

.card:hover {
    transform: scale(0.97);
}

.card:nth-last-of-type(even) {
    margin-left: auto;
}

.card .card-bg {
    overflow: hidden;
    background-color: var(--contrast);
    border-radius: var(--radius);
    padding: var(--indent);
    display: flex;
    align-items: center;
    justify-content: center;
}

.card .card-shadow {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(to top right, #000b, #0000 50%);
}

.card .card-content {
    position: absolute;
    bottom: -50px;
    left: calc(var(--indent) * -2);
    width: 270px;
}

@media (max-width: 1200px) {
    .card {
        margin: 0;
        margin-bottom: 200px;
    }
    .card .card-content {
        bottom: unset;
        top: 95%;
        left: 10px;
    }
}

.card .card-content hr {
    border: 1px solid var(--accent);
    transition: 0.3s ease-in-out;
}

.card:hover .card-content hr {
    transform: translateX(-50px);
}

#contacts .material-icons {
    transform: translateY(5px);
    margin-right: 10px;
}

/* ARCHIVE BANNER */
.archive-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100001;
    background: linear-gradient(90deg, #e5004c, #ff2d78);
    color: #ffffff;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 0.05em;
    line-height: 36px;
    height: 36px;
    overflow: hidden;
    box-shadow: 0 2px 20px rgba(229, 0, 76, 0.5);
}

.archive-banner-track {
    display: flex;
    width: max-content;
    animation: archive-marquee 60s linear infinite;
}

.archive-banner-track span {
    white-space: nowrap;
}

.archive-banner-track span::after {
    content: "•";
}

.archive-banner-track i,
.archive-banner-track span::after {
    font-style: normal;
    margin: 0 25px;
    opacity: 0.65;
}

@keyframes archive-marquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .archive-banner-track {
        animation: none;
    }
}

body {
    padding-top: 36px;
}

.hello-container {
    min-height: calc(100vh - 36px);
}

/* TEAM */
.people {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: var(--indent);
}

@media (max-width: 1200px) {
    .people {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 700px) {
    .people {
        grid-template-columns: 1fr;
    }
}

.person img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    object-position: top;
}

#contacts h3 {
    font-weight: lighter;
}
#contacts a {
    font-weight: bold;
    color: var(--accent);
}

/* .person {
    color: #6212e5;
    width: 46%;
    margin-top: 50px;
    background-color: white;
    border-radius: 15px;
    padding: 20px;
    box-sizing: border-box;
    margin: 10px;
}
.person img {
    height: 50px;
} */

@media (max-width: 600px) {
    .person {
        width: 100%;
    }
}

.person h3 a {
    color: inherit;
    text-decoration: none;
    border-bottom: 2px solid var(--primary);
}

.person h3 a:hover {
    color: var(--primary);
}
