@charset "UTF-8";
@import url('https://fonts.googleapis.com/css?family=Montserrat:400,700');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,100,300,700');

html {
    scroll-padding-top: 4.5rem;
    scrollbar-width: none;
}

body {
    position: relative;
    padding-right: 0 !important;

}

p {
    line-height: 1.75;
}

.page-section {
    padding: 6rem 0;
    min-height: 80vh;
}

.page-section h2.section-heading, .page-section .section-heading.h2 {
    font-size: 2.5rem;
    margin-top: 0;
    margin-bottom: 1rem;
}

.page-section h3.section-subheading, .page-section .section-subheading.h3 {
    font-size: 1rem;
    margin-bottom: 4rem;
}

@media (min-width: 768px) {
    section {
        padding: 9rem 0;
    }
}

/*
    STRUCTURE CSS

    COMPONENT NAVIGATION
    PAGE PROJECT MODAL
    PAGE PROJECT
    COMPONENT FOOTER
    OVERWRITE SWALL2
    OVERWRITE BOOTSTRAP
 */

/* COMPONENT NAVIGATION START */
#mainNav {
    padding-top: 1rem;
    padding-bottom: 1rem;
    background-color: #212529;
}

#mainNav .navbar-toggler {
    position: absolute;
    padding: 0.75rem;
    right: 1rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
}

#mainNav .container{
    position: relative;
    height: 100%;
}

#mainNav .navbar-brand {
    color: #ffc800;
    font-weight: 700;
    letter-spacing: 0.0625em;
    text-transform: uppercase;
}

#mainNav .navbar-brand img {
    height: 1.5rem;
}

#mainNav .navbar-nav .nav-item .nav-link {
    font-size: 0.95rem;
    color: #fff;
    letter-spacing: 0.0625em;
}

#mainNav .navbar-nav .nav-item .nav-link.active, #mainNav .navbar-nav .nav-item .nav-link:hover {
    color: #ffc800;
}

@media (min-width: 992px) {
    #mainNav {
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
        border: none;
        background-color: transparent;
        transition: padding-top 0.3s ease-in-out, padding-bottom 0.3s ease-in-out;
    }

    #mainNav .navbar-brand {
        font-size: 1.5em;
        transition: font-size 0.3s ease-in-out;
    }

    #mainNav .navbar-brand img {
        height: 2rem;
        transition: height 0.3s ease-in-out;
    }

    #mainNav.navbar-shrink {
        padding-top: 1rem;
        padding-bottom: 1rem;
        background-color: #212529;
    }

    #mainNav.navbar-shrink .navbar-brand {
        font-size: 1.25em;
    }

    #mainNav.navbar-shrink .navbar-brand svg,
    #mainNav.navbar-shrink .navbar-brand img {
        height: 1.5rem;
    }

    #mainNav .navbar-nav .nav-item {
        margin-right: 1rem;
    }

    #mainNav .navbar-nav .nav-item:last-child {
        margin-right: 0;
    }
}

.navbar {
    height: 4rem;
    width: 100%;
}

.main-navbar-container {
    position: relative;
    height: 8rem;
    width: 100%;
}

.navbar-logo {
    position: absolute;
    width: auto;
    left: 10rem;
    height: 100%;
    z-index: 100;
    background-color: #212529;
}

.navbar-logo img {
    padding: 0.4rem 0.7rem 0.9rem 0.7rem;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8rem;
}

@media (max-width: 767px) {
    .navbar-logo {
        position: absolute;
        width: auto;
        left: 0.5rem;
        height: 100%;
        z-index: 100;
        background-color: #212529;
    }
    .navbar-li-number-phone {
        display: none;
    }
}

/* COMPONENT NAVIGATION END */

/* PAGE PROJECT MODAL START */
.parent-image-width {
    width: 60%;
}

@media (max-width: 767px) {
    .parent-image-width {
        width: 100%;
    }
}

.child-image-width {
    width: 45%;
}

.child-image-container {
    position: relative;
    display: inline-block;
}

.child-image-container img {
    display: block;
    width: 100%;
    height: auto;
}

.child-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* noir transparent */
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.3s ease;
    text-align: center;
    padding: 10px;
}

.child-image-container:hover .child-image-overlay {
    opacity: 1;
}

/* PAGE PROJECT MODAL END */

/* PAGE PROJECT START */

#portfolio .portfolio-item {
    max-width: 26rem;
    margin-left: auto;
    margin-right: auto;
}

#portfolio .portfolio-item .portfolio-link {
    position: relative;
    display: block;
    margin: 0 auto;
}

#portfolio .portfolio-item .portfolio-link .portfolio-hover {
    display: flex;
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(25, 135, 84, 0.9);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity ease-in-out 0.25s;
}

#portfolio .portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content {
    font-size: 1.25rem;
    color: white;
}

#portfolio .portfolio-item .portfolio-link:hover .portfolio-hover {
    opacity: 1;
    cursor: pointer;
}

#portfolio .portfolio-item .portfolio-caption {
    padding: 1.5rem;
    text-align: center;
    background-color: #fff;
}

#portfolio .portfolio-item .portfolio-caption .portfolio-caption-heading {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0;
}

#portfolio .portfolio-item .portfolio-caption .portfolio-caption-subheading {
    font-style: italic;
}
/* PAGE PROJECT END */

/* COMPONENT FOOTER START */
.footer {
    text-align: center;
    font-size: 0.9rem;
}

.btn-social {
    height: 2.5rem;
    width: 2.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 100%;
}
/* COMPONENT FOOTER END */

/* OVERWRITE SWALL2 START */

.swal2-container {
    overflow-y: auto !important;
    scrollbar-width: none !important;  /* Firefox */
    -ms-overflow-style: none !important; /* IE/Edge */
}

.swal2-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.swal2-close:focus {
    outline: none;
    box-shadow: none;
}

.swal2-popup {
    animation-duration: 0.3s !important;
}

.swal-small {
    margin-top: 2rem;
    margin-right: 2rem;
    max-width: 400px !important;
}

.swal-small-title {
    font-size: 1rem !important;
}

.swal-small-icon {
    animation: none !important;
    transform: scale(0.6);
    margin-top: 0; !important;
}

@media (max-width: 768px) {
    .swal2-popup {
        width: 100% !important;
    }
}
/* OVERWRITE SWALL2 END */


/* OVERWRITE BOOTSTRAP START */

.fixed-bottom {
    position: static !important;
}

@media (min-width: 850px) {
    .fixed-bottom {
        position: fixed !important;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1030;
    }
}

input.form-control:focus {
    border-color: #198754;
    box-shadow: 0 0 0 0.25rem rgba(25, 135, 84, 0.25);
}
/* OVERWRITE BOOTSTRAP END */
