@font-face {
     font-display: swap; 
    font-family: 'Audiowide';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/Audiowide-Regular.woff') format('woff'),
         url('../fonts/audiowide-v20-latin_latin-ext-regular.woff2') format('woff2'),
         url('../fonts/Audiowide-Regular.ttf') format('ttf');
}
/*@font-face {
    font-family: 'audiowideregular';
    src: url('audiowide-regular-webfont.woff2') format('woff2');
    src  url('audiowide-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}*/

:root {
    --bs-body-font-family: 'Audiowide', sans-serif;
    --bs-emphasis-color-rgb: 255, 255, 255;
    --custom-prymary-color: rgb(4, 67, 123);
    --custom-secondary-color: rgb(169, 251, 255);
}

.cbd {
    border: 1px solid red;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%284, 67, 123, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

body {
    background-color: #efefef;
}

.bg-custom {
    background-color: var(--custom-prymary-color);
}

.text-custom {
    color: var(--custom-secondary-color);
}

.text-size-custom {
    font-size: 10px;
}

#hero {
    width: 100%;
    background-image: url(../img/fulllogo_transparent_nobuffer.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 30vh;
    position: relative;
}

#hero::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.3);
}

#hero h1,
#hero p {
    z-index: 1;
}

#hero h1 {
    font-size: calc(0.43rem + 3vw);
}

#hero p {
    font-size: calc(0.2rem + 3vw);
}

#cards {
    margin-top: 6rem;
}

@media (min-width: 768px) {
    #hero h1 {
        font-size: calc(0.43rem + 2vw);
    }

    #hero p {
        font-size: calc(0.1rem + 2vw);
    }

    .text-size-custom {
        font-size: 12px;
    }

    #formLogin,
    #formContatti {
        width: 75%;
    }
}

@media (min-width: 992px) {

    #formLogin,
    #formContatti {
        width: 50%;
    }
}

@media (min-width: 1400px) {
    #hero h1 {
        font-size: calc(0.4rem + 1.5vw);
    }

    #hero p {
        font-size: calc(0.1rem + 1.5vw);
    }

    #formLogin,
    #formContatti {
        width: 50%;
    }
}