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

* {
    -webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust: 100%;
    box-sizing: border-box;
    color: #000;
    font-family: Rubik, sans-serif;
    font-size: 1em;
    font-weight: 400;
    line-height: 150%;
    margin: 0;
    outline: 0;
    padding: 0;
    text-align: center;
    text-decoration: none;
}

body {
    margin: 10vh 5vw;
}

header {
    margin-bottom: 12vh;
}

section {
    padding-bottom: 7vh;
}

#logo {
    height: 35vh;
    margin: auto;
    position: relative;
    width: 35vh;
}

#text {
    animation: rotation 60s infinite linear;
    background: url(../images/text.svg) no-repeat center;
    background-size: 100%;
    height: 100%;
    position: absolute;
    width: 100%;
}

@keyframes rotation {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(359deg);
    }
}

#face {
    background: url(../images/face.svg) no-repeat center;
    background-size: 100%;
    height: 100%;
    position: absolute;
    width: 100%;
    z-index: 1;
}

h1 {
    display: none;
}

h2 {
    font-weight: 700;
    font-size: 2em;
}

#big {
    padding-bottom: 7vh;
    font-size: 2em;
    line-height: 125%;
}

b {
    font-weight: 700;
    line-height: 125%;
}

#note {
    font-style: italic;
}

#form {
    overflow: hidden;
    padding: 1em 0;
}

input {
    background-color: #eee;
    border: 3px solid#fff;
    border-radius: .8em;
    margin-bottom: 1em;
    padding: .8em;
    width: 100%;
    float: left;
}

input[type=email]:focus {
    background-color: #fff;
    border: 3px solid #F7DE00;
}

input[type=submit] {
    background-color: #F7DE00;
    color: #000;
    font-weight: 700;
    margin-bottom: 0;
}

input[type=submit]:hover {
    background-color: #000;
    color: #F7DE00;
}

footer {
    border-top: dotted 2px #000;
    padding: 2em 0;
}


/* Thanks--------------------------------------------------------------- */

#thanks {
    background-color: #F7DE00;
    padding: 2vh 2vh;
    margin: 0;
    width: 100%;
    height: 100%;
}


#thanks h1 {
    background: url(../images/face.svg) no-repeat center;
    background-size: 65vmin;
    padding: 65vmin 0 2vmin;
    display: block;
    font-size: 3em;
    text-align: center;
    font-weight: 900;
}

#thanks p {
    font-size: 1em;
    text-align: center;
}


/* RESPONSIVE 600PX--------------------------------------------------------------- */

@media (min-width: 500px) {
    input[type=email] {
        width: 67%;
        float: left;
    }
    input[type=submit] {
        width: 30%;
        float: right;
    }
}


/* RESPONSIVE 700PX--------------------------------------------------------------- */

@media (min-width: 700px) {
    body {
        margin: 12vh 10vw;
    }
    header {
        width: 50%;
        float: left;
    }
    #logo {
        height: 30vw;
        margin: 0;
        width: 30vw;
    }
    section {
        width: 50%;
        float: left;
    }
    #big,
    h2,
    p {
        text-align: left;
    }
    footer {
        width: 50%;
        float: right;
    }

    input[type=email] {
        width: 100%;
        
    }
    input[type=submit] {
        width: 100%;
       
    }
  
}

/* RESPONSIVE 1000PX--------------------------------------------------------------- */

@media (min-width: 1000px) {

    input[type=email] {
        width: 67%;
        float: left;
        margin-bottom:0;

    }
    input[type=submit] {
        width: 30%;
        float: right;

    }
}

/* RESPONSIVE 1200PX--------------------------------------------------------------- */

@media (min-width: 1200px) {
    p,
    input {
        font-size: 1.2vw;
    }
    h2,
    #big {
        font-size: 3vw;
    }
    body {
        margin: 14vh 10vw;
    }
    header {
        width: 50%;
    }
    section {
        width: 50%;
    }
    footer {
        width: 50%;
    }
}