@font-face {
    font-family: fontEdil;
    src: url(../../assets/font/Conthrax-SemiBold.otf);
}

*{
    margin: 0;
    padding: 0;
}
::-webkit-scrollbar {
    width: 1px;}
.sectionForm{
    background-image: url(../../assets/img/SfondoContatti.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    width: 100%;
    height: 180dvh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 40px;
}

.titleForm{
    border: 4px solid #1f676b;
    padding: 15px;
    border-radius: 10px;
    font-family: fontEdil;
    font-size: 0.6vw;
    background-color: gray;
    color: #ffffff;
    filter: drop-shadow(2px 2px 2px black);

}
.infobox{
    width: 80%;
    height: 40%;
    background-color:gray;
    border: 6px solid #1f676b;
    filter: drop-shadow(3px 3px 5px black);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
    .row-up{
        width: 100%;
        height: 40%;
        gap: 10%;
    
        .label-container{
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            gap: 20px;

            p{
            color: #ffffff; 
            font-size: 1dvw;
            font-family: fontEdil;
            }
          
        }
    }
    .row{
         display: flex;
        justify-content: space-around;
        align-items:center;
    }
    .row-down{
        width: 100%;
        height: fit-content;
        iframe{
            width: 95%;
            border-radius: 10px;
        }
    }
}
.formContainer{
    width:auto;
    height: auto;
    border: 6px solid #1f676b;
    filter: drop-shadow(3px 3px 5px black);
    background-color: gray;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 30px;
    padding: 2.5%;
}
.sendBtn{
    font-family: fontEdil;
    background-color: #1f676b;
    width: 150px;
    height: 50px;
    border: 2px solid white;
    filter: drop-shadow(2px 2px 3px black);
    border-radius: 10px;
    color: white;
}
.sendBtn:active{
    transform: translateY(2px);
    filter: drop-shadow(0px 0px 0px black);
}
.sendBtn:hover{
    background-color: white;
    border-color: #1f676b;
    color: #1f676b;
    transition: all ease-in-out 200ms;
}
.sizelab{
    font-size: 1vw;
    color: white;
    font-family: fontEdil;
    white-space: nowrap;
}
.item{
    width: 50%;
    height: 100%;
    border: 4px solid #1f676b;
    border-radius: 15px;
    font-size: 0.8vw;
    font-family: fontEdil;
    outline: none;
    padding: 5px;
}

.messageArea{
    margin-top: 15px;
}
.textArea{
    height: calc(100% + 20px);
}
.formItem{
    width: 90%;
    height: 10%;
    display: flex;
    justify-content:space-between;
    align-items: center;
    gap: 20px;
}

.checkstyle{
    span{
        color: white;
    }
    
}
.success-message{
    background-color: white;
    position: absolute;
    top: 50%;
    left:30%;
    border:1px solid #28a745;
    color:#28a745;
    border-radius:8px;
}

.error-message{
    background-color: white;
    position: absolute;
    top: 50%;
    left:30%;
    padding:15px;
    border:1px solid #dc3545;
    color:#dc3545;
    border-radius:8px;
}
@keyframes animBtn {
  0%   {filter: drop-shadow(1px 1px 2px black);}
  25%  {filter: drop-shadow(1px 1px 2px black);}
  50%  {filter: drop-shadow(1px 1px 2px black);}
  75%  {filter: drop-shadow(1px 1px 2px black);}
  100% {filter: drop-shadow(1px 1px 2px black);}
}

@media screen and (min-width:320px) and (max-width:820px) and (orientation: portrait) {
    .sectionForm{
        height: fit-content;
    }
    .titleForm {
        font-size: 1.2vh;
        padding: 10px;
        text-align: center;
        max-width: 80%;
    }

    .formContainer {
        width: 80%;
        height: auto;
        border: 6px solid #1f676b;
        filter: drop-shadow(3px 3px 5px black);
        background-color: gray;
        border-radius: 20px;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        gap: 50px;
        margin-bottom: 5%;
        padding: 2% 2%;
    }

    .sizelab {
        font-size: 1.9vh;
        color: white;
        
    }
    .formItem{
        flex-direction: column;
    }
    .boxcheck{
        margin-top: 20px;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;

    }
    .item {
        font-size: 1.6vh;
        width: 80%;
        height: 60%;
        padding: 20px;
    }
    .textArea{
    height: calc(100% + 40px);
    }
    .sendBtn{
    font-family: fontEdil;
    background-color: #1f676b;
    width: 150px;
    height: 40px;
    border: 2px solid white;
    filter: drop-shadow(2px 2px 3px black);
    border-radius: 10px;
    color: white;
}

.row-up{
    flex-direction: column;
    margin-top: 20px;
    margin-bottom: 20px;
    .label-container{
        p{font-size: 16px!important;}
        
    }
}

}

    @keyframes animBtn {
        0% {
            filter: drop-shadow(1px 1px 2px black);
        }

        25% {
            filter: drop-shadow(1px 1px 2px black);
        }

        50% {
            filter: drop-shadow(1px 1px 2px black);
        }

        75% {
            filter: drop-shadow(1px 1px 2px black);
        }

        100% {
            filter: drop-shadow(1px 1px 2px black);
        }
    }
