* {
    user-select: none;
}

/* ================ Fonts ================ */
@font-face {
    font-family: 'Inria Sans';
    src: url('/src/fonts/InriaSans-Light.ttf');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Inria Sans';
    src: url('/src/fonts/InriaSans-Regular.ttf');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Inria Sans';
    src: url('/src/fonts/InriaSans-Bold.ttf');
    font-weight: 700;
    font-style: normal;
}

/* ================ Global ================ */
body {
    margin: 0;
    font-family: 'Inria Sans', sans-serif;
}

/* ================ Header ================ */
header {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
    font-weight: 300;
    background: linear-gradient(90deg, #C7C4C7 13.23%, #8C8B8E 86.68%);
}

.header__left-block {
    display: flex;
    align-items: center;
    margin: 0 0 0 21px;
}

.header__left-block a {
    color: black;
}

.header__left-block-logo-description {
    display: none;
}

.logo {
    width: 79px;
    height: 55px;
    margin-top: 7px;
    mix-blend-mode: difference;
}

nav ul {
    margin: 0;
    padding: 0;
}

nav ul li {
    display: inline;
    margin: 0 20px;
}

nav ul li a {
    color: black;
}

/* ================ Media Queries ================ */
@media only screen and (max-width: 840px) {
    header {
        justify-content: space-between;
    }

    .header__left-block-logo-description {
        display: block;
    }

    nav {
        display: none;
        z-index: 2;
        position: absolute;
        top: 60px;
        right: 20px;
    }
    
    nav ul {
        margin: 0;
        padding: 0;
    }
    
    nav ul li {
        display: block;
        margin: 5px 0 0 0;
        padding: 10px;
        background-color: black;
    }
    
    nav ul li a {
        color: white;
    }
    
    .burger-menu {
        width: 55px;
        height: 30px;
        margin-right: 50px;
        background-image: url('/src/img/burger-menu__icon.svg');
    }
}

/* ================ Analyser Section ================ */
.analyser {
    position: relative;
    margin: auto;
    max-width: 840px;
    height: 534px;
    padding: 10px;
    overflow: hidden;
    background: linear-gradient(90deg, #C8C5C8 0%, #8C8B8E 100%);
    box-shadow: 
        0px 4px 4px rgba(0, 0, 0, 0.25), 
        inset 1px 0px 0px rgba(255, 255, 255, 0.34);
}

.laser {
    width: 110%;
    height: 12px;
    opacity: 0.64;
    background: linear-gradient(
        180deg, 
        rgba(43, 255, 0, 0) 0.95%, 
        #2BFF00 51.45%, 
        rgba(43, 255, 0, 0) 98%
    );

    animation: laser-move 10s ease-in-out infinite;
}

@keyframes laser-move {
    0% {
        transform: translateY(-50px);
        opacity: 0.8;
    }
    50% {
        transform: translateY(130px);
        opacity: 1;
    }
    100% {
        transform: translateY(-50px);
        opacity: 0.8;
    }
}

.analyser-container {
    position: relative;
    height: 429px;
}

.analyser-title {
    position: absolute;
    z-index: 1;
}

.analyser h1 {
    margin: 23px 0 0 0;
    font-size: 32px;
    font-weight: 700;
    display: flex;
    align-items: center;
    color: black;
}

.analyser h2 {
    margin: 10px 0 0 0;
    font-size: 32px;
    font-weight: 300;
    display: flex;
    align-items: center;
    color: white;
}

.analyser p {
    max-width: 50%;
    margin: 25px 0 0 0;
    font-size: 16px;
    font-weight: 300;
    display: flex;
    align-items: center;
    color: black;
}

.analyser-example {
    position: absolute;
    bottom: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 60%;
}

.analyser-example .example-img {
    width: 87px;
    height: 119px;
}

.analyser-results {
    position: absolute;
    right: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    height: 429px;
}

.analyser-results img {
    width: 329px;
    height: 310px;
}

.result-description {
    width: 280px;
}

.result-description__title {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.result-description__title h2 {
    margin: 0;
    display: block;
}

.result-description__title p,
.result-description__title span {
    margin: 0;
    color: white;
}

.result-description__title span {
    font-size: 24px;
}

.line {
    height: 2px;
    margin-top: 7px;
    background-image: url('/src/img/line.svg');
}

.indicator {
    height: 13px;
    margin-top: 15px;
    flex: none;
    order: 2;
    flex-grow: 0;
    border-radius: 5px;
    background: linear-gradient(90deg, #FA3200 88.99%, #D9D9D9 89%);
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.result-description-stars {
    width: 60px;
    height: 21px;
    background-image: url('/src/img/stars.svg');
}

@media only screen and (max-width: 650px) {
    .analyser-title p {
        display: none;
    }

    .analyser-title h1 {
        color: white;
    }

    .analyser-results {
        left: 0;
        margin-top: 35px;
        justify-content: flex-end;
    }

    .analyser-example {
        opacity: 0.3;
    }
}

/* ================ Button in Analyser ================ */
button {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 15px;
    height: 50px;
    border: none;
    border-radius: 5px;
    background: #F9F0EC;

    box-shadow: 
        0px 4px 4px rgba(0, 0, 0, 0.25), 
        1px 4px 5.6px rgba(0, 0, 0, 0.25), 
        inset 0px 4px 4px rgba(255, 250, 250, 0.25);
}

section {
    margin: auto;
    max-width: 840px;
    padding: 10px;
}

/* ================ Footer ================ */
footer {
    display: flex;
    align-items: center;
    font-weight: 300;
    background: linear-gradient(90deg, #C7C4C7 13.23%, #8C8B8E 86.68%);
}
