@import 'main-mobile.css';
@import 'main-tablet.css';

@font-face {
    font-family: 'Montserrat';
    src: url('../assets/fonts/Montserrat-VariableFont_wght.ttf') format('truetype');
}

@font-face {
    font-family: 'Montserrat Itallic';
    src: url('../assets/fonts/Montserrat-Italic-VariableFont_wght.ttf') format('truetype');
}

:root {
    --mg-white: #fff;
    --mg-text: rgba(14,14,14,1);
    --mg-text-secondary: rgba(14,14,14,0.5);


    --mg-text-font: 'Montserrat';


    --mg-navbar-font-weight: 350;
    --mg-navbar-border-color: rgba(202,202,202,1);
    --mg-col-border-color: rgba(14,14,14,0.2);


    font-family: var(--mg-text-font), !important;
}




html {
    font-size: 120%;
}

.container {
    max-width: 100%;
}

body{
    overflow-x: hidden !important;
    
    nav {
        background-color: var(--mg-white);
        padding-bottom: 0 !important;
    }

    h1 {
        font-family: var(--mg-text-font), !important;
        font-size: 4rem;
    }

    h2 {
        font-family: var(--mg-text-font), !important;
        font-size: 3.5rem;
        text-transform: uppercase;
    }

    h3 {
        font-family: var(--mg-text-font), !important;
        font-size: 1.8rem;
    }

    h4 {
        font-family: var(--mg-text-font), !important;
        font-size: 2.5rem;
        font-weight: 420;
    }
    .text-right {
        text-align: right;
    }

    p {
        font-family: var(--mg-text-font), !important;
        font-size: 1.2rem;
        font-weight: 320;
    }

    .h3-overlay {
        font-size: 1.8rem;
        color: var(--mg-text-secondary);
    }

    .first-content {
        display: flex;
        flex-direction: column;

        div {
            margin-bottom: 20px;
        }
        :nth-child(2) {
            display: flex;

            p {
                align-items: flex-end;
            }

        }

        img {
            min-height: 265px;
        }

        p {
            align-self: flex-end;
        }
    }

    .first-content-lower {
        margin-top: 10.5vw;
        margin-bottom: 10.5vw;
        h3 {
            text-align: right;
            min-width: 450px;
        }
    }


    .bl {
        text-transform: uppercase;
    }
    .navbar {

    }
    a.nav-link {
        font-family: var(--mg-text-font), !important;
        font-weight: var(--mg-navbar-font-weight);
        color: var(--mg-text);
    }

    .padding-mid {
        padding-inline: 32px;
    }

    .mg-navbar-container {
        padding-inline: 11%;
        border-bottom: 1px solid var(--mg-navbar-border-color);
    }

    .content {
        /**max-width: 1210px;**/
        /**margin-inline: 160px;**/
        border-bottom: 1px solid var(--mg-navbar-border-color);
        margin: 3.5vw 160px 0;

        #header {
            margin-top: 0;
        }


    }

    #projects {
        margin-bottom: 50px;
        border-bottom: none;
    }
    #projects-end
    {
        margin-top: 40px;
        .slider-pagination {
            margin-top: 0;
            margin-bottom: 10.5vw;
            display: flex;

            button {
                &:hover {
                    cursor: pointer;
                }
                font-size: 1.5rem;
                margin-left: 40px;
                margin: auto 0 auto 40px;
                text-decoration: underline;
            }
        }
    }

    .gray-bottom {
        border-bottom: 1px solid var(--mg-col-border-color);
    }
    .row-list {
        margin-top: 50px;
        padding-bottom: 30px;

        .col-1 {
            display: flex;
            p{
                align-self: flex-end;
                margin-bottom: 0;
            }
        }
        .col {
            display: flex;
            h4{
                align-self: flex-end;
                margin: 0;
            }
            p {
                margin-bottom: 0;
            }
        }
    }
}

.p-cta {
    text-decoration: underline;
    &:hover {
        cursor: pointer;
    }
}

.footer {
    height: 430px;
    width: 100%;
    background-image: url('../assets/img/footer.png');
    background-size: cover;
    background-repeat: no-repeat;
    overflow: hidden;
    background-position: 100% 0;
}

.btn-more {
    position: relative;
    padding-inline: 0;
    transition: background-color 300ms ease-out;
    background:none;
    border: none;


    span {
        display: inline-block;
        position: relative;
        transition: all 300ms ease-out;
        will-change: transform;
        text-decoration: underline;
    }
    &:hover span {
        transform: translate3d(0, 0, 0);
    }
    svg {
        position: absolute;
        width: 1.1em;
        right: 0px;
        right: 0rem;
        opacity: 0;
        top: 50%;
        transform: translateY(-50%);
        transition: all 300ms ease-out;
        will-change: right, opacity;
        * {
            stroke-width: 5;
            stroke-color: transparent;
        }
    }
    &:hover svg {
        opacity: 1;
        right: -2.5rem;
    }
}

.arrows {

    display: flex;

    div {
        height: 48px;
        width: 48px;
    }

    .arrow-left {
        background-image: url('../assets/img/arrows/arrow-left.png');

        &:hover {
            background-image: url('../assets/img/arrows/arrow-right-hovered.png');
            transform: rotate(180deg);
        }
    }

    .arrow-right {
        margin-left: 20px;
        background-image: url('../assets/img/arrows/arrow-left.png');
        transform: rotate(180deg);


        &:hover {
            background-image: url('../assets/img/arrows/arrow-right-hovered.png');
            transform: rotate(0deg);
        }
    }
}

.desktop-only {
    display: block;
}
.mobile-only {
    display: none;
}





/*
Swiper
 */
.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 560px;
    object-fit: cover;
}

.swiper-slide {
    width: 60%;
}

a {
    color: var(--mg-text);
    text-decoration: none;
}


/**MODAL CONTACT FORM**/
#contact-form-modal {
    .modal-dialog {
        max-width: 80vw;
        max-height: 80vh;

        .modal-header {
            border:none;
        }

        .modal-body {
            h3 {
                text-align: center;
                margin-bottom: 40px;
            }

            p {
                max-width: 900px;
                width: 100%;
                margin: 0 auto;
                text-align: center;
                margin-bottom: 40px;
            }

            .contact-form-form {
                div {
                    max-width: 900px;
                    width: 100%;
                    margin: 0 auto 10px auto;

                    input {
                        border-top: none;
                        border-left: none;
                        border-right: none;
                        border-radius: 0;

                        &[type=checkbox] {
                            border: 1px solid var(--bs-border-color);
                        }
                    }

                    textarea {
                        border-top: none;
                        border-left: none;
                        border-right: none;
                        border-radius: 0;
                    }

                    label {
                        a {
                            text-decoration: underline;
                        }
                    }
                }
            }
        }

    }

}

.modal-dialog {
    max-width: 80vw;
    max-height: 80vh;
    margin-left: 10vw;
}


#gallery-modal {
    .modal-dialog {


        .modal-header {
            border:none;
        }

        .modal-body {
            h3 {
                text-align: center;
                margin-bottom: 40px;
            }

            p {
                max-width: 900px;
                width: 100%;
                margin: 0 auto;
                text-align: center;
                margin-bottom: 40px;
            }

            .contact-form-form {
                div {
                    max-width: 900px;
                    width: 100%;
                    margin: 0 auto 10px auto;

                    input {
                        border-top: none;
                        border-left: none;
                        border-right: none;
                        border-radius: 0;

                        &[type=checkbox] {
                            border: 1px solid var(--bs-border-color);
                        }
                    }

                    textarea {
                        border-top: none;
                        border-left: none;
                        border-right: none;
                        border-radius: 0;
                    }

                    label {
                        a {
                            text-decoration: underline;
                        }
                    }
                }
            }
        }

    }

}

.grid {
    max-width: 100%;

    img {
        max-width: 100%;
    }
}
.grid:after {
    content: '';
    display: block;
    clear: both;
}

.grid-item {
    float: left;
    width: 49%;
    margin: .5%;
    min-width: 280px;
    /*height: 50px;
    background: #e6e5e4;
    border: 2px solid #b6b5b4;*/
}

.invalid-form-input {
    color: red;
    display: none;
}



