body,
html {
    margin: 0px;
    padding: 0px;
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
}

h1,
h2,
p,
a,
label {
    font-family: "Bubbler One", sans-serif;
    font-weight: bold;
}

.contaneir_form {
    display: -webkit-flex;
    flex-flow: column wrap;
    align-items: stretch;
    justify-content: space-between;
    margin-top: 10px;
}

.card {
    display: flex;
    border-radius: 15px;
    margin-bottom: 1rem;
    background-color: aqua;
    box-shadow: rgb(153, 153, 153) 0px 9px, rgb(28, 255, 255) 20px 20px 50px 10px inset;
    border: none;
    align-items: center;
    align-content: center;
    text-align: center;
    min-height: 4rem;
    transition: all 0.1s ease-in-out;
}

.card:hover {
    background-color: rgb(1, 207, 207);
}

.card:active {
    color: white;
    text-shadow: 2px 2px 8px #FFFFFF;
    background-color: #02e9e9;
    box-shadow: rgb(102, 102, 102) 0px 2.5px, 5px 5px 25px 10px white, 2px 2px 15px 5px #02e9e9, rgba(0, 185, 185, 0.644) 20px 20px 50px 10px inset;
    transform: translateY(6px);
}

.pressed {
    background-color: #02e9e9;
    color: white;
    text-shadow: 2px 2px 8px #FFFFFF;
    box-shadow: rgb(102, 102, 102) 0px 5px, 5px 5px 25px 10px white, 2px 2px 15px 5px #02e9e9, rgba(0, 185, 185, 0.644) 20px 20px 50px 10px inset;
    /*box-shadow: rgba(102, 102, 102, 0.329) 0px 5px, rgba(0, 185, 185, 0.644) 20px 20px 50px 10px inset;*/
    transform: translateY(4px);
}

input,
label {
    padding: 1.5rem;
}

input {
    display: none;
}

label {
    flex-grow: 1;
}

.wrapper {
    /* height: 30vh; */
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    text-align: center;
}

.bg_home {
    background-image: url("./images/search-engine-optimization-gb39c27e9d_1920.jpg");
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.wrapper_home {
    height: 100%;
    margin: 0px 1rem;
    width: 768px;
    backdrop-filter: blur(10px) saturate(180%);
    border: 4px double black;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.5);
    display: flex;
    flex-direction: column;
    place-content: space-around;
    position: relative;
}

.wrapper2 {
    margin: 0px 1rem;
    max-width: 768px;
    backdrop-filter: blur(10px) saturate(180%);
    border: 4px double black;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.5);
}

.wrapper3 {
    display: flex;
    flex-direction: column;
    gap: 5rem;
    place-content: center space-around;
    align-items: center;
    background-image: url("./images/search-engine-optimization-gb39c27e9d_1920.jpg");
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.wrapper2 form {
    line-height: 1.5;
}

.wrapper2 p {
    font-weight: bold;
    padding-left: 2px;
    text-align: center;
    margin-top: 6rem;
}

.Button_container {
    height: 50%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}

#myBtn,
#myBtn2 {
    margin: 20px;
}

.Button_container2 {
    display: flex;
    justify-content: space-evenly;
    padding-top: 2.5rem;
}

.foot {
    box-shadow: rgb(0, 255, 255) 20px 20px 50px 10px inset;
    margin-top: 5rem;
    border-radius: 15px;
}

header {
    text-align: center;
    margin-bottom: 6rem;
    display: flex;
    flex-direction: column;
}

header a {
    float: right;
    margin: 2rem 0px;
    font-size: 2rem;
}

.head {
    display: flex;
    justify-content: space-between;
}

.risultato {
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    padding-bottom: 6rem;
}


/* Helper */

.fontWhite {
    color: white;
}

.fontBlack {
    color: black;
}

.fontRegular {
    font-size: 1.5rem;
}

.fontLarge {
    font-size: 2rem;
}

.fontXl {
    font-size: 3rem;
}


/* The Modal (background) */
.modal {
    display: none;
    /* Nascosto di default */
    position: fixed;
    /* fisso */
    z-index: 1;
    /* In primo piano */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    /* Scrolling disabilitato */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4);
    /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
    background-color: rgb(254, 254, 254, 0);
    margin: 15% auto;
    /* 15% da su e centrato orizzontalmente */
    padding: 20px;
    width: 80%;
    /* larghezza desktop */
}

/* The Close Button */
.close {
    color: #aaa;
    float: right;
    font-size: 3rem;
    font-family: streetFont;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Font winning text */

@font-face {
    font-family: streetFont;
    font-display: swap;
    src: url(./Street-Fighter-Font/Act_Of_Rejection.woff2) format('woff2');
}

.modal-content>p {
    display: block;
    font-family: streetFont;
    font-size: 8rem;
    text-align: center;
    color: #FFFFFF;
    text-shadow: 0 -1px 4px #FFF, 0 -2px 10px #ff0, 0 -10px 20px #ff8000, 0 -18px 40px #F00;
    /*animation: myAnim 1s ease 0s 1 normal forwards;*/
    -webkit-animation-name: myAnim;
    -webkit-animation-duration: 1s;
    -webkit-animation-timing-function: ease;
    -webkit-animation-delay: 0s;
    -webkit-animation-direction: normal;
    -webkit-animation-fill-mode: forwards;

    animation-name: myAnim;
    animation-duration: 1s;
    animation-timing-function: ease;
    animation-delay: 0s;
    animation-direction: normal;
    animation-fill-mode: forwards;
}

@media screen and (max-width: 600px) {
    .modal-content>p {
        font-size: 4rem;
    }

    .modal-content {
        width: 100%;
        /* larghezza mobile */
    }

    .Button_container > * {
        scale: .75;
    }
}

/* animazione testo winning */

@keyframes myAnim {
    0% {
        transform: scale(2);
    }

    100% {
        transform: scale(1);
    }

}

@-webkit-keyframes myAnim {
    0% {
        -webkit-transform: scale(2);
        transform: scale(2);
    }

    100% {
        -webkit-transform: scaleX(1);
        transform: scale(1);
    }
}

/* Icone */

.color-icon5 {
    color: aqua;
    transform: scale(1.5);
    text-shadow: 0 2px .2rem blue, 0 0 .5rem white;
    /*transition: all 0.3s ease-in-out;*/
}

.color-icon6 {
    color: white;
    transform: scale(1.5);
    text-shadow: 0 0 3rem blue, 0 0 4rem white;
    /*transition: all 0.2s ease-in-out;*/
}

i {
    transition: transform 4s ease-in-out;
}

i:hover {
    color: white;
    text-shadow: 0 0 3rem rgb(0, 0, 175), 0 0 4rem darkblue;

}

i:active {
    color: white;
    text-shadow: 0 0 .2rem rgb(0, 0, 175), 0 0 4rem darkblue;
    transform: translateY(4px);
}

.audio {
    align-self: flex-end;
} 

body > div > div.wrapper2 > header > div > span {
    margin: 2rem 0;
}
