@font-face {
    font-family: 'ScotchDisplay Light';
    src: url('../fonts/ScotchDisplay-Light.woff2') format('woff2'),
        url('../fonts/ScotchDisplay-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'ScotchDisplay Medium';
    src: url('../fonts/ScotchDisplay-Medium.woff2') format('woff2'),
        url('../fonts/ScotchDisplay-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DarkerGrotesque Regular';
    src: url('../fonts/DarkerGrotesque-Regular.woff2') format('woff2'),
        url('../fonts/DarkerGrotesque-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}


/* CSS Document */

* {
    margin:0;
    padding:0;
    box-sizing: border-box;
}

img {
    border:none;
}

*:focus {
    outline: none;
}

header, nav, article, aside, section, footer, main, figure, figcaption, hgroup {
    display:block;
}

.clearfix::after {
    content: "";
    display: block;
    clear: both;
}

body {
    background-color:#fff;
    font-family: 'DarkerGrotesque Regular', sans-serif;
    
    font-size: 24px;

}

@media (max-width: 767px) {
    body {
        font-size: 18px;
    }
}

.hidden {
    opacity:0;
}
.visible {
    opacity:1;
}
.divider {
    padding:20px 0;

}

.center {
    text-align:center;
}

.container {
    padding: 0 30px;
    margin:0 auto;
}

@media (max-width: 992px) {
    .container {
        padding: 0 15px;
    }
}


/*TYPOGRAPHY*/

a {
    text-decoration: none;
}


h1 {
    color: #fff;
    font-family: 'ScotchDisplay Light';
    font-size: 50px;
    text-align: center;
    letter-spacing: 2px;
    font-weight: 300;
    margin-bottom: 30px;
}
@media (min-width: 768px) {
    h1 {
       
        font-size: 60px;
        
    }
}
@media (min-width: 992px) {
    h1 {
       
        font-size: 80px;
        
    }
}


/*BUTTON */

.button {
    display: inline-block;
    color: #6cc091;
    text-transform: uppercase;
    font-weight: 300;
    border: 2px solid #6cc091;
    padding: 15px 50px;
    border-radius: 30px;
    background: transparent;
}

.button:hover {
    background: rgba(108,192,145,0.2);
}


/* HEADER */

header {
    width: 100%;
    height: 100px10vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
}

header .container img{
    height: 40px;
}

@media (max-width: 480px) {
    header .container img{
        height: 20px;
    }
}
@media (min-width: 481px) and (max-width: 992px){
    header .container img{
        height: 30px;
    }
}

.hero-section {
    position: relative;
    background: url(../img/pasticceria-liberale.jpg) no-repeat center center;
    background-size: cover;
    color: #fff;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo {
    width: 80vw;
    height: auto;
}

@media (min-width: 992px) {
    .logo {
        width: 50vw;
    }
}


.hero-section::before {
    content: '';
    position: absolute;
    top: -5px;
    right: -5px;
    bottom: -5px;
    left: -5px;
    background: url(../img/pasticceria-liberale.jpg) no-repeat center center;
    background-size: cover;
    filter: blur(8px);
    z-index: 1;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.5); 
    z-index: 2;
}


.flex-hero {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    z-index: 3; 
}


.flex-hero .social{
    display: flex;
    flex-direction: row;
}

.flex-hero .social a {
    background-color: #6C946F;
    padding: 20px 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    gap: 10px;

    -webkit-transition: all .2s ease-out;
       -moz-transition: all .2s ease-out;
         -o-transition: all .2s ease-out;
            transition: all .2s ease-out;
}

.flex-hero .social a img{
    height: 25px;
    transition: all ease-out .2s;
}

.flex-hero .social a:hover{
    opacity: 0.7;

    text-decoration: none;
}   

@media (max-width: 768px) {
    .flex-hero .social a {
        padding: 10px 30px;
    }
}

.location {
    text-align: center;
}


.flex-hero .section{
    margin-top: 100px;
}

@media (max-width: 768px) {
    .flex-hero .section{
        margin-top: 80px;
    }
}

.flex-hero a{
    color: #fff;
}

.flex-hero a:hover{
    color: rgb(205, 205, 205);
}





