.container {
    width: var(--container-medium);
}

.mobile-nav, .mobile-menu {
    display: none;
}

.nav-links, .nav-phone-fb{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    width: 275px;
}

.nav-phone-fb {
  width: 175px;
}

.nav-links a {
    color: var(--nav-links);
    font-size: 15px;
    position: relative;
    font-weight: bold;
}

.nav-links a:before {
        content: "";
        position: absolute;
        width: 100%;
        height: 2px;
        bottom: 0;
        margin: -5px 0;
        background-color: var(--nav-links);
        visibility: hidden;
        transform: scaleX(0);
        transition: all .3s ease-in-out 0s;
}
.nav-links a:hover:before {
        visibility: visible;
        transform: scaleX(1);
}

.nav-link-fb {
    width: 30px;
  }

.nav-phone {
    width: 115px;
}

.nav-phone p {
    font-weight: bold;
}

.nav-phone i {
    font-size: 22px;
}

.nav-link-fb i {
    font-size: 27px;
    transition: .3s all;
}

.nav-link-fb i:hover {
    transform: scale(1.3);
}

.nav-phone p {
    font-size: 15px;
}

.main-heading-container {
    height: 300px;
}

.main-section-item h1 {
    font-size: 40px;
    line-height: 50px;
    width: 450px;
    margin: 0 auto;
    text-align: center;
}

.main-heading-container p {
    width: 400px;
    font-size: 18px;
}

.main-heading-container {
    text-align: center;
}

.aboutus-graphic {
    width: 500px;
  }

.footer-company-info-container {
    height: 217px;
}

.footer-container {
    display: grid;
    grid-template-areas: "logo logo"
                         "contact qr"
                         "insurance insurance";
    grid-template-rows: 60px 250px 300px;
}

.footer-logo {
    grid-area: logo;
}
.footer-company-info-container {
    grid-area: contact;
    flex-direction: column;
}

.footer-qr {
    grid-area: qr;
    align-self: center;
    margin: 20px auto 0 auto;
}

.footer-links {
    grid-area: links;
    justify-content: center;
}

.footer-insurances {
    grid-area: insurance;
    margin-top: 50px;
}

.footer-insurances h5 {
    text-align: center;
}

.main-section-btn {
    margin: 15px 0;
}

.main-section-half-btn {
    width: 85px;
    margin: 15px auto;
}

.offer {
    width: 100%;
    height: 100%;
}

.offer-container {
    grid-template-rows: 450px 450px 450px 450px 450px 450px;
    grid-template-areas: "first first"
    "second second"
    "third third"
    "fourth fourth"
    "fifth sixth"
    "seventh eighth";
}

.contact-form {
    grid-template-areas: "form-name form-surname"
                         "form-mail form-phone"
                         "form-content form-content"
                         "form-accept form-accept"
                         "form-btn form-btn";
    grid-template-columns: 45% 45%;
}

.form-accept {
    font-size: 15px;
}
