* {
    padding: 0;
    margin: 0;
    font-family: "Times New Roman", serif;
        box-sizing: border-box;
    }

.navbar {
    display: flex;
    justify-content: space-between;
    color: #164a62;
    padding: 16px 32px;
    align-items: center;
    position: sticky;
    top: 0;
    background-color: #f4efdc;
    margin-bottom: 16px;
    font-weight: bold;
}

#home, #about, #practice-areas, #contacts {
    scroll-margin-top: 110px;
}

h1 {
    color: #164a62;
    text-align: center;
}

.first p {
    font-size: 24px;
   }

.second {
    display: flex;
    gap: 32px;
    color: #164a62;
            }

.second a {
    border: 2px solid #bfa569;
       padding: 18px 16px;
        color: #164a62;
    transition: 0.3s, transform 0.3s;
}

a {
    text-decoration: none;
    text-transform: uppercase;
    color: #164a62;
    transition: 0.3s;
    }

hr {
    border-color: #bfa569;
    border-width: 1px;
    width: 100%;
}

.lowercase {
    text-transform: capitalize;
    font-size: 1.2rem;
    padding-bottom: 8px;
 }

.uppercase {
    text-transform: uppercase;
    font-size: 1.2rem;
    padding-top: 8px;
   }

.second a:hover {
 background-color: #bfa569;
}

.third {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background-color: #bfa569;
    padding: 16px;
    text-align: center;
   }

.third .phone:hover {
    color: #ffffff
}

.third .e-mail:hover {
    color: #ffffff
}

.picture img {
    width: 450px;
height: 350px;
        }

.picture .text p {
    margin: 0 0 32px 0;
    text-indent: 16px;
    text-align: justify;
    font-size: 20px;
    color: #164a62;
    }

.picture .text .right {
    text-align: right;
    color: #164a62;
}

.picture {
    padding: 64px 32px;
    display: flex;
        gap: 32px;
   }

.footer {
    text-align: center;
    color: white;
    background-color: #164a62;
    }

.footer .name {
    display: flex;
    justify-content: space-evenly;
   }

.footer .pa {
    margin: 55px;
    font-size: 32px;
    text-transform: uppercase;
    padding: 32px;
   }

    .footer .name p {
        width: 350px;
        font-size: 24px;
        text-transform: uppercase;
        margin-bottom: 36px;
    }

    .footer .name hr {
        margin-bottom: 36px;
    }

.map {
    text-align: center;
}

.address {
    display: flex;
    flex-direction: column;
    background-color: #8a7543;
    color: white;
    text-align: center;
       font-size: 20px;
  padding-top: 16px;
    gap: 8px;
    justify-content: center;
}

.communications {
    display: flex;
    flex-direction: column;
    background-color: #8a7543;
    gap: 8px;
    color: white;
    font-size: 20px;
    padding: 8px;
    text-align: center;
}

.office {
    display: flex;
    flex-direction: column;
    background-color: #8a7543;
    color: white;
    text-align: center;
    font-size: 20px;
    padding: 8px;
    gap: 8px;
}

.phone1 {
    display: flex;
    flex-direction: column;
    background-color: #8a7543;
    color: white;
    text-align: center;
    gap: 8px;
    font-size: 20px;
    text-transform: none;
    }

.fax {
    display: flex;
    flex-direction: column;
    background-color: #8a7543;
    color: white;
    text-align: center;
      font-size: 20px;
    gap: 8px;
    text-transform: none;
}

.e-mail1 {
    display: flex;
    flex-direction: column;
    background-color: #8a7543;
    color: white;
    text-align: center;
    font-size: 20px;
    gap: 8px;
    text-transform: none;
}

.phone1:hover {
    color: #164a62;
}

.fax:hover {
    color: #164a62;
}

.e-mail1:hover {
    color: #164a62;
}

.disclaimer {
    background-color: #8a7543;
     color: white;
    text-align: center;
    padding-top: 32px;
        padding-bottom: 32px;
    font-size: 14px;
    text-transform: none;
}



@media screen and (max-width: 600px) {
.navbar {
                margin: 0;
                padding: 0;
                flex-direction: column;
                width: 100%;
                align-items: center;
    position: relative;
        }

    .first {
        width: 100%;
        text-align: center;
    }
    .lowercase {
        padding-top: 32px;
        padding-bottom: 8px;
    }

    .uppercase {
        padding-top: 8px;
    }
        .second {
            flex-direction: column;
            align-items: center;
            width: 100%;
            justify-content: center;
            gap: 0;
        }

        .second a{
            width: 100%;
            text-align: center;
           border: none;
            padding:16px 0;
        }

        hr {
            width: 65%;
            margin: 0 auto;
        }

        .third {
    display: flex;
            flex-direction: column;
            padding: 16px;
            background-color: #8a7543;
            width: 100%;
}

.picture {
        flex-direction: column;
       margin: 0;
    padding-top: 16px;
    width: 100%;
    align-items: center;
    gap: 0;
}

.picture img {
    max-width: 100%;
    display: block;
    height: auto;
    margin: 0;
    padding: 0 0 32px 0;
  }

.picture .text p {
    margin: 0 0 32px 0;
    text-indent: 16px;
    text-align: justify;
    font-size: 20px;
    color: #164a62;
}

.picture .text .right {
    text-align: right;
    color: #164a62;
    }

    .footer {
        margin: 0;
        padding: 16px 0 0 0;
        flex-direction: column;
        width: 100%;
        align-items: center;
            }

    .footer .name {
        margin: 0;
        padding: 16px 0 0 0;
        flex-direction: column;
        width: 100%;
        align-items: center;
    }

    .footer .pa {
        margin: 0;
        padding: 8px 0 0 0;
        flex-direction: column;
        width: 100%;
        align-items: center;
    }

    .footer .name p {
        width: 350px;
        font-size: 24px;
        text-transform: uppercase;
        margin-bottom: 16px;
    }

    .footer .name hr {
        margin-bottom: 35px;
        width: 100%;
    }

        .address {
        display: flex;
        flex-direction: column;
        background-color: #8a7543;
        color: white;
        text-align: center;
        font-size: 20px;
        padding-top: 16px;
        gap: 8px;
        justify-content: center;
    }

    .communications {
        display: flex;
        flex-direction: column;
        background-color: #8a7543;
        gap: 8px;
        color: white;
        font-size: 20px;
        padding: 8px;
        text-align: center;
    }

    .office {
        display: flex;
        flex-direction: column;
        background-color: #8a7543;
        color: white;
        text-align: center;
        font-size: 20px;
        padding: 8px;
        gap: 8px;
    }

    .phone1 {
        display: flex;
        flex-direction: column;
        background-color: #8a7543;
        color: white;
        text-align: center;
        gap: 8px;
        font-size: 20px;
        text-transform: none;
    }

    .fax {
        display: flex;
        flex-direction: column;
        background-color: #8a7543;
        color: white;
        text-align: center;
        font-size: 20px;
        gap: 8px;
        text-transform: none;
    }

    .e-mail1 {
        display: flex;
        flex-direction: column;
        background-color: #8a7543;
        color: white;
        text-align: center;
        font-size: 20px;
        gap: 8px;
        text-transform: none;
    }

    .phone1:hover {
        color: #164a62;
    }

    .fax:hover {
        color: #164a62;
    }

    .e-mail1:hover {
        color: #164a62;
    }

    .disclaimer {
        background-color: #8a7543;
        color: white;
        text-align: center;
        padding-top: 32px;
        padding-bottom: 32px;
        font-size: 14px;
        text-transform: none;
    }
}

@media screen and (min-width: 601px) and (max-width: 1000px) {
    .navbar {
        margin: 0;
        padding: 0;
        flex-direction: column;
        width: 100%;
        align-items: center;
        position: relative;
    }

    .first {
        width: 100%;
        text-align: center;
        padding: 16px 8px 16px 8px;
    }

    .lowercase {
                padding-bottom: 8px;
    }

    .uppercase {
                padding-top: 8px;
    }

    .second {
        flex-direction: column;
        align-items: center;
        width: 100%;
        justify-content: center;
        gap: 0;
        padding: 0;
        margin: 0;
    }

    .second a{
        width: 100%;
        text-align: center;
        border: none;
        padding:8px 16px 8px 16px;
    }

    a {
        text-decoration: none;
        text-transform: uppercase;
        color: #164a62;
    }

    hr {
        width: 65%;
        margin: 0 auto;
    }

        .third {
        display: flex;
        flex-direction: column;
        padding: 16px;
            width: 100%;
        background-color: #8a7543;
    }

    .picture {
        flex-direction: column;
        margin: 0;
        padding-top: 16px;
        width: 100%;
        align-items: center;
        gap: 0;
    }

    .picture img {
	max-width: 100%;
        display: block;
	height: auto;
        padding: 0 0 32px 0;
    }

    .picture .text p {
        margin: 0 0 16px 0;
        text-indent: 12px;
        text-align: justify;
        font-size: 20px;
        color: #164a62;
    }

    .picture .text .right {
        text-align: right;
        color: #164a62;
        padding-bottom: 0;
    }

    .footer {
        margin: 0;
        padding: 0;
        flex-direction: column;
        width: 100%;
        align-items: center;
    }

    .footer .pa {
        margin: 0;
        padding: 24px 0 32px 0;
        flex-direction: column;
        width: 100%;
        align-items: center;
    }

    .footer .name {
        margin: 0;
        padding: 0;
        flex-direction: column;
        width: 100%;
        align-items: center;
    }

    .footer .name p {
        font-size: 24px;
        text-transform: uppercase;
        padding: 0;
    }

    .footer .name hr {
        margin: 0 0 24px 0;
        padding: 0;
        width: 100%;
    }

        .address {
        display: flex;
        flex-direction: column;
        background-color: #8a7543;
        color: white;
        text-align: center;
        font-size: 20px;
        padding-top: 24px;
        gap: 8px;
        justify-content: center;
    }

    .communications {
        display: flex;
        flex-direction: column;
        background-color: #8a7543;
        gap: 8px;
        color: white;
        font-size: 20px;
        padding: 8px;
        text-align: center;
    }

    .office {
        display: flex;
        flex-direction: column;
        background-color: #8a7543;
        color: white;
        text-align: center;
        font-size: 20px;
        padding: 8px;
        gap: 8px;
    }

    .phone1 {
        display: flex;
        flex-direction: column;
        background-color: #8a7543;
        color: white;
        text-align: center;
        gap: 8px;
        font-size: 20px;
        text-transform: none;
    }

    .fax {
        display: flex;
        flex-direction: column;
        background-color: #8a7543;
        color: white;
        text-align: center;
        font-size: 20px;
        gap: 8px;
        text-transform: none;
    }

    .e-mail1 {
        display: flex;
        flex-direction: column;
        background-color: #8a7543;
        color: white;
        text-align: center;
        font-size: 20px;
        gap: 8px;
        text-transform: none;
    }

    .phone1:hover {
        color: #164a62;
    }

    .fax:hover {
        color: #164a62;
    }

    .e-mail1:hover {
        color: #164a62;
    }

    .disclaimer {
        background-color: #8a7543;
        color: white;
        text-align: center;
        padding: 32px 12px 32px 12px;
        font-size: 14px;
        text-transform: none;
    }
}




