@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

body {
    background-color: #ffffff;
    margin: 0;
    font-family: "Inter", Arial, sans-serif;
    color: #1f1f1f;
    font-weight: normal;
    font-style: italic;
}

a {
    color: #1f1f1f;
    text-decoration: none;
}

strong {
    font-weight: 600;
}

.visible {
    display: block;
}

.hidden {
    display: none;
}

.header {
    height: 80px;
    margin: 0 0 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #1f1f1f;
}

.logo--title {
    font-family: Arial, sans-serif;
    font-size: 48px;
    font-weight: bold;
    font-style: italic;
    letter-spacing: 0.05rem;
}

.logo--subtitle {
    font-family: Arial, sans-serif;
    font-size: 16px;
    font-weight: normal;
    font-style: italic;
    margin: 0 0 0 5px;
}

.logo--title--r {
    letter-spacing: 0.20rem;
}

.logo--title--i {
    color: orange;
}

.image {
    max-width: 400px;
}

.image-cars {
    max-width: 75%;
    margin: 50px auto 50px auto;
}

/* nav desktop */

.header--right ul {
    font-size: 16px;
    font-style: normal;
    list-style: none;
    padding: 0;
    margin: 22px 0 0 0;
}

.header--right li {
    float: left;
    margin: 0 0 0 15px;
    padding: 0;
}

/* nav mobile */

.menu-icon {
    width: 20px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.menu-icon span {
    height: 2px;
    background: #1f1f1f;
    border-radius: 1px;
}

.nav {
    margin: 0 0 0 0;
    padding: 10px 0 10px 0;
    border-bottom: 1px solid #1f1f1f;
    text-align: right;
    font-style: normal;
}

.nav ul {
    list-style: none;
    margin: 10px 0;
    padding: 0;
}

.nav li {
    margin: 0 0 20px 0;
    padding: 0;
}

.nav li:last-child {
    margin: 0 0 0 0;
    padding: 0;
}

/* content */

.content {
    margin: 50px 0;
}

.background {
    margin: 20px 0;
    height: 600px;
    background-image: url(img/background.jpg);
    background-size: cover;
    background-position: center;
}

.content a {
    text-decoration: underline;
}

.content h1 {
    font-size: 28px;
    font-weight: 600;
    margin: 0 0 30px 0;
}

.content h2 {
    font-size: 22px;
    font-weight: 600;
    color: orange;
    margin: 50px 0 30px 0;
}

.content p {
    font-size: 16px;
    font-weight: 400;
    line-height: 160%;
    margin: 0 0 20px 0;
}

ul.list {
    list-style: disc;
    padding: 0 0 0 20px;
}

ul.list li {
    margin-bottom: 1em;
}

.item-holder {
    width: 100%;
    margin: 0 0 0 0;
    display: flex;
    justify-content: space-between;
    align-items: left;
}

.item-holder h2 {
    margin-top: 0;
}

.footer {
    font-size: 12px;
    font-style: normal;
    line-height: 20px;
    margin: 0 0 0 0;
    padding: 5px 0 0 0;
    border-top: 1px solid #1f1f1f;
}

/* Responsive styles */

/* Desktop */
@media screen and (min-width: 1024px) {
    .page {
        margin: 20px auto 20px auto;
        width: 980px;
    }

    .mobile {
        display: none;
    }
}

/* Tablet */
@media screen and (max-width: 1023px) {
    .page {
        margin: 20px 2% 20px 2%;
        width: 96%;
    }

    .desktop {
        display: none;
    }
}

/* Mobile */
@media screen and (max-width: 767px) {
    .page {
        margin: 20px 5% 20px 5%;
        width: 90%;
    }

    .logo--title {
        font-size: 38px;
    }

    .logo--subtitle {
        display: none;
    }

    .background {
        height: calc(100dvh - 140px);
        background-position: 35% 50%;
    }

    .item-holder {
        display: block;
    }

    .item-holder h2 {
        margin-top: 50px;
    }

    .image {
        width: 100%;
        max-width: 100%;
    }

    .image-cars {
        max-width: 100%;
    }

    .desktop {
        display: none;
    }
}