/* © Ivan Legnaioli 2021. All Rights Reserved */

body {
    background: #e2e1e0;
    overflow-x: hidden;
}

a:hover {
    text-decoration: none;
}

.link-material-shadow {
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
    transition: all 0.3s cubic-bezier(.25, .8, .25, 1);
}

.link-material-shadow:hover {
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
}

/* Header & Navigation
======================================== */

nav .container .btn {
    background-color: #4a7f7e;
    border: #4a7f7e;
}

nav .container .btn a {
    color: white;
}

nav .container .btn:hover {
    text-decoration: underline;
}

.navbar-brand {
    font-size: .75rem;
}

.navbar-light .navbar-nav .nav-link {
    color: #000;
}

.navbar-light .navbar-nav .nav-link.active {
    color: rgba(0, 0, 0, .5);
}

.nav-link:hover {
    text-decoration: underline;
}

header.masthead {
    background: url("../media/img/bg-masthead.jpg") no-repeat center bottom;
    background-attachment: fixed;
}

header.masthead .media-copyright {
    right: 1%;
    bottom: 0;
}

header.masthead .media-copyright p {
    font-size: 8px;
    margin: 0;
    padding: 0;
}

header.masthead .media-copyright p i {
    font-size: 10px;
}

header.masthead .media-copyright a {
    color: white;
    font-size: 9px;
}

header.masthead .overlay {
    pointer-events: none;
}

.about-link {
    height: 100%;
    width: 90%;
    margin: 0 4% 0 auto;
    padding-top: 10%;
    padding-bottom: 10%;
    background: #254e58;
    opacity: 85%;
}

.section-title {
    background: #6e6658;
    padding-top: 2%;
    padding-bottom: 2%;
}

header.masthead .row div:nth-child(2) .about-link {
    background-color: #112d32;
}

header.masthead h1 {
    font-size: 2rem !important;
}

.about-link .bg-image {
    background-image: url('../media/img/logo-stefano.png');
    width: 29vh;
    height: 29vh;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    margin: 0vh auto;
}

.about-link h1 {
    height: 29vh;
    width: 29vh;
    margin: 0vh auto;
    padding-top: 10%
}

/* Features icons styles
=============================================== */

.features-icons a {
    color: #4A5155;
    display: block;
}

.features-icons h3 {
    font-size: 22px;
}

.features-icons a:hover {
    color: #385C5C;
}

.features-icons .features-icons-item .features-icons-icon {
    height: 1rem !important;
    display: inline !important;
}

.features-icons .features-icons-item {
    max-width: 20rem !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: 3rem !important;

}


.features-icons .features-icons-item .features-icons-icon i {
    font-size: 2.5rem !important;
    display: none;
}

#contacts .row div:first-child,
#modules .row .features-icons:first-child {
    background-color: #254e58;
}

#contacts .row div:nth-child(2),
#modules .row .features-icons:nth-child(2) {
    background-color: #112d32;
}


/* Footer
============================================ */

.footer {
    color: #4A4E55;
}

footer a {
    color: #345B5B;
}

/* Media queries ========================== */

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
    .features-icons .features-icons-item {
        max-width: 20rem;
        margin-left: auto !important;
        margin-right: auto !important;
        margin-bottom: 3rem !important;
    }

    .navbar-brand {
        font-size: 1.05rem;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    .features-icons .features-icons-item {
        max-width: 20rem;
        margin-left: auto !important;
        margin-right: auto !important;
        margin-bottom: 3rem !important;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {

    .about-link {
        height: 100%;
        width: 90%;
    }

    .navbar-brand {
        font-size: 1.15rem
    }

    .about-link .bg-image {
        height: 35vh;
        width: 35vh;
    }

    header.masthead h1 {
        font-size: 2.5rem !important;
    }

    .features-icons .features-icons-item {
        max-width: 20rem;
        margin-left: auto !important;
        margin-right: auto !important;
        margin-bottom: 3rem !important;
    }
    
        #modules .row .features-icons:first-child {
    height:;
}
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {

    #modulistica header.masthead {
        background: url("../media/img/bg-masthead.jpg") no-repeat center bottom;
        background-attachment: fixed;
    }

    .about-link {
        height: 100%;
        width: 90%;
    }

    .navbar-brand {
        font-size: 1.25rem
    }

    .about-link .bg-image {
        height: 35vh;
        width: 35vh;
    }

    .about-link h1 {
        height: 35vh;
        width: 35vh;
    }

    header.masthead h1 {
        font-size: 3rem !important;
    }

    .features-icons {
        padding-top: 7rem;
        padding-bottom: 7rem;
        text-align: center;

    }

    .features-icons .features-icons-item {
        max-width: 20rem;
        margin-left: auto !important;
        margin-right: auto !important;
        margin-bottom: 3rem !important;
    }

    .features-icons .features-icons-item .features-icons-icon {
        height: 7rem !important;
    }

    .features-icons .features-icons-item .features-icons-icon i {
        font-size: 4.5rem !important;
        margin: auto;
        display: block;
    }

    .features-icons .features-icons-item:hover .features-icons-icon i {
        font-size: 5rem;
    }
    
    footer {
    height: 11.9vw;
}

    .mobile-icons {
        display: none;
    }

    footer.footer {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

}
