html{
    padding: env(safe-area-inset);
    scroll-behavior: smooth;
}

#ov-bs .navbar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background-image: linear-gradient(to right, rgb(103, 102, 107), rgb(121, 182, 21));
}
#ov-bs .navbar-brand{
    padding-bottom: 20px;
}

#ov-bs .nav-link {
    color: rgb(103, 102, 107);
    position: relative;
    font-size: 20px;
    --bs-nav-link-padding-y: 2px;
}

#ov-bs .nav-link:hover{
    color: rgb(121, 182, 21);
}

#ov-bs .nav-link::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    bottom: 0;
    font-weight: bold;
    left: 0;
    transform-origin: bottom left;
    background-color: rgb(121, 182, 21);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

#ov-bs .nav-link:hover::after {
    height: 3px;
    background-color: rgb(121, 182, 21);
    transform: scaleX(1);
}

#ov-bs div.row.mt-3 {
    column-gap: 60px;
}

header {
    height: 750px;
    position: relative;
}

.mtp-background {
    height: 100%;
}

.mtp-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    filter: brightness(40%);
}

.animation-layer {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: absolute;
    top: 20%;
    left: -100%;
    animation: slideIn 1s forwards;
}

.animated-txt {
    line-height: 49px;
    max-width: 550px;
    font-weight: bold;
    color: white;
    font-size: 50px;
}

.animated-mtp {
    font-size: 25px;
    opacity: 0;
    animation: fadeIn 1s 0.5s forwards;
}

@keyframes slideIn {
    to {
        left: 10%;
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@media (max-width: 768px) {
    header {
        height: 500px;
    }

    .animation-layer{
        align-items: center;
        left: 5%;
    }

    .animated-txt{
        line-height: 20px;
        max-width: 320px
    }

    .animated-mtp{
        font-size: 20px;
    }

    .animated-slogen {
        font-size: 30px;
    }
}

.picture-text-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px;
}

@media (max-width: 767.98px) {
    #over-mij .pic-mv {
        padding-top: 0;
    }
}

.section-text {
    padding: 20px;
}

.section-image {
    max-width: 100%;
    height: auto;
}

.socials-icons a{
    text-decoration: none;
}

#ov-bs .fa{
    font-size: 25px;
}

.socials-txt {
    font-size: 17px;
    color: rgb(121, 182, 21);
    font-weight: bold;
}

#diensten .col-md-2 {
    width: 20%;
    margin-right: 20px;
    margin-left: 20px;
}

#diensten .col-md-2:hover{
    opacity: 0.7;
}

@media (max-width: 767.98px) {
    #diensten .col-md-2 {
        width: 43%;
        margin-right: 0;
        margin-left: 0;
    }
}

@media (max-width: 1024px) and (orientation: landscape) {
    #diensten .col-md-2 {
        width: 25%;
        margin-right: 0;
        margin-left: 0;
    }
}

.proj-text {
    color: #70B62B;
    font-weight: bold;
}

.project-container {
    margin-left: -10px;
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
}

.project-container::-webkit-scrollbar {
    height: 10px;
}

.project-container::-webkit-scrollbar-thumb {
    background-color: #70B62B;
    border-radius: 10px;
}

.picture {
    display: inline-block;
    width: 400px;
    height: 400px;
    margin: 10px;
    cursor: pointer;
    background-color: #ccc;
    vertical-align: top;
    position: relative;
    overflow: hidden;
}

.proj-inside-txt {
    color: white;
    font-size: 25px;
    font-weight: bold;
    position: absolute;
    top: 60%;
    left: 0;
    z-index: 1;
    width: 100%;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.6);
    text-decoration-line: underline;
    -webkit-text-decoration-line: underline;
    text-decoration-color: #70B62B;
    -webkit-text-decoration-color: #70B62B;;
}

.picture img{
    object-fit: cover;
    height: 400px;
    width: 400px;
    transition: filter 1s ease;
}

.picture:hover img{
    filter: brightness(35%);
}

#ov-bs header .proj-name{
    color: #70B62B;
    font-weight: bold;
}

.show-project {
    height: max-content;
}

.carousel .carousel-item{
    height: 425px;
}

.carousel-item img {
    position: absolute;
    object-fit: cover;
    height: 425px;
}

@media (max-width: 767px) {
    .carousel {
        height: 300px;
    }
    .carousel-item {
        height: 300px;
    }

    .carousel-item img{
        height: 300px;
    }
}

.terug-btn {
    display: inline-block;
    text-decoration: none;
    color: white;
    font-weight: bold;
    background-color: #70B62B;
    font-size: 19px;
    padding: 15px 50px;
    transition: background-color 0.3s, border-color 0.3s, color 0.3s, box-shadow 0.3s;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.1);
}

.terug-btn:hover {
    background-color: #70B62B;
    border-bottom-color: gray;
    color: white;
    box-shadow: 0px 6px 10px rgba(0, 0, 0, 0.2);
}

#over-mij, #diensten, #projecten { scroll-margin-top: 100px; }

#scrollToTop{
    background-color: rgba(0, 0, 0, 0.5);
    border: 0;
    color: white;
    border-radius: 0;
    padding: 10px 15px 10px 15px;
}

#scrollToTop:hover{
    background-color: #70B62B;
}

#ov-bs .form-control {
    border-radius: 0;
}

#ov-bs .sub-form-btn {
    background-color: #70B62B;
    color: white;
    border-radius: 0;
    border: 0;
    padding: 13px 35px 13px 35px;
}

.ct-container {
    background-color: #70B62B;
    color: white;
}

#ov-bs .ct-container p{
    font-size: 17px;
}

#ov-bs .ct-container i{
    font-size: 17px;
}

#ov-bs .form-control:focus {
    border-color: #70B62B;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(112, 182, 43, 0.6);
}

#ov-bs .modal-header {
    background-color: #70B62B;
    color: white;
}

#ov-bs .modal-footer {
    background-color: #70B62B;
    color: white;
}

#ov-bs .modal-footer button{
    background-color: white;
    color: black;
}

#ov-bs .border-end{
    border-right: #70B62B solid !important;
}

@media (max-width: 767px) {
    #diensten img{
        height: 200px !important;
    }
}

#ov-bs .fa-home{
    color: #70B62B;
    text-decoration: underline;
}

#ov-bs .socials-icons .fa{
    color: #70B62B;
}

#ov-bs .con-btn {
    background-color: #70B62B;
    color: white;
    text-decoration: none;
    padding: 15px 15px 15px 15px;
    border: none;
    border-radius: 0;
    margin-top: 10px;
}

#ov-bs .con-btn:hover{
    opacity: 0.7;
}









