body,
html {
    height: 100%;
    font-family: 'Montserrat', sans-serif;
}

body {
    background: #333;
}


.material-symbols-outlined {
    font-variation-settings:
        'FILL' 1,
        'wght' 400,
        'GRAD' 200,
        'opsz' 18;
    font-size: 18px;
}

h1,
h2,
h3,
h4 {
    color: #fff;
}

p {
    font-size: 18px;
    line-height: 22px;
    color: #fff;
    font-weight: 300;
}

/*---------------------------------------------------
General
---------------------------------------------------*/

.animate {
    -webkit-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}

.button {
    display: inline-block;
    background: #fff;
    color: #000;
    padding: 15px 25px;
    border-radius: 3px;
    text-decoration: none;
}


/*---------------------------------------------------
Header
---------------------------------------------------*/

.header {
    position: fixed;
    z-index: 100;
    width: 100%;
    min-width: 350px;
}

.header__logo {
    color: #fff;
    float: left;
    display: block;
    padding: 5px 5px;
}

.header__flag {
    float: right;
    padding: 15px 5px 15px;
    display: block;
    z-index: 100;
    background-size: contain;
    background-position: 50%;
    background-repeat: no-repeat;
    height: 89px;
}

/*---------------------------------------------------
Footer
---------------------------------------------------*/

.footer {
    position: absolute;
    width: 100%;
    bottom: 0;
    text-align: center;
    padding: 20px 0;
    color: #33ff33;
    min-width: 350px;
    z-index: 3;
}

.footer p {
    font-size: 18px;
}

.footer a {
    color: #33ff33;
    text-decoration: none;
}

.footer a:hover {
    color: #fff;
}

/*---------------------------------------------------
Cover
---------------------------------------------------*/

.cover {
    height: 70vh;
    background-image: url("img/construction-plans-architectural-project.jpg");
    background-size: cover;
    background-position: center center;
    position: relative;
    height: 100%;
    min-width: 350px;
}

.cover__filter {
    background: #000;
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 0;
    opacity: 0.5;
}

.cover__caption {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    position: relative;
    z-index: 1;
}

.cover__caption__copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}


.cover__caption__copy h1 {
    font-size: 88px;
    margin: 5px 0;
}

.cover__caption__copy h2 {
    font-size: 48px;
    margin: 5px 0;
}

.cover__caption__copy h3 {
    font-size: 40px;
    margin: 5px 0;
}

.cover__caption__copy p {
    font-size: 22px;
    margin: 5px 0;
}


/*---------------------------------------------------
Cards
---------------------------------------------------*/

.cards {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin: 50px auto 0 auto;
    z-index: 2;
    position: relative;
}

.cards h4 {
    margin: 0;
    color: #fff;
    font-size: 30px;
}

.card {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    text-decoration: none;
    margin: 10px;
    width: 260px;
    min-height: 70px;
    border-radius: 50px;
}

.card:hover {
    box-shadow: 0 0 16px 1px #33ff33;
    -moz-box-shadow: 0 0 16px 1px #33ff33;
    -webkit-box-shadow: 0 0 16px 1px #33ff33;
}


/*---------------------------------------------------
Modal
---------------------------------------------------*/

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 20px;
}

.modal-filter {
    background: #000;
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 1;
    opacity: 0.5;
}

.modal-content {
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 8px;
    max-width: 700px;
    width: 100%;
    text-align: center;
    z-index: 2;
}

.modal-content h2 {
    margin-top: 0;
    color: cccccc;
    font-size: 50px;
}

.modal-content p {
    margin-bottom: 10px;
    font-size: 25px;
    line-height: 30px;
}

.modal-content button {
    margin-top: 20px;
    padding: 10px 20px;
    background: #fff;
    color: #000000;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.modal-content button:hover {
    background: #555;
}


/*---------------------------------------------------
Smartphone - esegue se lo schermo è inferiore a 767px
---------------------------------------------------*/
@media (max-width: 767px) {

    .header__logo {
        height: 60px;
    }

    .header__flag {
        height: 60px;
    }

    .cover__caption__copy h1 {
        font-size: 60px;
        margin: 5px 0;
    }

    .cover__caption__copy h3 {
        font-size: 30px;
        margin: 5px 0;
    }

    .cover__caption__copy h4 {
        font-size: 25px;
        margin: 5px 0;
    }

    .cover__caption__copy p {
        font-size: 22px;
        margin: 5px 0;
    }

    .cards {
        margin: 100px auto 0 auto;
    }

    .cards h4 {
        margin: 0;
        font-size: 18px;
    }

    .card {
        text-decoration: none;
        width: 150px;
        min-height: 50px;
    }

    .modal-content h2 {
        font-size: 24px;
    }

    .modal-content p {
        font-size: 18px;
        line-height: 22px;
    }
}


.clearfix:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
}

* html .clearfix {
    zoom: 1;
}

/* IE6 */
*:first-child+html .clearfix {
    zoom: 1;
}

/* IE7 */

*,
*:before,
*:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}


/*---------------------------------------------------
Smartphone - esegue se lo schermo è inferiore a 450px
---------------------------------------------------*/
@media (max-width: 450px) {
    .cover__caption__copy h1 {
        font-size: 50px;
        margin: 5px 0;
    }

    .cover__caption__copy h3 {
        font-size: 20px;
        margin: 5px 0;
    }

    .cover__caption__copy p {
        font-size: 20px;
        margin: 5px 0;
    }

    .cards {
        margin: 50px auto 0 auto;
        margin-bottom: 50px;
    }

    .card {
        width: 290px;
        min-height: 30px;
    }
}