/*css reset rule*/
* {
    margin: 0; padding: 0; border: 0; box-sizing: border-box;
}

/*html rulset*/
:root {
    font-size: 62.5%;
    min-height: 100vh;
    --color-accent1: rgb(102,178, 178);
}

body {
    background-color: rgb(235, 235, 235);
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    font-size: 1.4rem;
    padding-bottom: 300px;
}

p, blockquote, h2 {
    margin-bottom: 16px;
    padding-left: 24px;
}

h1, h2 {
    padding: 16px;
    text-align: center;
    color: var(--color-accent1);
    text-shadow: 1px 1px 2px rgb(50, 50, 50);
    font-size: 24px;
}

h1 {
    font-size: 5rem;
}

#logo {
    border-radius: 10px;
    width: 180px; height: 120px;
    margin-left: 32px;
    margin-top: 24px;
    margin-bottom: 16px;
    padding: 20px;
    font-family: 'Pacifico', 'cursive';
    font-size: 3rem;
    text-align: center;
    color: rgb(210, 210, 210);
    background-image: url(../images/heroimage.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    text-decoration: none;
    position: absolute;
    text-shadow: 2px 2px 2px rgb(70,70,70), -3px 2px 15px rgb(190,190,190);
}

nav {
    display: flex;
    justify-content: space-evenly;
}

nav > a {
    color:rgb(50, 50, 50);
    font-weight: bold;
    text-decoration: none;
    padding: 8px;
}

nav > a:hover {
    color:var(--color-accent1);
    font-size: 2rem;
    text-shadow: 1px 1px 1px rgb(50, 50, 50), 0px 18px 0px rgb(210, 210, 210);
}

#pullquote1, #pullquote2, #pullquote3 {
    border: 1px solid rgb(210, 210, 210);
    margin: 24px 8px;
    box-shadow: 2px 2px 2px rgb(50, 50, 50);
}

/*==================== quote sample 1 ===============================*/
/* parent of the pseudo elements */
#pullquote1 blockquote {
    font-size: 120%;
    font-weight: bold;
    margin: 80px 100px;
    position: relative;
}

/*====== PSEUDO ELEMENTS ============== */
#pullquote1 blockquote::before {
    content: ""; /* content can be empty or have something in it, this is what creates the pseudo element*/
    display: block;
    width: 50px;
    height: 50px;
    background-color: transparent;
    border-left: 32px solid var(--color-accent1);
    border-top: 32px solid var(--color-accent1);
    position: absolute; left: -50px; top: -50px;


}
#pullquote1 blockquote::after {
    content: "";
    display: block; 
    width: 50px; 
    height: 50px;
    background-color: transparent;
    border-bottom: 32px solid var(--color-accent1);
    border-right: 32px solid var(--color-accent1);
    position: absolute; right: -50px; bottom: -50px;
}

/*==================== quote sample 2 ===============================*/
#pullquote2 blockquote {
    margin: 48px 80px;
    border-top: 2px solid var(--color-accent1);
    border-bottom: 2px solid var(--color-accent1);
    padding: 48px 0px 32px 0px;
    position: relative;
    text-align: center;
    font-size: 120%;
    font-style: italic;
}

#pullquote2 blockquote::before {
    content: "";/*this is what it will contain and display the pseudo element*/
    display: block; 
    width: 60px;
    height: 60px;
    border: 2px solid var(--color-accent1);
    border-radius: 50%;
    background-image: url(../images/quotewithbackground.png);
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: 50%;
    position: absolute; top: -30px; left: 50%;
    transform: translateX(-50%); /* this relates to width of the element(in this case the psuedo element, which contains the image background*/
}

/*==================== quote sample 2 ===============================*/
#pullquote3 blockquote {
    color:rgb(50, 50, 50);
    font-weight: bold;
    text-align: left;
    font-size: 120%;
    position: relative;
    padding: 24px 62px;
    padding-left: 68px;

}

/*this is my image of quotes*/
#pullquote3 blockquote::before {
    content: "";
    display: block;
    width: 80px; height: 80px;
    background-image: url(../images/pullquotesample2.png);
    background-size: 100%;
    background-repeat: no-repeat;
    position: absolute; left: -8px; top: 8px;

}

#pullquote3 blockquote p:nth-child(1){
    border-top: 4px solid rgb(50, 50, 50);
    display: block; width: 150px; height: 50px;
    padding-left: 0px;
    padding-top: 24px;
    margin-top: 24px;
    font-size: 90%;
    letter-spacing: 2px;
}

#pullquote3 blockquote p:nth-child(2){
    display: block; width: 400px; height: 30px;
    padding-top: 8px;
    padding-left: 0px;
    text-transform: uppercase;
    font-size: 80%;
    font-weight: lighter;
    position: absolute; 
    margin-top: -20px;
}
