@font-face {
    font-family: regularFont;
    src: url(../fonts/Roboto-VariableFont_wdth,wght.ttf);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: regularFont, sans-serif;
}

body {
    display: flex;
    flex-direction: column;
}

header{
    z-index: 3;
    position: fixed;
    width: 100%;
}


ul {
    list-style-type: none;
}

li{
    font-size: 16px;
}

a{
    text-decoration: none;
    color: #111111;
    font-size: 16px;
}

span{
    font-size: 16px;
}

i{
    color: #111111;
    font-size: 20px;
}

h1 {
    font-size: 42px;
}

h2 {
    font-size: 22px;
    color: #7a7a7a;
}

h3{
    font-size: 20px;
}

h4{
    font-size: 18px;
}

p{
    font-size: 16px;
}

label{
    font-size: 15px;
}

main {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    row-gap: 30px;
    padding: 30px 20px;
}

main.is-active{
    background: rgba(80, 80, 80, 0.35);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    filter: blur(6px) brightness(0.85);
}

footer{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 0;
    background-color: #e5e5e5;
}

#snackbar{
    position: fixed;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%) translateY(20px);

    background: #111;
    color: white;

    padding: 14px 20px;
    border-radius: 14px;

    font-size: 14px;
    font-weight: 500;

    opacity: 0;
    visibility: hidden;

    transition: all 0.35s ease;

    z-index: 99999;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

#snackbar.show{
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

#snackbar.success{
    background: #16a34a;
}

#snackbar.error{
    background: #dc2626;
}

@media screen and (min-width: 1024px) {

    body{
        align-items: center;
    }

    header{
        display: flex;
        justify-content: center;
    }

    main{
        max-width: 1440px;
        justify-content: center;
    }
    footer{
        width: 100%;
        justify-content: center;
        flex-direction: column;
    }
}