@charset "UTF-8";
/*
Theme Name: ritent.com
Theme URI: https://ritent.com
Author: ritent.com
Author URI: https://ritent.com
Description: Description
Requires at least: 0.1
Requires PHP: 5.2.4
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://ritent.com
Text Domain: ritent.com
Tags: one-column, flexible-header, accessibility-ready, custom-colors, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, rtl-language-support, sticky-post, threaded-comments, translation-ready

--------------------------------------------------------------*/
@font-face {
    font-family: "MontserratRegular";
    src: url("./fonts/Montserrat-Regular.ttf") format("truetype");
    font-style: normal;
    font-weight: normal;
}

@font-face {
    font-family: "MontserratBold";
    src: url("./fonts/Montserrat-Bold.ttf") format("truetype");
    font-style: normal;
    font-weight: normal;
}

@font-face {
    font-family: "MontserratMedium";
    src: url("./fonts/Montserrat-Medium.ttf") format("truetype");
    font-style: normal;
    font-weight: normal;
}

@font-face {
    font-family: "Montserrat-ThinItalic";
    src: url("./fonts/Montserrat-ThinItalic.ttf") format("truetype");
    font-style: normal;
    font-weight: normal;
}

*, *:after, *:before {
    box-sizing: border-box;
}

html {
    scroll-behavior: auto;
}

html, body, .site {
    min-height: 100%;
}

.site {
    display: flex;
    flex-direction: column;
    max-width: 1920px;
    margin: 0 auto;
}


body {
    height: 100vh;
    margin: 0;
    font-family: "MontserratRegular", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    background-color: #000000;
    color: #ffffff;
    user-select: none;
    -webkit-user-select: none;
}

input:not([type="submit"]),
textarea {
    background-color: transparent;
    border: 2px solid #000000;
    border-radius: 2px;
    min-height: 40px;
    min-width: 275px;
    padding: 0 1rem;
    width: 100%;
    resize: none;
}

.vacancies-wrapper:hover,
input:hover,
textarea:hover {
    box-shadow: 0 0 30px #ffffff;
}

input:focus,
textarea:focus {
    box-shadow: none;
}

input:-webkit-autofill {
    -webkit-background-clip: text;
}

textarea {
    height: 150px;
    line-height: 1.5rem;
    padding-top: 5px;
}

label > span:first-child  {
    font-family: "MontserratBold";
    background-color: #f9c23e;
    padding: 0 5px;
    transform: translate(10px, 29px);
    display: inline-block;
    transition: all .1s linear;
}

label:focus-within > span:first-child {
    transform: translate(10px, 10px);
    font-size: .75rem;
    position: relative;
    z-index: 1;
}

input:focus-within,
textarea:focus-within {
    outline: none;
}

input[type="submit"] {
    margin: 1rem auto;
    display: block;
    background-color: #f9c23e;
    color: #030303;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    border: 4px solid #000000;
    font-size: 1.75rem;
    border-left-width: 25px;
    min-width: 270px;
    height: 100px;
}

input[type="submit"]:hover {
    color: #ffffff;
}

input[type="submit"]:active {
    border-left-width: 4px;
    background-image: linear-gradient(#000 20%, #3a3a3a 50%, #000 80%);
    color: #fff;
}

.main__wrapper {
    flex: 1 0 0;
}

.body__wrapper {
    display: flex;
    flex-direction: column;
    background-image: url("./image/bg.png");
    background-size: cover;
    padding: 0 15px;
    margin-bottom: 1rem;
}

h3 {
    text-align: center;
    color: #F9C23E;
    font-size: 30px;
    font-family: "MontserratBold";
    text-shadow: 0 0 25px rgba(249, 194, 62, .7);
}

.top {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: end;
}

ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.nav {
    display: flex;
    align-items: center;
    grid-gap: 15px;
    margin: 0 auto 0 0;
}

.nav > li:nth-of-type(1) a,
.nav > li:nth-of-type(2) a {
    color: #ffffff;
    font-size: 1.2rem;
}

.nav > li:nth-of-type(1) a:hover,
.nav > li:nth-of-type(2) a:hover {
    text-shadow: 0 0 30px #ffffff;
}

.nav > li:nth-of-type(1) a:active,
.nav > li:nth-of-type(2) a:active {
    color: #f9c23e;
}

.current-lang a,
.nav a {
    color: #000000;
    text-decoration: none;
}

.current-lang {
    background-color: #f9c23e;
    padding: .5rem 1rem;
    font-size: 17px;
    display: flex;
    align-items: center;
    color: #000000;
    position: relative;
    cursor: pointer;
}

.current-lang:hover {
    box-shadow: 0 0 30px #f9c23e;
}

.current-lang::after {
    content: "^";
    font-family: monospace;
    height: 10px;
    margin-left: 2px;
    transform: rotate(180deg);
    transition: all .3s linear;
}

.current-lang.active::after {
    transform: rotate(0deg);
}

.lang {
    display: none;
    flex-direction: column;
    align-items: center;
    transform: translateY(45px);
    background-color: #f9c23e;
    width: 100%;
    position: absolute;
    left: 0;
    padding: 0 10px;
}

.lang li {
    padding: 3px;
    width: 100%;
    text-align: center;
}

.lang li:not(:last-child) {
    border-bottom: 1px solid #333;
}

.current-lang.active .lang {
    display: flex;
}

header {
    display: flex;
    background-image: url("./image/logo.png");
    background-size: contain;
    height: 60px;
    width: 100%;
    background-position: center;
    background-repeat: no-repeat;
}

.header__text {
    margin: 60px  auto 0;
    font-size: 1.15rem;
}

.text-info {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.info__f {
    flex-direction: column-reverse;
}

.text-info .info {
    max-width: 1135px;
    font-size: 1.5rem;
}

.text-info .info:last-child {
    max-width: 965px;
}

.text-info .info:last-child h3 {
    margin-bottom: 3rem;
}

.text-info .img {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    min-width: 100%;
}

.text-info .img:last-child {
    background-image: url("./image/people.png");
    height: 270px;
}

.text-info .img:first-child {
    background-image: url("./image/about-us.png");
    height: 310px;
}

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

.values-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 15px 0;
    align-items: center;
    justify-content: center;
}

.values-item {
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    width: 150px;
    height: 160px;
    display: flex;
    align-items: end;
    justify-content: center;
    text-align: center;
}

.values-item:nth-of-type(1) {
    background-image: url("./image/values/honesty.png");
}

.values-item:nth-of-type(2) {
    background-image: url("./image/values/growth.png");
}

.values-item:nth-of-type(3) {
    background-image: url("./image/values/approach.png");
}

.values-item:nth-of-type(4) {
    background-image: url("./image/values/team.png");
}

.values-item span {
    position: relative;
    top: 1.5rem;
    font-size: 1.1rem;
}

.form__wrapper {
    background-color: #f9c23e;
    color: #000000;
    padding: 15px;
    position: relative;
}

.vacancies-wrapper {
    display: flex;
    align-items: center;
    position: absolute;
    top: 3rem;
    border: 2px solid #000000;
    font-family: "MontserratMedium";
    padding: 15px 20px;
    font-size: 1.5rem;
    cursor: pointer;
}

.vacancies-wrapper::after {
    content: "^";
    font-family: monospace;
    height: 15px;
    margin-left: 10px;
    transform: rotate(180deg);
    transition: all .3s linear;
}

.vacancies-wrapper.active::after {
    transform: rotate(0deg);
}

.vacancies {
    display: none;
    flex-direction: column;
    transform: translate(-2px, 93px);
    border: 2px solid #000000;
    font-family: "MontserratMedium";
    padding: 15px 20px;
    font-size: 1.5rem;
    width: max-content;
    min-width: 102%;
    background-color: #f9c23e;
    position: absolute;
    left: 0;
    z-index: 2;
}

.vacancy {
    overflow: hidden;
    white-space: nowrap;
    max-width: 260px;
    text-overflow: ellipsis;
}

.form__block .wpcf7 form > p:nth-of-type(1) {
    display: flex;
    flex-direction: column;
    align-items: end;
    justify-content: space-between;
    margin-top: 7rem;
}

.form__block .wpcf7 form > p:nth-of-type(1) > span {
    width: 100%;
}

.form__block .wpcf7 form .wpcf7-response-output {
    margin: 0;
}

.form__block .wpcf7-not-valid-tip {
    margin-top: .5rem;
}

footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px 0;
}

footer .nav {
    margin: 0 auto 15px;
}

.footer__text {
    color: #808080;
    font-family: "MontserratMedium";
}

@media (min-width: 375px) {
    .values-block {
        grid-gap: 30px;
    }
}

@media (min-width: 480px) {
    header {
        height: 160px;
        background-size: 430px;
        background-position: 50% 0;
    }

    .header__text {
        margin: 90px  auto 0;
        font-size: 2.15rem;
    }

    .text-info .img:first-child {
        margin: 3rem auto 0;
    }

    .values-block {
        grid-gap: 80px;
        margin-bottom: 3rem;
    }

    .values-item {
        width: 163px;
        height: 165px;
    }

    .values-item span {
        top: 3.2rem;
        font-size: 1.55rem;
    }
}

@media (min-width: 768px) {
    input[type="submit"] {
        border-left-width: 35px;
        min-width: 430px;
    }

    header {
        height: 145px;
        margin-bottom: 3rem;
        background-size: 708px;
    }

    .header__text {
        margin: 125px  auto 0;
        font-size: 3.15rem;
    }

    footer .nav {
        display: none;
    }
}

@media (min-width: 992px) {
    .nav {
        grid-gap: 68px;
        margin: 0 68px 0 0;
    }

    .nav > li:nth-of-type(1) a,
    .nav > li:nth-of-type(2) a {
        font-size: 1.55rem;
    }

    .form__block .wpcf7 form > p:nth-of-type(1) {
        grid-gap: 12px;
        margin-top: 0;
        flex-direction: row;
    }

    .text-info .img:last-child {
        min-width: 673px;
    }

    .text-info .img:first-child {
        min-width: 609px;
    }

    .values-block {
        grid-template-columns: 1fr 1fr 1fr 1fr;
        margin-bottom: 6.3rem;
    }
}

@media (min-width: 1200px) {
    .body__wrapper {
        padding: 0 50px;
    }

    .form__wrapper {
        padding: 50px 90px 35px 50px;
    }

    label[for="tel"] {
        margin-bottom: 55px;
        display: block;
    }

    .form__block .wpcf7 form > p:nth-of-type(1) {
        grid-gap: 45px;
    }

    header {
        height: 275px;
        margin-bottom: 3rem;

        background-size: 1075px;
    }

    .header__text {
        margin: 190px auto 0;
    }

    .text-info .info:first-child {
        padding-top: 5rem;
    }

    .text-info {
        flex-direction: row;
        align-items: flex-start;
    }

    .text-info h3 {
        text-align: left;
    }

    .text-info .img:first-child {
        margin: 3rem auto 0 6rem;
    }

    .values-block {
        grid-gap: 130px;
    }
}

@media (min-width: 1900px) {
    header {
        height: 310px;
        background-size: cover;
        background-position: 16px 0;
        margin-bottom: 8rem;
    }

    .header__text {
        margin: auto 0 -125px 0;
    }

    .values-block {
        grid-gap: 185px;
    }

    .values-item {
        white-space: nowrap;
    }

    .form__block .wpcf7 form > p:nth-of-type(1) {
        grid-gap: 120px;
        margin-bottom: 3rem;
    }
}
