* {
    margin:0; padding: 0; border: 0;
    box-sizing: border-box;
}
body {
    background-color: lightgoldenrodyellow;
    background-image: url(../images/dabears.jpeg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    font-family: verdana;
    min-height: 100vh;
}
#container{
    width:calc(100vw - 1.5in);
    height:calc(100vh - 1.5in);
    background-color:hsl(200 80% 90% / .5);
    margin: .75in auto;
    border-top: 8px solid orangered;
    position: relative;
}

#banner {
    background-color: navy;
    color: #FFF;
    padding: 10px;
    text-align: center;
}
#ctabutton {
    
    margin:20px;
    position: absolute;
    top: 50px; left: 50px;
    text-decoration: none;

}
#ctabutton a {
    border: 1px solid #000;
    padding: 12px 20px;
    margin-right: 20px;

}

#ctabutton a:first-child {
    background-color: navy;
    color:#FFF;

}
#ctabutton a:first-child:hover {
    background-color: orangered;
    color:#FFF;

}

#ctabutton a:last-child {
    background-color: #FFF;
    color:#000;
    
}
#ctabutton a:last-child:hover {
    background-color: orangered;
    color:#FFF;

}

#rookies {
    /* border: 4px solid red; */
    width: 90%;
    margin: 150px auto;
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-start;
    

}

#rookies figure {
    flex: 0 0 200px;
    aspect-ratio: 1/1.3;
    border: 0px solid transparent;
    transition: border 350ms ease-in-out;
    margin: 40px;

}
#rookies figure:hover {
    border: 4px solid orangered;
}

.cards {
    
    background-size: 100%;
    background-repeat: no-repeat;
    position: relative;
    background-position: center top;
    transition: background-size 400ms ease-in-out;

    /* padding: 20px; */

}

.cards:hover {
    background-size: 100%;
}

.cards a {
    display: block;
    width: 100%;
    height: 100%;
    

}
.cards figcaption {
    background-color: orangered;
    color:#000;
    width: 100%; height: 25%;
    position: absolute; bottom: 0px; left:0px;
    text-align: center;
    font-family: verdana;
    font-weight: bold;
    padding-top: 10px;
}

.cards .price {
    background-color: navy;
    color: #FFF;
    position: absolute;
    bottom: 83%;
    right: -20px;
    padding: 5px 10px;
    top: 10px
}



.cards:nth-child(1) {
    background-image: url(../images/caleb.webp);
}

.cards:nth-child(2) {
    background-image: url(../images/rome.jpg);
}

.cards:nth-child(3) {
    background-image: url(../images/tory.jpg);
}

.price {
    background-color: navy; color: #EEE;
    max-width: 140px;
    padding: 8px 10px;
    font-weight: bold;
    position: absolute; top: 150px; right: 20px;
    border-radius: 10px 10px 0px 10px;
    box-shadow: 8px 4px 10px #222;
}

.price::after {
    content: ""; display: block;
    width: 0px; height: 0px;
    
    border-width: 14px;
    border-style: solid;
    border-color: transparent navy transparent transparent;
    position: absolute; 
    right: 6px; bottom: -13px;
    transform: rotate(45deg);
}

