/* Import & Integrations */
npm i bootstrap-icons

/* Reset */
div, section, * {
    box-sizing: border-box;
    transition: all ease 0.3s;
    -o-transition: all ease 0.3s;
    -moz-transition: all ease 0.3s;
    -webkit-transition: all ease 0.3s;
    -ms-transition: all ease 0.3s;
}

/* Layout */
.container-2 {
    padding-top: 1em;
    padding-bottom: 1em;
}
.row { 
    /*border: 1px solid green;*/
    padding-top: 2em; 
    padding-bottom: 2em; 
}
.col-sm-12, .col-md-12 {
    padding-top: 15px;
    padding-bottom: 15px;
}
footer#footer {
    background-color: #484848;
    color: #ededed !important;
}
footer#footer p {
    color: #ededed !important;
}
#footer-copyright {
    background-color: #282828;
    color: #ededed !important;
}
/* Home */
#machines-section {
    background-color: #ededed;
}
#how-section {
    background-color: rgba(0,0,0,0.55);
    background-blend-mode: multiply;
}
#how-section p {
    color: #ffffff;
}
/* Contacts */
#contact-header {
    min-height: 420px;
    background-image: url('../uploads/img/placeholder-006.jpg');
    background-color: rgba(0,0,0,0.4);
    background-blend-mode: multiply;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-wrap: wrap;
}
#info-section {
    background-color: #ededed;
}
/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    color: #2BACCB;
    text-transform: uppercase;
}
h2 { 
    font-size: 2.4em;
    font-weight: 700;
    color: #2BACCB;
}
strong, em {
    font-family: 'Montserrat', sans-serif;
}
p {
    font-family: 'Roboto Slab', serif;
    font-weight: 400;
    color: #353535;
}
.footer-logo {
    font-size: 2em;
    font-family: 'Montserrat', sans-serif;
    color: #ffffff;
}
.emphasys {
    font-size: 1.4em;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-style: italic;
}
.center-text { text-align: center !important;}
.white-text { color: #ffffff;}
.carousel-caption h5 {
    font-size: 1.5em;
    color: #ffffff;
}
.carousel-caption p {
    font-size: 1.2em;
    color: #ffffff;
}
/* Colors*/
.btn-primary {
    background-color: #78CFE4;
    border: 1px solid #78CFE4;
}
.btn-primary:hover {
    background-color: #2BACCB;
    border: 1px solid #2BACCB;
}
.primary {
    color: #2BACCB;
}

/* Elements */

/* Menu & Navbar */
.menu-icon {
    margin: 10px;
}
.navbar-brand {
    color: #2BACCB !important;
    font-weight: 700;
    margin: auto 10px;
    font-size: 1.5em;
}
/* Dark menu 
#main-menu {
    background-color: #282828 !important;
    color: #ededed;
}
.navbar-collapse {
    background-color: #484848;
    color: #ededed;
}

.navbar-toggler {
    color: #ededed;
}

*/
/* Homepage slider */
.carousel-inner { background-color: #000000;}
.carousel-item img {
    opacity: 0.7;
}

/* Btn */
#back-to-top {
    display: none;
    position: fixed;
    bottom: 50px;
    right: 30px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: rgba(0,0,0,0.4);
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 5px;
    font-size: 1.6em;
    line-height: 1em;
    width: 50px;
    height: 50px;
    transition: all ease .3s;
    -o-transition: all ease .3s;
    -ms-transition: all ease .3s;
    -moz-transition: all ease .3s;
    -webkit-transition: all ease .3s;
}
#back-to-top:hover {
    background-color: rgba(0,0,0,0.7);
}
.modal-btn {
    width: 75px;
    margin: 0 auto;
    font-size: 2em;
}
/* Cards */
.card-icon {
    border: none;
    width: 80%;
    height: 100%;
    margin: 0 auto;
    background-color: #ffffff;
    box-shadow: 0px 5px 15px rgba(0,0,0,0);
    position: relative;
    top: 15px;
    color: #525252;
}
.card-icon:hover {
    box-shadow: 0px 5px 15px rgba(0,0,0,0.25);
    top: 0;
}
.card-icon:hover i, .card-icon:hover .card-title {
    color: #2BACCB;
}
.card-icon i {
    margin: 0 auto;
    font-size: 4em;
    line-height: 1.5em;
}
.card-icon .card-title {
    text-align: center;
}
.card-icon .card-text {
    text-align: justify;
}

/* Card with overaly */
/* Container card */
.card-overlay {
    min-height: 180px;
    height: 100%;
    overflow: hidden;
}
/* Content card */
/* Image */
.card-overlay .card-img {
    object-fit: cover;
    height: 100%;
}
/* Over layer */
.card-img-overlay {
    background-color: rgba(0,0,0,0.2);
    text-align: center;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
}
.card-img-overlay p {
    opacity: 0;
    color: #ffffff;
    position: relative;
    transition-delay: .1s;
    top: 5px;
}
.card-img-overlay .modal-btn {
    transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    opacity: 0;
    position: relative;
    transition-delay: .1s;
    top: 5px;
}
.card-img-overlay:hover {
    background-color: rgba(0,0,0,0.85);
}
.card-img-overlay .card-title {
    position: relative;
    top: 15px;
}
.card-img-overlay:hover p, .card-img-overlay:hover .modal-btn {
    opacity: 1;
    top: 0;
}
.card-img-overlay:hover .card-title {
    top: 0;
}

/* Accordion color */
.accordion-button:not(.collapsed) {
    color: #ffffff;
    background-color: #2BACCB;
    font-weight: 700;
}

/* Modals */

.modal-img {
    width: 100%;
    margin: 0 auto;
    margin-top: 10px;
    margin-bottom: 10px;
}

/* Responsive */
@media screen and (max-width: 992px) {
    .row {
        padding-top: .75em;
        padding-bottom: .75em;
    }
    .card-overlay {
        height: 280px;
    }
    .card-icon {
        width: 100%;
    }
    .col-md-12 {
        padding-top: .75em;
        padding-bottom: .75em;
    }
    .emphasys {
        font-size: 1.2em;
    }
}