/* css reset rule */
* {
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;
}

body {
    background-color: plum;
    color: #EEE;
    font-family: verdana;
    margin: 25px;

}

ol{
    margin: 50px;
    font-size: 25pt;
}

ol li {
    margin-bottom: 10px;
    list-style-type: upper-roman;
}

header {
    border: 10px solid hotpink;
    margin: 10px auto; /* centers a block */
    width: 80%;
    max-width: 800px;
    padding: 8px;
    border-radius: 50%; /* 50px curves your border */ /* 50% will make it a circle */
    aspect-ratio: 1/1; /*gives you a square border*/
    display: flex;
    font-size: 3em;
}

header h1 {
    align-self: center; /* verticle center */
    text-align: center; /* centers the actual text */
    font-weight: normal;
    }

header h1 span {
            color: rgb(150, 77, 150);
    }

h2 {
    font-size: 50pt;
    }

/* pseudo/fake class selector */
header:nth-of-type(2) {
    display: none;
    }

/* use a # to use a id selector */

/* very important that if your image is in an images folder and your styles are in a styles folder */
#hero {
    background-image: url(../images/horse.jpg);
    aspect-ratio: 2/1;
    background-size: cover;
    background-position:  50% 50%;
    position: relative;

}

#hero p {
    font-size: 35pt;
    background-color: rgba(240, 240, 240, .6);
    position: absolute; top: 60%; left: 0;
    width: 100%;
    padding: 32px 8px;
}