header {
    background-image: url('pictures/mike-kenneally-TD4DBagg2wE-unsplash_copy.jpg'); /* Replace with your image */
    background-size: cover;
    background-position: center;
    height: 80vh; /* Full height of the viewport */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center content vertically */
    align-items: center; /* Center content horizontally */
    color: white;
    text-align: center;
    background-attachment: fixed;
}

header .logo {
    width: 15%;
}

header .logo img {
    width: 100%;
    height: 100%;
}

nav ul {
    list-style-type: none;
    padding: 0;
    cursor: default;
}

nav ul li {
    display: inline;
    margin: 0 15px;
    cursor: pointer;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

nav ul li #active {
    /* text-decoration: underline #457e45; */
    color: #bd9152;
    cursor: default;
}

nav ul li a:hover {
    color: #457e45;
}

/* header h1 {
    background-color: #41210b;
    padding: 20px 60px;
    width: 100%;
    padding: 20px 0;
} */

header h1 {
    color: #457e45;
}

/* main {
    padding: 20px;
    color: black;
} */

main {
    padding: 0 20px;
    color: black;
}

main .quote {
    margin: 30px -20px; /* Optional: Add padding to the quote itself if needed */
    padding: 0 20px;
}

/* main {
    padding: 0 20px; 
    color: black;
}
main > div:not(main .quote) {
    padding: unset;
} */

section {
    max-width: 800px; /* Limit width of content */
    margin: 0 auto; /* Center the section */
    text-align: left; /* Align text left */
}

section h2 {
    color: #457e45;
    margin: 30px 0;
    border-left: 3px solid #bd9152;
    padding-left: 5px;
}

section p {
    color: #310e0e;
}

section h3, section h4 {
    color: #310e0e;
}

section h3 span {
    color: #bd9152;
}

.quote {
    background-image: url(pictures/sergey-kotenev-JHdDvYC9O1E-unsplash_copy.jpg);
    max-width: 100%;
    height: 30vh;
    background-size: cover;
    background-repeat: no-repeat;
    margin: 50px auto;
    text-align: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
    background-position: center;
    background-attachment: fixed;
}

.quote h1 {
    color: #bd9152;
}

.quote h1 .fa {
    color: #457e45;
}

#menu .btn {
    width: fit-content;
    display: block;
    margin: 30px auto;
}

#menu .btn a {
    text-decoration: none;
}

#menu .btn a button {
    text-align: center;
    cursor: pointer;
    padding: 5px 40px;
    background-color: transparent;
    border: 1px solid #310e0e;
    color: #310e0e;
    border-radius: 5px;
}

#menu .btn a button:hover {
    /* background-color: #bd9152; */
    background-image: linear-gradient(to right, #bd9152, #310e0e);
    color: wheat;
}

#menu .btn a button .fa {
    padding-left: 5px;
    font-weight: 600;
}

footer {
    text-align: center;
    justify-content: center;
    margin-top: 50px;
}

footer .contact {
    background-image: url(pictures/sergey-kotenev-NzzYGQSdw9Q-unsplash_copy_2.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;

    height: 100%; /* Full height of the viewport */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center content vertically */
    align-items: center; /* Center content horizontally */
    padding: 30px 0;
}

footer .contact .row_1 .image {
    width: 10%;
    display: block;
    margin: 0 auto;
}

footer .contact .row_1 .image img {
    width: 100%;
    height: 100%;
}

footer .contact .row_1 h3 {
    color: white;
    margin: 20px 0;
}

footer .contact .row_2 {
    margin: 10px 0;
    text-align: left;
}

footer .contact .row_2 p a {
    color: #bd9152;
    text-decoration: none;
    padding-left: 5px;
}

footer .contact .row_2 p .fa {
    color: #457e45;
    padding-right: 5px;
    font-size: 18px;
}

/* footer .contact .row_2 #link a {
    text-decoration: underline;
} */

footer .contact .row_2 p u {
    color: #457e45;
}

.line_between {
    width: 80%;
    margin: 20px auto;
    height: 1px;
    background-color: grey;
}

footer .contact .row_3 {
    margin: 10px 0;
}

footer .contact .row_3 a {
    margin: 0 20px;
    text-decoration: none;
    color: #457e45;
    font-size: 18px;
}

footer .contact .row_3 a:hover {
    color: #bd9152;
}

footer .contact .row_3 #icon_br {
    display: none;
}

footer .contact .top {
    margin: 10px 0;
}

footer .contact .top a button {
    cursor: pointer;
    background-color: transparent;
    border: 1px solid transparent;
    border-radius: 5px;
    color: #bd9152;
    font-size: 20px;
    padding: 5px 10px;
}

footer .contact .top a button:hover {
    background-color: #310e0e;
    border: 1px solid #bd9152;
}

footer .copyright {
    padding: 15px 0;
    background-color: #bd9152;
}

footer .copyright p {
    text-align: center;
    justify-content: center;
    display: block;
    margin: 0 auto;
    color: #310e0e;
    font-size: 12px;
}

@media screen and (max-width: 414px) {
    /* main {
        padding: 20px;
    } */
    header {
        height: 100vh; /* Full height of the viewport */
    }
    header h1 {
        background-color: #457e458f;
        width: 100%;
        color: white;
        padding: 10px 0;
    }
    header .logo {
        width: 40%;
    }
    nav ul li {
        display: block;
        margin: 15px 0;
    }
    section {
        height: 300px;
        overflow: auto;
    }
    #services {
        height: 500px;
    }
    .quote {
        max-width: 100%;
        height: 20vh;
        margin: 30px auto;
        background-attachment: unset;
    }
    .quote h1 {
        font-size: 16px;
    }
    #menu .btn a button {
        padding: 10px 40px;
        background-color: none;
        border: none;
        border-radius: none;
        text-decoration: underline #310e0e;
        font-size: 18px;
    }
    footer {
        font-size: 11px;
    }
    footer .contact {
        height: 100%;
        padding: 30px 0;
    }
    footer .contact .row_1 .image {
        width: 30%;
    }
    footer .contact .row_1 h3 {
        margin: unset;
    }
    .line_between {
        margin: 10px auto;
    }
    footer .contact .row_3 a {
        font-size: 14px;
    }
    footer .contact .row_3 a .fa {
        margin: 10px;
    }
    footer .contact .row_3 #icon_br {
        display: block;
    }
    footer .contact .row_3 {
        margin: unset;
    }
    footer .copyright p {
        font-size: 11px;
    }
    footer .contact .row_2 #link a {
        text-align: center;
        display: block;
        margin: 0 auto;
    }
}

.portfolio_2 {
    width: 100%;
    margin: 30px auto;
}

.cats_2 {
    width: 100%;
    height: fit-content;
    display: flex;
    column-count: 4;
    column-gap: 20px;
}

.cat_2 {
    position: relative;
    width: 100%;
    border-radius: 5px;
    /* background-color: #bd9152; */
}

.cat_2 a {
    text-decoration: none;
}

.cat_2 .image_2 {
    width: 100%;
    height: 100%;
}

.cat_2 .image_2 img {
    width: 100%;
    border-radius: 5px;
    display: block;
    height: 100%;
    filter: brightness(0.5);
}

.cat_2 h3 {
    display: none;
}

.overlay_from_up {
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    background-color: #bd9052a1;
    overflow: hidden;
    width: 100%;
    height: 0;
    transition: .5s ease;
}

.cat_2:hover .overlay_from_up {
    bottom: 0;
    height: 100%;
}

.overlay_from_left {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #457e45a1;
    overflow: hidden;
    width: 0;
    height: 100%;
    transition: .5s ease;
}

.cat_2:hover .overlay_from_left {
    width: 100%;
}

.overlay_from_right {
    position: absolute;
    bottom: 0;
    left: 100%;
    right: 0;
    background-color: #457e45a1;
    overflow: hidden;
    width: 0;
    height: 100%;
    transition: .5s ease;
}

.cat_2:hover .overlay_from_right {
    width: 100%;
    left: 0;
}

.overlay_from_down {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #310e0ea1;
    overflow: hidden;
    width: 100%;
    height: 0;
    transition: .5s ease;
}

.cat_2:hover .overlay_from_down {
    height: 100%;
}

.overlay_from_down .text {
    color: #bd9152;
    font-size: 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    text-align: center;
}

.overlay_from_up .text {
    color: #310e0e;
    font-size: 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    text-align: center;
}

.overlay_from_left .text, .overlay_from_right .text {
    color: #bd9152;
    font-size: 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    text-align: center;
}

@media screen and (max-width: 414px) {
    .portfolio_2 {
        width: 100%;
        margin: 30px auto;
    }
    .cats_2 {
        width: 100%;
        height: fit-content;
        display: block;
        column-count: 1;
        column-gap: unset;
    }
    .cat_2 {
        width: 100%;
        border-radius: 5px;
        background-color: #bd9152;
        padding: 0;
        margin: 30px 0;
    }
    .cat_2 .image_2 img {
        width: 100%;
        border-radius: unset;
        border-top-right-radius: 5px;
        border-top-left-radius: 5px;
    }
    .overlay_from_up, .overlay_from_left, .overlay_from_right, .overlay_from_down {
        display: none;
    }
    .cat_2:hover .overlay_from_up, .cat_2:hover .overlay_from_left, .cat_2:hover .overlay_from_right, .cat_2:hover .overlay_from_down {
        display: none;
    }
    .overlay_from_down .text, .overlay_from_up .text, .overlay_from_left .text, .overlay_from_right .text {
        display: none;
    }
    .cat_2 h3 {
        display: block;
        color: #310e0e;
        text-align: center;
        margin: auto;
        padding: 20px 0;
    }
    #menu {
        height: 100%;
        overflow: none;
    }
}