html{
    font-size: 12pt;
    font-family: "Roboto", Arial, Helvetica, sans-serif;
}
body{
    color: rgb(0, 0, 0);
    background-color: rgb(253, 253, 253);
    height: 500px;
    margin: 0px;
    padding: 50px
    /*background-image: url("img/__mococo_abyssgard_hololive_and_1_more_drawn_by_miyaoo1224__b5e44835b09ba6e08f323942e3e7f45a.mp4");
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;*/
}
.containerpractice{
    display: flex;
    min-height: 1000px;
    background-color: #0F1016;
    align-items: center;
    justify-content: center;
    padding: 20px;
    flex-wrap: wrap;
    gap: 20px
}
.item2{
    width: min(350px, 100%);
    box-sizing: border-box;
    background-color: rgb(47, 47, 47);
    border-radius: 30px;
    border: 5px solid white;
    color: white;
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.1);
}

.item2 > h2{
    padding: 20px;
    text-align: left;
    color: white;
}
.item2 > p{
    padding: 10px 20px;
    text-align: justify;
    font-size: 13pt;
}
.grid-container2{
    background-color: #0F1016;
    padding: 20px;
    display: grid;
    grid-template-columns:repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    justify-content: center;

}
.card{
    margin: 0;
    border: 5px solid white;
    border-radius: 5px;
}
.card > h2{
    color: white;
    text-align: center;
    padding: 10px;
}
.card > p{
    color: white;
    text-align: justify; 
    padding: 10px 20px;
}
/*En la parte inferior, Bentou Grid. En la parte superior, grid "Responsivo"*/

.bentougrid{
    padding: 0;
    margin-bottom: 100px;
    min-height: 800px;
    border: 8px solid black;
    display: grid;
    grid-template-columns: 250px 250px 250px 250px;
    grid-template-rows: 250px 250px 250px 250px;
    grid-template-areas: 
    "box-1 box-2 box-3 box-4"
    "box-1 box-5 box-5 box-4"
    "box-6 box-5 box-5 box-7"
    "box-8 box-8 box-9 box-7";
    gap: 10px;
}
.box8{
    display: flex;
    margin: 0;
    background-color: pink;
    color: white;
    font-size: 20pt;
    justify-content: center;
    align-items: center;
}

/*Lo que hay abajo es grid. Lo que hay arriba es Bentou grid*/

.gridtest{
    padding: 0;
    margin-bottom: 100px;
    min-height: 800px;
    border: 8px solid black;
    display: grid;
    grid-template-columns: 250px 250px 250px;
    grid-template-rows: 250px 250px;
    gap: 10px;
}
#boxie-1{
    grid-row-start: 1;
    grid-row-end: 3;
    /*El atajo: grid-row:1 / 3*/
}
#boxie-4{
    grid-column-start: 2;
    grid-column-end: 4;
}
.box7{
    display: flex;
    margin: 0;
    background-color: pink;
    color: white;
    font-size: 20pt;
    justify-content: center;
    align-items: center;
}
/*Lo que hay abajo de este comentario es Flexbox. Por encima están los divs de Grid*/

.flexboxtest1{
    margin-bottom: 100px; 
    display: flex; 
    min-height: 1000px; 
    border: 8px solid black;
    gap: 5px;
    justify-content: space-evenly;
    align-items: center;
}
#specialbox{
    margin-right: auto;
}
.box6{
    flex-shrink: 1;
    max-width: 90px;
    display: flex;
    width: 100px;
    height: 100px;
    justify-content: center;
    align-items: center;
    align-content: center;
    background-color: blue;
    color:white;
    font-size: 40pt;
    margin: 0;
}
@media(max-width: 1000px){
    body{
        background-color: gainsboro;
    }
    .flexboxtest1{
        flex-wrap: wrap;
    }
}
@media(max-width: 800px){
    body{
        background-color: white;
    }
}
@media(max-width: 600px){
    body{
        background-color: gainsboro;
    }
}
.element{
    height: 100px;
    width: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: white;
    background-color: blue;
    animation-name: spin;
    animation-duration: 1.5s;
    animation-timing-function: ease-in-out;
    animation-delay: 0.5s;
    animation-iteration-count: 1s;
    animation-iteration-count: infinite;
    animation-direction: normal;
    animation-fill-mode: forwards;
    animation-play-state: running;
}
.element:hover{
    animation-play-state: paused;
}
@keyframes spin{
    0%{

    }
    50%{
        scale: 2;
        transform: rotate(0);
        border-radius: 0;
        border-radius: 50%;
    }
    100%{
        transform: rotate(360deg);
        border-radius: 0;
        scale: 1;
    }
}
.loading{
    height: 50px;
    width: 50px;
    border: 5px aqua;
    border-radius: 5px;
    position: absolute;
    top: 50%;
    left: 50%;
    translate: -50% -50%;
    z-index: 10;
}
h1{
    position: relative;
    width: max-content;
    height: max-content;
}
h1::after{
    content:'';
    background: red;
    height:5px;
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    border-radius: 20px;
}
div{
    margin-top: 20px
}
p::first-letter{
    font-weight: bold;
    font-size: 30px;
}
/*#popup{ 
    background-color: white;
    position: fixed;
    top: 50%;
    left: 50%;
    translate: -50% -50%;
    height: 100px;
    width: 400px;
    text-align: center;
    align-items: center;
    border: 3px solid black;
    border-radius: 20px;
    padding: 1em; 
    z-index: 6;
}
#popup button{
    margin-top: 5px;
    padding: .6em 2.5em;
    font: inherit;
}
#overlay{
    background-color: rgba(0, 0, 0, 0.3);
    height: 100vh;
    width: 100vw;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 5;
}*/
.box{
    background-color: blue;
    height: 50px;
    margin-top: 20px;
    margin-right: 10px;
    margin-bottom: 40px;
    margin-left: 30px;
}
.parent-div{
    background-color: green;
    width:50%;
    height: 100px;
    border-width: 10px;
    border-color: tomato;
    border-left-style: dashed;
    border-top-style: dotted;
    border-right-style: solid;
    border-bottom-style: double;
}
.child-div{
    background-color: blue;
    height: 50%;
    width: 150px;
    border: 5px solid purple;
}
*{
    margin: 0;
    padding: 0;
}
.box2{
    background-color: yellowgreen;
    height: 50px;
    width: 300px;
    margin: 30px;
    padding: 20px;
    border: 5px solid;
    border-radius: 20px;
}
.box3{
    box-sizing: content-box;
    width: 200px;
    height: 50px;
    margin: 10px;
    background-color: lightblue;
    padding: 20px;
    border: 5px solid;
    border-radius: 20px 5px 30px 3%;
}
.box4{
    box-sizing: border-box;
    width: 200px;
    height: 50px;
    margin: 10px;
    background-color: lightblue;
    padding: 5px;
    border: 5px solid;
    border-radius: 5%;
}
.box5{
    width: 50%;
    height: 300px;
    background-color: aquamarine;
    margin: 0 auto;
    align-content: center;
}
.alpha{
    width: 50%;
    height: 300px;
    background-color: rgba(red, green, blue, alpha);
    border: 5px rgb(144, 144, 144) solid;
    margin: 0 auto;
    align-content: center;
}
.gradient{
    margin: 20px;
    width: 200px;
    height: 200px;
    border: 5px solid black;
    background-image: linear-gradient(black 50%, red, yellow);
}
.radial{
    margin: 20px;
    width: 200px;
    height: 200px;
    border: 5px solid black;
    background-image: radial-gradient(black 30%,yellow)
}
.transition{
    margin: 20px;
    width: 200px;
    height: 200px;
    border: 5px solid black;
    background-color: aqua;
    transition: 0.3s ease-in-out, 0.2s border-radius, 0.3s background-color; 
}
.transition:hover{
    border-radius: 40px;
    background-color: blue;
    width: 400px;
    height: 400px;
}
.universe{
    margin: 20px;
    width: 200px;
    height: 200px;
    border: 5px solid black;
    background-image: radial-gradient(black 30%, white 31%, transparent 45%), url(img/universe.jpg);
    background-size: cover;
    box-shadow: 10px 10px 5px grey inset, 5px 5px 3px blue;
}

#punico{
    width: 50%;
    height: 50%;
    color:blueviolet;
    margin: 0 auto;
    text-align: center;
    align-content: center;
}
h1{
    font-size: 3em;
}
h2{
    font-size: 2em;
}
h3{
    font-size: 1.5em;
}
p{
    font-size: 1em;
}
a{
    text-decoration: none;
}
a:hover{
    background-color: yellow; 
    border: 1px solid brown;
}
a:visited{
    background-color: blueviolet;
}
a:active{
    background-color: black;
}
#encabezadotest{
    text-align: center;    border-radius: 20px 5px 30px 3%;
    text-decoration: overline wavy blue 2px;
}
h2{
    color: purple;
}
div.pirola > h2{
    color: yellow;
}
#introduction{
    color: blue;
}
form{
    padding: 20px
}
input{
    margin: 5px;
}
input[type="email"], input[type="reset"]{
    height: 25px;
    width: 150px;
    border-radius: 30px;
    border: 1px solid black; 
    padding-left: 10px;

}