@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lora&display=swap');

:root {
    font-family: 'Roboto', sans-serif;
    /**/
    --main-color: #ceb281;
    --white-color: #ffffff;
    --black-color: #000000;
    --dark-color: #333333;
    --grey-color: #6f747a;
    --transperant-color: rgba(0, 0, 0, 0.9);
    /**/
    --section-margin: 80px;
}

body {
    margin: 0;
    padding: 0;
}
/* TOOLTIP */
.tooltip {
    position: relative;
}

.tooltip .tooltiptext {
    visibility: hidden;
    min-width: 120px;
    background-color: black;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 5px;
    position: absolute;
    z-index: 1;
    bottom: 150%;
    transform: translateX(-50%);
    left: 50%;
}

.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: black transparent transparent transparent;
}
/**/

/* menu */

menu {
    height: 100%;
    padding: 0;
    margin: 0;
    transition: .3s;
    position: fixed;
    background-color: var(--transperant-color);
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    /* justify-content: center; */
    transform: translateX(-100%);
}

#menuList {
    display: flex;
    flex-direction: column;
    padding: 0;
    margin-left: 25px;
}

.menu-list-item {
    margin: 20px 0;
}

menu a {
    text-decoration: none;
    font-size: 26px;
    color: var(--main-color);
}

menu a:hover {
    color: var(--white-color);
    transition: .3s;
}

.menu-open {
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    margin: 25px;
    width: 40px;
    height: 40px;
    color: var(--main-color);
    cursor: pointer;
}

.menu-open:hover {
    color: var(--dark-color);
    transition: .3s;
    background-color: rgba(255, 255, 255, 0.6);
}

.menu-close {
    margin: 25px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    color: var(--main-color);
}

.menu-close:hover {
    color: var(--white-color);
    transition: .3s;
}
/**/

/* FORM */
.form {
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.form-input-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.form-textarea-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.form-textarea {
    font-size: 20px;
    font-family: "Lora", serif;
    margin: 15px;
    padding: 14px 26px;
    outline: none;
    border: 1px solid var(--white-color);
    background: transparent;
    color: var(--white-color);
}

.form-input {
    font-size: 20px;
    font-family: "Lora", serif;
    margin: 15px;
    padding: 14px 26px;
    outline: none;
    border: 1px solid var(--white-color);
    background: transparent;
    color: var(--white-color);
}

.form-input:focus {
    transition: .5s;
    border: 1px solid var(--black-color);
}

.form-button-wrapper {
    margin: 15px 0;
}

.form-button {
    transition: .3s;
    outline: none;
    font-size: 20px;
    font-weight: bold;
    font-family: "Lora", serif;
    padding: 13px 46px;
    border: 2px solid var(--main-color);
    color: var(--main-color);
    background: none;
    letter-spacing: 2px;
    line-height: 30px;
    text-align: center;
    vertical-align: middle;
    touch-action: manipulation;
    cursor: pointer;
}

.form-button:hover {
    color: var(--black-color);
    background-color: var(--white-color);
    border-color: var(--white-color);
}
/**/

img {
    width: 100%
}

/* SWITCH LANG LINK */
.switch-lang-link {
    position: absolute;
    top: 0;
    right: 0;
    margin: 20px;
}

.switch-lang-link a {
    text-decoration: none;
    color: var(--main-color);
}

.switch-lang-link a:hover {
    color: var(--white-color);
    text-shadow: 0 0 1px var(--black-color);
}
/**/

.move-down {
    border-top: 2px solid var(--main-color);
    padding-top: 60px;
    margin-top: 40px;
    margin-bottom: 100px;
    width: 36px;
    display: flex;
    justify-content: center;
}

.move-down>a {
    width: 32px;
    height: 32px;
    text-decoration: none;
    color: #fff;
    text-align: center;
    outline: none;
}

header {
    background-image: url(../images/topbg.jpg);
    background-position: top;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--white-color);
    padding: 100px 0 80px 0;
    margin-bottom: var(--section-margin);
}

.header-name {
    margin: 20px 0;
    font-family: 'Lora', serif;
}

.header-logo {
    width: 100%;
    max-width: 300px;
    margin-bottom: 35px;
}

.header-description {
    padding: 0 10px;
    text-align: center;
    text-shadow: 0px 0px 1px var(--dark-color);
    font-size: 20px
}

section {
    margin-top: var(--section-margin);
    margin-bottom: var(--section-margin);
}

section h2 {
    text-align: center;
    font-size: 30px;
    color: var(--dark-color);
    font-family: 'Lora', serif;
    font-weight: 400;
}

section p {
    margin: 40px 0;
    text-align: center;
    font-size: 24px;
    color: var(--grey-color);
}

.content {
    display: flex;
    flex-direction: column;
}

.item-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 15px;
    margin-bottom: 40px;
}

.item-content-img {
    margin-bottom: 32px;
    padding: 31px 0;
    color: var(--main-color);
    width: 100px;
}

.item-content-text {
    font-size: 22px;
    text-align: center;
    margin: 0;
    font-family: 'Lora', serif;
    letter-spacing: 0;
}

.about-text {
    padding: 0 10px;
}

.about-img {
    display: flex;
    justify-content: center;
}

#mainServices {
    background-image: url(../images/midbg.jpg);
    background-position: top;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 30px 0;
}

#mainServices h2 {
    color: var(--white-color);
}

#mainServices li {
    color: var(--white-color);
    font-size: 18px;
    margin: 10px 0;
}

.logo-image {
    max-width: 250px;
    margin: 25px;
}

#contacts {
    background-image: url(../images/bottombg.jpg);
    background-position: top;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 30px 0;
}

#contacts h2 {
    color: var(--white-color);
}

#contacts p {
    color: var(--white-color);
}

#info {
    padding: 10px;
}

.info-location {
    color: var(--main-color);
    letter-spacing: 1.6px;
    text-transform: uppercase;
    font-size: 20px;
    font-family: 'Lora', serif;
    text-align: center;
    text-decoration: none;
    margin: 10px 0;
    display: block;
}

.info-phone-number {
    margin-bottom: 20px;
    display: block;
    color: var(--black-color);
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: 20px;
    font-family: 'Lora', serif;
    text-align: center;
    text-decoration: none;
}

.info-socials {
    margin: 20px 0;
    display: flex;
    justify-content: center;
    width: 100%;
}

.social-link {
    margin: 10px;
    width: 32px;
    color: var(--main-color);
}

@media screen and (max-width: 866px) {
    #aboutUs .content {
        flex-direction: column;
    }
}

@media screen and (min-width: 840px) {
    menu {
        flex-direction: row;
        height: 100px;
        align-items: center;
    }

    #menuList {
        align-items: center;
        flex-direction: row;
        margin-left: auto;
        margin-right: auto;
    }

    
    .menu-list-item {
        margin: 10px;
    }

    menu a {
        font-size: 18px;
    }

    .tooltip:hover .tooltiptext {
        visibility: visible;
    }
    
    .content {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        max-width: 1280px;
        margin: 0 auto;
    }

    .form {
        max-width: 1280px;
        margin: 0 auto;
    }

    .form-input-wrapper {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
    }

    .form-input {
        width: 100%;
        flex-basis: 33%;
    }
    
    #practiceAreas .item-content-text {
        letter-spacing: 3.2px
    }

    section h2 {
        font-size: 40px;
    }

    section h2::before {
        content: "";
        width: 36px;
        border-top: 2px solid var(--main-color);
        position: absolute;
        margin-left: -60px;
        margin-top: 22px;
    }

    section h2::after {
        content: "";
        width: 36px;
        border-top: 2px solid var(--main-color);
        position: absolute;
        margin-left: 30px;
        margin-top: 22px;
    }

    .about-text {
        width: 60%;
    }

    .about-img {
        width: 40%;
    }

    .info-phone-number {
        font-size: 30px;
    }
    
}