/* colors
bg #001c2d
txt #ffffff
border div #016312
button #016312 */

body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    background-color: #001c2d;
    color: #ffffff;
}

main {
    padding: 10rem 4rem 8rem 4rem;
    font-family: 'Montserrat', sans-serif;
}

main>h1 {
    font-size: 5rem;
    margin: 0;
}

.green-text {
    color: #00e038;
}

.tagline {
    margin-top: 2rem;
}

.interactive-place {
    display: flex;
    padding: 1.5rem;
    margin: 3rem 0;
    background-color: #2b2b2b;
    border-radius: 1.5rem;
    border: 2px solid #016312;
    width: 50vw;
    justify-content: space-between;
}

.password {
    font-size: 1.2rem;
}

.pwd-generate {
    background-color: #016312;
    border: 2px solid black;
    border-radius: .3rem;
    width: 20rem;
    font-size: 1.2rem;
    color: #ffffff;
}

.pwd-generate:hover {
    cursor: pointer;
    background-color: #11a135;
    color: #2b2b2b;
}

/* Experimental code */

#snackbar {
    visibility: hidden;
    min-width: 250px;
    margin-left: -125px;
    background-color: #016312;
    color: #fff;
    text-align: center;
    border-radius: 2px;
    padding: 16px;
    position: fixed;
    z-index: 1;
    left: 50%;
    bottom: 30px;
    font-size: 17px;
}

#snackbar.show {
    visibility: visible;
    -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

@-webkit-keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }

    to {
        bottom: 30px;
        opacity: 1;
    }
}

@keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }

    to {
        bottom: 30px;
        opacity: 1;
    }
}

@-webkit-keyframes fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }

    to {
        bottom: 0;
        opacity: 0;
    }
}

@keyframes fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }

    to {
        bottom: 0;
        opacity: 0;
    }
}

/* Experimental code */


@media only screen and (max-width: 810px) {
    main {
        padding: 11rem 2rem 8rem 4rem;
        font-family: 'Montserrat', sans-serif;
    }

    main>h1 {
        font-size: 3rem;
        margin: 0;
    }

    .green-text {
        color: #00e038;
    }

    .tagline {
        margin-top: 2rem;
    }

    .interactive-place {
        display: flex;
        padding: 1.1rem;
        margin: 2rem 0;
        background-color: #2b2b2b;
        border-radius: 1.5rem;
        border: 2px solid #016312;
        width: 80vw;
        justify-content: space-between;
    }

    .password {
        font-size: 1rem;
    }

    .pwd-generate {
        background-color: #016312;
        border: 2px solid black;
        border-radius: .3rem;
        width: 20rem;
        font-size: 1rem;
        color: #ffffff;
    }

    .pwd-generate:hover {
        cursor: pointer;
        background-color: #11a135;
        color: #2b2b2b;
    }
}



@media only screen and (max-width: 428px) {
    main {
        padding: 11rem 2rem 8rem 2rem;
        font-family: 'Montserrat', sans-serif;
    }

    main>h1 {
        font-size: 2rem;
        margin: 0;
    }

    .green-text {
        color: #00e038;
    }

    .tagline {
        margin-top: 2rem;
    }

    .interactive-place {
        display: flex;
        flex-direction: column;
        padding: 1.1rem;
        margin: 2rem 0;
        background-color: #2b2b2b;
        border-radius: .8rem;
        border: 2px solid #016312;
        width: 70vw;
        justify-content: space-between;
        align-items: center;
    }

    .password {
        margin-top: 6.8px;
        font-size: 1.3rem;
        text-align: center;
    }

    .pwd-generate {
        background-color: #016312;
        border: 2px solid black;
        border-radius: .3rem;
        font-size: 1.3rem;
        color: #ffffff;
        width: auto;
        padding: 1rem 2rem;
    }

    .pwd-generate:hover {
        cursor: pointer;
        background-color: #11a135;
        color: #2b2b2b;
    }
}


@media only screen and (max-width: 411px) {
    main {
        padding: 11rem 2rem 8rem 2rem;
        font-family: 'Montserrat', sans-serif;
    }

    main>h1 {
        font-size: 2rem;
        margin: 0;
    }

    .green-text {
        color: #00e038;
    }

    .tagline {
        margin-top: 2rem;
    }

    .interactive-place {
        display: flex;
        flex-direction: column;
        padding: 1.1rem;
        margin: 2rem 0;
        background-color: #2b2b2b;
        border-radius: .8rem;
        border: 2px solid #016312;
        width: 70vw;
        justify-content: space-between;
        align-items: center;
    }

    .password {
        margin-top: 6.8px;
        font-size: 1.3rem;
        text-align: center;
    }

    .pwd-generate {
        background-color: #016312;
        border: 2px solid black;
        border-radius: .3rem;
        font-size: 1.3rem;
        color: #ffffff;
        width: auto;
        padding: 1rem 2rem;
    }

    .pwd-generate:hover {
        cursor: pointer;
        background-color: #11a135;
        color: #2b2b2b;
    }
}

@media only screen and (max-width: 375px) {
    main {
        padding: 11rem 2rem 8rem 2rem;
        font-family: 'Montserrat', sans-serif;
    }

    main>h1 {
        font-size: 2rem;
        margin: 0;
    }

    .green-text {
        color: #00e038;
    }

    .tagline {
        margin-top: 2rem;
    }

    .interactive-place {
        display: flex;
        flex-direction: column;
        padding: 1.1rem;
        margin: 2rem 0;
        background-color: #2b2b2b;
        border-radius: .8rem;
        border: 2px solid #016312;
        width: 70vw;
        justify-content: space-between;
        align-items: center;
    }

    .password {
        margin-top: 6.8px;
        font-size: 1.3rem;
        text-align: center;
    }

    .pwd-generate {
        background-color: #016312;
        border: 2px solid black;
        border-radius: .3rem;
        font-size: 1.1rem;
        color: #ffffff;
        width: auto;
        padding: 1rem 2rem;
    }

    .pwd-generate:hover {
        cursor: pointer;
        background-color: #11a135;
        color: #2b2b2b;
    }
}