

/* Colores */
    /* RGB */
    /* RGBA */
    /* Name */
    /* Hexagecimal */

/* Background */
    /* background-color */
    /* background-image */
    /* background-repeat */
    /* background-size */
    /* background-position */
    /* background-attachment */



/* Selectores: Etiquetas (tags), clase(.), id(#) */

/* Selector universal */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    /* background-color: rgba(5, 152, 249, 0.479);
    background-image: url('../img/joker.jpg');
    background-repeat: no-repeat;
    background-size: 320px;
    background-position: bottom right;
    background-attachment: fixed; */

    background: rgba(5, 152, 249, 0.479) ;
    

    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;

    
}



/* header */

header{
    background-color: white;
    min-height: 70px;
    display: flex;
    align-items: center;
}

#logo{
    width: 80px;
    height: 50px;
    border-radius: 50%;
    border:  2px solid white;

    display: block;
    margin: auto;

}

h1{
    font-family: 'Rubik Doodle Triangles';
    text-align: center;
    letter-spacing: 5px;
    color: black;
    text-shadow: -3px -2px 2px rgba(255,255,255,0.6);
    margin-bottom: 15px;
}
nav{
    display: flex;
}

ul{
    width: 250px;
    list-style: none;


    display: flex;
    justify-content: space-around;
    

}


a{
    text-decoration: none;
    padding: 5px;

    transition: all  1s
}

a:hover{
    background-color: #2a61e2;
    color: white;
}


/* Fuentes */
    /* font-family */
    /* font-size */
    /* font-style */
    /* font-weight */
    /* text-align */
    /* text-decoration */
    /* line-height */


/* main */
main{
    padding: 50px;
}

section{
    width: 80%;
    margin: auto;
    display: flex;
    flex-direction: column;
}

div.articles{
    width: 100%;
    background-color: red;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
}

section > header, article  > header{
    background-color: transparent;
}
/* p{
    font-size: 20px;
    font-style: italic;
    font-weight: 400;
    line-height: 36px;
} */

article{
    max-width: 230px;
}

h3{
    /* text-decoration-line: line-through;
    text-decoration-color: rgba(255, 255, 255, 0.504);
    text-decoration-style: wavy;
    text-decoration-thickness: 5px; */
    text-decoration: line-through rgba(255, 255, 255, 0.504) wavy 5px;
}

/* Formulario */

form#contact{
    background-color: rgb(25, 25, 25);
    max-width: 320px;
    padding: 15px;
    margin: auto;
    color: white;
    box-shadow: -3px 0px 21px 0px rgba(255,255,255,0.75);
    -webkit-box-shadow: -3px 0px 21px 0px rgba(255,255,255,0.75);
    -moz-box-shadow: -3px 0px 21px 0px rgba(255,255,255,0.75);

 
}

div{
    margin-top: 5px;
    display: flex;
    flex-direction: column;
}

div.check-radio{
    display: flex;
    flex-direction: row;

    gap: 10px;
}

input[name="password"]{
    width: 100%;
}

input{
    border-radius: 10px;
    border: 3px solid transparent;
    padding: 5px;
    transition: all 1s;
}

input:focus{
    /* background-color: blue; */
    outline: 1px solid transparent;
    border: 3px solid rgb(58, 93, 234);


}

form#contact > button{
   margin-top: 10px;
   padding: 5px; 
   border-radius: 5px;
   background-color: rgb(77, 217, 91);
   width: 100%;
   border: 1px solid transparent;
   transition: all 1s;
}

form#contact > button:hover{
    border-radius: 0px;
    background-color: rgb(46, 129, 54);
    border: 1px solid white;
    color: white;
 }
 

 div#arrow{
    display: none;
 }

 div#arrow > i {
    font-size: 2em;
 }

 @keyframes arrow{
    from{
        transform: translateX(0%);
        opacity: 0;
    }
    to{
        transform: translateX(50px);
        opacity: .8;
    }
 }


/* Footer */

/* Medias queries */
@media ( min-width: 768px ){
    body{
        background: rgba(5, 152, 249, 0.479) url('../img/wallpaper.avif') no-repeat center right fixed;

        background-size: contain;
        color: white;
    }

    
    div#arrow{
        width: 60px;
        height: 60px;
        border-radius: 50%;
        border: solid 5px   rgb(228, 228, 228);

        display: flex;
        justify-content: center;
        align-items: center;

        position: absolute;
        top: 250px;
        left: 10%;

        animation: arrow 3s infinite;
    }
}

@media ( min-width: 1024px ){
    body{
        background-size: 100vw;
        color: white;
    }

    div#arrow{
        left: 20%;
    }
}


