:root {
    --black: #150605;
    --red: #EA453C;
    --pink: #F47B6E;
    --light-blue: #EFFBFE;
    --blue: #ACE6EC;
}

html, body {
    font-family: 'Oswald', sans-serif;
    margin: 0;
    padding: 0;
}

main.photos {
    padding: 10px;
    display: grid;
    grid-gap: 2px;
    grid-auto-rows: 100px;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    grid-auto-flow: dense;
}

main.cart-page {
    padding: 10px;
}

.cart-page > h1 {
    text-align: center;
}

.cart-page .total-cost {
    text-align: right;
    font-size: 1.3em;
}

.cart-page div.order-button {
    display: flex;
    justify-content: center;
}

div.order-button > button {
    border-color: var(--black);
    cursor: pointer;
    padding: 15px;
    transition: all .2s ease-in-out;
}

div.order-button > button:focus {
    outline: none;
}

div.order-button > button:disabled {
    border-color: lightgray;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
}

.add-remove{
    display: flex;
    margin-right: auto;
    margin-left: 1em;
    justify-content: space-between;
    width: 100px;
    align-items: center;
}

.add-remove p {
    border: 1px solid black;
    border-radius: 5px;
    padding: 5px 10px;
}

.cart-item img {
    margin-left: 10px;   
}

img.image-grid {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-container {
    position: relative;
}

.favorite {
    color: var(--red);
    font-size: 1.2rem;
    position: absolute;
    top: 5px;
    left: 5px;
    cursor: pointer;
}

.ri-heart-fill {
    opacity: .7;
}

.ri-delete-bin-line, .ri-delete-bin-fill {
    font-size: 1.3em;
    cursor: pointer;
}

.cart {
    color: var(--blue);
    font-size: 1.2rem;
    position: absolute;
    top: 5px;
    right: 5px;
    cursor: pointer;
}
 
.wide {
    grid-column: span 2;
}

.tall {
    grid-row: span 2;
}

.big {
    grid-column: span 2;
    grid-row: span 2;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--pink);
    color: var(--light-blue);
    padding: 0 10px;
    -webkit-box-shadow: 0px 2px 10px -5px rgba(21,6,5,1);
    -moz-box-shadow: 0px 2px 10px -5px rgba(21,6,5,1);
    box-shadow: 0px 2px 10px -5px rgba(21,6,5,1);
}

a {
    text-decoration: none;
}

a:visited { color: var(--light-blue); }
a:hover { color: var(--light-blue); }
a:active { color: var(--light-blue); }


/* more styles */

.pic-some{
    color: #150605;
    text-align: center;
}

.pic-some:hover{
    color: #F47B6E;
}

.login-page{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.login-btn{
    background-color: #4CAF50; 
    border: none;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
}

.login-btn:hover{
    background-color: white; 
    border: 1px solid black;
    color: #4CAF50;
    cursor: pointer;
}

.header-right{
    width: fit-content;
    max-width: fit-content;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.login-welcome-text{
    font-size: 1.1em;
}

.login-welcome-text:hover,
.fav-tab:hover,
.cart-icon:hover{
    color: rgb(0,0,0,0.5)
}

.fav-tab{
    margin: 0 0.5em;
    font-weight: bold;
    font-size: 1.5em;
    color: white;
}

.favorited-title{
    text-align: center;
}

.favorited-image{
    max-width: 600px;
    margin: 0 auto;
}

.go-to-cart-btn{
    background-color: #150605;
    width: fit-content;
    padding: 0.5em 1em;
    margin: 2em auto;
}