*{
    margin: 0;
    padding: 0;
    font-family: "Gruppo", Verdana, Geneva, Tahoma, sans-serif;
    scroll-behavior: smooth;
}

body{
    opacity: 0;
    animation: fadeInAnimation 1s forwards;
}

@keyframes fadeInAnimation{
    to{
        opacity: 1;
    }
}


@font-face {
    font-family: 'blanka';
    src: url('FONTS/blanka-regular-webfont.woff2') format('woff2'),
         url('FONTS/blanka-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@keyframes backgroundGradientAnimation{
    0%{
        background-position: 0% 0%;
    }
    
    50%{
        background-position: 100% 100%;
    }
    
    100%{
        background-position: 0% 0%;
    }
}


.gruppo-regular {
  font-family: "Gruppo", sans-serif;
  font-weight: 400;
  font-style: normal;
}

header{
    width: 100%;
    height: 15vh;
    align-content: center;
    background-color: black;
    position: fixed;
    align-items: center;
    z-index: 5;
    display: flex;
    justify-content: space-between;
}


.navbar{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo{
    width: 250px;
    height: 105px;
    cursor: pointer;
    align-content: center;
    border-radius: 50px;
}

ul{
    display: flex;
    justify-content: right;
    list-style-type: none;
}

ul li{
    list-style: none;
    display: inline-block;
    position: relative;
    margin: 0 20px;
    padding: 5px 0 5px;
}

ul li a{
    text-decoration: none;
    color: white;   
    font-weight: 600;
    font-size: 25px;
    text-align: left;
    transition: 0.3s;
}

ul li::after{
    content: '';
    align-self: center;
    height: 1px;
    width: 0%;
    background-color: #76a1ff;
    border-radius: 12px;
    position: absolute;
    left: 0;
    bottom: -5px;
    transition: 0.3s;
}

ul li:hover::after{
    width: 100%;
    transition: 0.3s;
}

ul li a:hover{
    color: #76a1ff;
    transition: 0.3s;
}


/*FORM*/

.form{
    width: 100%;
    height: 75vh;
    padding-top: 15vh;
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    text-align: center;
    background-image: url(CONTACT/formBG.png);
    background-size: 400%;
    animation: backgroundGradientAnimation 40s infinite;
}

h1{
    padding: 20px;
    font-size: 50;
    color: white;
    font-family: "blanka", Verdana, Geneva, Tahoma, sans-serif;
    text-shadow: 0 0 20px rgba(255,255,255,0.2)
}

.form-container{
    width: 70%;
    height: 90%;
    background-color: rgba(255,255,255,0.1);
    box-shadow: 0 0 50px rgba(0,0,0,0.3);
    border-radius: 20px;
}

.label{
    color: white;
    font-size: 30;
}

.input{
    width: 70%;
    max-width: 300px;;
    height: 5%;
    background-color: rgba(255,255,255,0.1);
    border-radius: 20px;
    color: white;
    font-size: 15;
    text-align: center;
    border: none;
}

.message{
    min-width: 70%;
    max-width: 70%;
    min-height: 30%;
    max-height: 40%;
    background-color: rgba(255,255,255,0.1);
    color: white;
    font-size: 20;
    font-family: "Gruppo";
    border-radius: 10px;
}

.word-count{
    color: white;
}

.submitBtn{
    width: 200px;
    height: 50px;
    border-radius: 1000px;
    font-size: 20;
    color: white;
    border: none;
    background-color: black;
    transition: 0.3s;
}

.submitBtn:hover{
    box-shadow: 0 0 10px rgba(0,0,255,1);
    cursor: pointer;
    background-color: rgba(0,0,0,0);
    border: 10px solid double;
    border-color: white;
}



/*FOOTER*/

footer{
    width: 100%;
    height: 10vh;
    background-color: black;
    border-top: 0.5px solid #fff;
    display: flex;
}

.footerText{
    width: 70%;
    display: flex;
    align-items: center;
    padding-left: 20px;
}

.footerTitle{
    color: white;
    padding: 2px;
    font-size: 13;
    font-weight: bold;
}

.socials{
    width: 30%;
    text-align: right;
    align-content: center;
    justify-content: center;
    padding: 20px;
}

.social-1, .social-2, .social-3{
    width: 30px;
    padding: 10px;
    cursor: pointer;
    background-color: black;
    border-radius: 10px;
    border: 0.5px solid #fff;
    transition: 0.3s;
}

.social-1:hover{
    box-shadow: 0 0 20px rgba(116, 116, 255, 1);
}

.social-2:hover{
    box-shadow: 0 0 20px rgba(227, 104, 255,1);
}

.social-3:hover{
    box-shadow: 0 0 20px rgba(255, 116, 116,1);
}

/*SMALL DEVICE*/

@media(max-width: 1024px){
    ul{
        z-index: 10;
        padding: 30px;
        display: flex;
        flex-direction: column;
    }
    
    ul li{
        padding-top: 10px;
        font-size: 20px;
    }
    .logo{
        width: 200px;
        height: 79px;
    }
    
    nav .fa{
        display: block;
        color: white;
        margin: 5px;
        padding: 20px;
        font-size: 30px;
        cursor: pointer;
    }
    .navbar{
        overflow: hidden;
        position: absolute;
        background: linear-gradient(rgba(0,20,50,1),rgba(25,140,255,1), rgba(0,0,0,0),rgba(0,0,0,0),rgba(0,0,0,0), rgba(0,0,0,0));
        height: 200vh;
        width: 100%;
        top: -200vh;
        right: 0;
        display: flex;
        flex-direction: column;
        text-align: left;
        justify-content: left;
        z-index: 5;
        transition: 1s;
    }
    
    
    h1{
        font-size: 30;
    }
    
    .form-container{
        width: 90%;
    }
    
    .submitBtn{
        width: 150px;
        height: 50px;
        font-size: 15;
    }
    
    
    /*FOOTER*/
    footer{
        width: 100%;
        height: 20vh;
        background-color: black;
        border-top: 0.5px solid #fff;
        display: flex;
        flex-direction: column;
        text-align: center;
    }

    .footerText{
        width: 100%;
        padding-bottom: 20px;
        display: flex;
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }

    .footerTitle{
        color: white;
        /*padding: 2px;*/
        font-size: 13;
        font-weight: bold;
    }
    
    .footerText, .footerTitle{
        box-sizing: border-box;
    }

    .socials{
        width: 100%;
        text-align: right;
        display: flex;
        flex-direction: row;
        align-content: center;
        padding: 0;
    }

    .social-1, .social-2, .social-3{
        width: 30px;
        padding: 15px;
        cursor: pointer;
        background-color: black;
        border-radius: 10px;
        border: 0.5px solid #fff;
        transition: 0.3s;
        margin: 20px;
    }
    .social-1:hover{
        box-shadow: 0 0 20px rgba(116, 116, 255, 1);
    }

    .social-2:hover{
        box-shadow: 0 0 20px rgba(227, 104, 255,1);
    }

    .social-3:hover{
        box-shadow: 0 0 20px rgba(255, 116, 116,1);
    }

    
}

