@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

@keyframes opIn{
    0%{
        opacity:0;
    }
    100%{
        opacity:1;
    }
}
@keyframes opOut{
    0%{
        opacity:1;
    }
    100%{
        opacity:0;
    }
}


.opIn{
    animation:opIn 0.35s ease-in-out forwards;
}

.opOut{
    animation:opOut 0.55s ease-in-out forwards;
}
html{
    width:100vw;
    height:100vh;
}
button {
    position: absolute;
    width: 60vh;
    height: 60vh;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    border-radius: 50%;
    background-color: #9494f5;
    color: white;
    font-size: 4em;
    transition: all 0.15s ease-in-out;
}

button.pressed{
    background-color: red;
}


.mainScreen {
    display: flex;
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%,-50%);
    justify-content: center;
    align-items: center;
}


.mainScreen h1 {
    font-family: 'Montserrat';
    text-align: center;
    font-size: 5em;
    white-space: nowrap;
}

input[type="email"] {
    width: 12%;
    text-align: center;
}

.mainScreen p {
    font-family: 'Montserrat';
    font-weight: 500;
    margin-top: 2em;
    border: 1px solid black;
    padding: 0.5em 1em;
    border-radius: 16px;
    cursor: pointer;
}


@media only screen and (max-width:1600px){
    html input[type="email"] {
        width: 33%;
    }
}

@media only screen and (max-width:650px){
    html .mainScreen h1 {
        font-size: 3.1em
    } 
    input[type="email"] {
        width: 50%;
    }

}