body {
    background-color: #fff;
}

._backgroundly {
    background-color: rgba(0,0,0,0.6) !important;
}

.base {
    max-width: 1440px;
    padding: 0 40px;
    width: 100%;
}

.flex {
    display: flex;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.body {
    width: 100%;
}

.align-center {
    align-items: center;
}

.flex-wrap {
    flex-wrap: wrap;
}

._hidden {
    display: none;
}

.input {
    font-size: 14px;
    padding: 8px 16px;
    width: 100%;
    outline: none;
    background: #FFFFFF;
    color: #8D8D8D;
    border: 1px solid #D9D9D9;
    border-radius: 5px;
    transition: .3s ease;
}

.input:focus {
    background: #F2F2F2;
}

.input:invalid {
    border-color: orangered;
}

.input::placeholder {
    color: #8D8D8D;
}

/* CLASS */

.logo {
    font-size: 36px;
}

.logo-part {
    font-size: 30px;
}

.logo-date {
    font-size: 14px;
}

.header-navigation {
    display: flex;
    position: fixed;
    justify-content: center;
    align-content: center;
    flex-wrap: wrap;
    width: 100%;
    top: 0;
    z-index: 3;
    height: 80px;
    color: white;
    background-color: transparent;
    transition: background-color 0.3s linear;

    .header-navigation__nav-container {
        display: flex;
        align-items: center;
    }

    .header-navigation__menu-toggle {
        -webkit-user-select: none;
        cursor: pointer;
    }

    .header-navigation__nav {
        position: absolute;
        left: 0;
        top: 80px;
        width: 100%;

        li {
            background-color: rgba(0, 0, 0, 0.7);
            padding: 20px;
            display: flex;
            align-items: center;
            font-family: "Poppins", sans-serif;
            cursor: pointer;
            transition: border-bottom-color 0.3s linear;
            border-bottom: 2px solid transparent;

            a {
                color: white;
            }

            &:hover {
                border-bottom-color: #424242;
            }
        }
    }
}

.header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-image: url("../assets/bg-mobile.png");
    background-size: cover;
    background-repeat: no-repeat;

    .header__title {
        display: inline-block;
        text-align: center;
        font-family: "Poppins", sans-serif;
        color: #424242;
        max-width: 300px;
        font-size: 20px;

    }

    .header__description {
        text-align: center;
        color: #424242;
        font-size: 14px;
        max-width: 300px;
        margin-top: 10px;
        line-height: 23px;
    }
}

.about {
    .about__quotes {
        display: flex;
        max-width: 776px;
        margin: 50px auto 0;

        &:before {
            content: '"';
            font-family: "Poppins";
            font-style: italic;
            font-size: 80px;
            margin-right: 20px;
        }

        &:after {
            content: '"';
            font-family: "Poppins";
            font-style: italic;
            font-size: 80px;
        }
    }

    .about__photo {
        background-image: url("../assets/founder.jpg");
        background-size: contain;
        width: 90px;
        height: 90px;
        border-radius: 100%;
        margin: 48px auto 20px;
    }

    .about__name {
        font-size: 14px;
        text-align: center;
    }
}

.portfolio, .contacts, .about {
    padding-top: 150px;
    margin: 0 auto;
}

.portfolio__title, .contacts__title, .about__title {
    color: #424242;
    font-size: 32px;
    text-align: center;
    font-family: "Poppins", sans-serif;
}

.portfolio__container {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
}

.portfolio__card {
    position: relative;
    color: white;
    max-width: 912px;
    width: 100%;
    border-radius: 10px;
    cursor: pointer;

    &:not(:first-child) {
        margin-top: 20px;
    }

    .vjs-has-started ~ .portfolio__text {
        visibility: hidden;
    }

    .portfolio__text {
        display: flex;
        width: 100%;
        flex-direction: column;
        align-items: center;
        position: absolute;
        bottom: 10px;
    }

    .portfolio__description {
        font-size: 14px;
    }

    .portfolio__names {
        margin-top: 3px;
        font-size: 24px;
    }
}

.contacts {
    margin-bottom: 30px;

    .contacts__form {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 50px;
    }

    .contacts__field {
        font-family: "Poppins", sans-serif;
        width: 100%;
        max-width: 480px;

        &:not(:first-child) {
            margin-top: 5px;
        }
    }

    .contacts__btn {
        width: 100%;
        max-width: 480px;
        margin-top: 10px;
        cursor: pointer;
        font-family: "Poppins", sans-serif;
        background-color: #576250;
        color: white;
        padding: 8px 32px;
        border-radius: 5px;
        outline: none;
        border: none;

        &:hover {
            background-color: #576250;
        }
    }
}

.footer {
    text-align: center;
    margin: 100px 0 20px;
}


