/** fonts */
@font-face {
  font-family: 'Roboto Flex';
  src: url('../fonts/RobotoFlex-VariableFont.woff2') format('woff2-variations');
  font-weight: 100 1000;
  font-stretch: 25% 151%;
  font-style: oblique 0deg 12deg;
  font-display: swap;
}

/** images, video */
img, video {max-width: 100%;}

/** helpers */
.margin--3 {margin-top: -3rem}

/** main */

html {height: 100%;}

body {display: flex; flex-direction: column; height: 100%; background-color: #000; font-family: 'Roboto Flex', sans-serif;}

header {height: calc(60px + 2rem); padding-top: 2rem; position: relative; z-index: 1;}

.moskvin-menu-link {
    color: #fff;
    text-transform: uppercase;
    font-weight: 800;
    text-decoration: none;
    position: relative;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
}

.moskvin-menu-link + .moskvin-menu-link {
    margin-left: 1rem;
}

.moskvin-menu-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #2AA971, #4ECDC4);
    transition: width 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 2px;
}

.moskvin-menu-link:hover {
    color: #2AA971;
    transform: translateY(-2px);
    text-shadow: 0 2px 10px rgba(42, 169, 113, 0.3);
}

.moskvin-menu-link:hover::before {
    width: 100%;
}

.moskvin-social-link {
    color: #fff;
    font-size: 1.5rem;
    margin: 0 .25rem;
    padding: 8px;
    border: 2px solid transparent;
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
}
.moskvin-social-link:hover {
    color: #2AA971;
    border-color: #2AA971;
    background: rgba(42, 169, 113, 0.1);
    transform: scale(1.2) rotate(15deg);
    box-shadow: 
        0 0 0 8px rgba(42, 169, 113, 0.2),
        0 0 20px rgba(42, 169, 113, 0.4);
}

.moskvin-hello {height: 100vh; margin-top: -92px; overflow: hidden;}
.moskvin-hello::after {
    content: ''; 
    position: absolute; 
    top: 0; 
    bottom: 0; 
    left: 0; 
    right: 0; 
    background-color: #000;
    background: linear-gradient(0deg,rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.3) 10%, rgba(0, 0, 0, 0) 100%);
}

.content {flex: 1 0 auto;}

.moskvin-hello-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.moskvin-white-box {
    background-color: #fff; 
    border-radius: 3.125rem; 
    padding: 6.25rem 0;
    margin-left: .5rem;
    margin-right: .5rem;
    position: relative;
}

.moskvin-absolute-descriptor {position: absolute; left: 0; right: 0; text-align: center; top: -2.25rem; color: #fff;}

.moskvin-absolute-arrow {position: absolute; left: 0; right: 0; text-align: center; top: .85rem;}

footer {flex: 0 0 auto;}

/** keyframes */