@font-face {
    font-family: Artifact;
    src: url("../fonts/Artifakt\ Element\ Regular.ttf");
}

@font-face {
    font-family: Baskvill;
    src: url("../fonts/BASKVILL.TTF");
}

@font-face {
    font-family: CascadiaCode;
    src: url("../fonts/CascadiaCode-Regular.otf");
}

a:visited{
    color: currentColor;
    text-decoration: none;
}

a{
    text-decoration: none;
}

*{
    margin: 0;
    padding: 0;
}

html{
    font-size: 16px;
}

body{
    background-color: #0f181c;
    color: whitesmoke;
    font-family: Artifact;
    text-align: center;
}

nav{
    background-color: #0f181c;
    padding: 1% 1% 1% 0;
    position: fixed;
    right: 0;
    top: 0;
    width: 100%;
}

nav ul{
    align-items: center;
    color: #04857e;
    display: flex;
    justify-content: flex-end;
    list-style: none;
    width: 100%;
}

nav ul li{
    align-items: center;
    display: flex;
    margin-left: 1em;
    justify-content: flex-end;
    width: fit-content;
}

nav ul li a{
    color: #04857e !important;
    font-size: 14px;
    text-shadow: #0f181c 2px 2px 2px;
    text-decoration: none;
}

header{
    height: 100vh;
    width: 100%;
}

header h1{
    color: #04857e;
    font-family: CascadiaCode;
    font-size: 3.5rem;
    margin: 10% auto 0 auto;
    text-align: left;
    width: 17%;
}

header p{
    font-family: Baskvill;
    font-size: 160%;
    margin: 2% auto;
    line-height: 1.5em;
    text-align: justify;
    width: 17%;
}

header p i{
    display: block;
    margin: 3% 0;
    text-align: right;
}

section{
    height: 100vh;
    width: 100%;
}

h2{
    font-size: 3rem;
    padding: 5% 0;
}

#calendario{
    background-color: #04857e;
}

#calendario ul{
    column-count: 2;
    column-width: 3em;
    font-family: Baskvill;
    font-size: 1.5rem;
    line-height: 2.5em;
    list-style: none;
    margin: 0 auto;
    width: 30%;
}

#registro form{
    display: block;
    margin: 0 auto;
    width: 20%;
}

#registro form input{
    background-color: #0f181c;
    color: #27cec6;
    display: block;
    height: 2em;
    margin: 1em 0;
    width: 100%;
}

#registro form textarea{
    background-color: #0f181c;
    color: #27cec6;
    display: block;
    margin: 1em 0;
    width: 100%;
}

#registro form input[type=submit]{
    font-size: 1.5em;
    height: 3em;
}

#registro form input[type=checkbox]{
    display: inline-block;
    margin: 0 1em;
    vertical-align: middle;
    width: auto;
}

#registro form p{
    display: inline-block;
    vertical-align: middle;
    width: 80%;
}

#normas{
    background-color: #04857e;
}

#normas ul{
    color: #0f181c;
    font-family: CascadiaCode;
    font-size: 1.5rem;
    line-height: 2em;
    list-style: circle;
    padding-left: 25%;
    text-align: left;
    width: fit-content;
}

#normas ul ul{
    width: fit-content;
}

#resultados p{
    font-size: 3rem;
}

.blanco{
    color: whitesmoke;
}

.obscuro{
    color: #0f181c;
}

@media (min-width:700px) and (max-width: 1100px) {
    header h1{
        font-size: 3rem;
        width: 20%;
    }
    
    header p{
        width: 20%;
    }

    h2{
        font-size: 2.5rem;
        padding: 5% 0;
    }

    #calendario ul{
        margin: 0 auto;
        width: 50%;
    }

    #registro form{
         width: 40%;
    }

    #normas ul{
        font-size: 1.3rem;
        padding-left: 20%;
        width: 80%;
    }
}

@media (min-width:500px) and (max-width: 700px) {
    header h1{
        font-size: 2.5rem;
        width: 30%;
    }
    
    header p{
        font-size: 1.5rem;
        width: 25%;
    }

    h2{
        font-size: 2.5rem;
        padding: 5% 0;
    }

    #calendario ul{
        font-size: 1.5rem;
        margin: 0 auto;
        width: 50%;
    }

    #registro form{
         width: 40%;
    }

    #normas ul{
        font-size: 1.3rem;
        padding-left: 20%;
        width: 80%;
    }
}

@media (max-width: 500px) {

    nav ul li{
        margin-left: 1%;
    }

    nav ul li a{
        font-size: 0.72rem;
    }


    header h1{
        font-size: 2rem;
        padding-top: 8%;
        width: 40%;
    }
    
    header p{
        font-size: 1.2rem;
        width: 35%;
    }

    h2{
        font-size: 2.5rem;
        padding: 10% 0;
    }

    #calendario ul{
        font-size: 1rem;
        margin: 0 auto;
        width: 50%;
    }

    #registro form{
         width: 40%;
    }

    #normas ul{
        font-size: 1rem;
        padding-left: 15%;
        width: 80%;
    }

    #resultados p{
        font-size: 2rem;
    }
}