/*
 Theme Name:   Riley Dae Theme
 Theme URI:    https://rileydae.com/
 Description:  Riley Dae Theme
 Author:       Libby Louis
 Author URI:   https://libbylouis.com
 Version:      1.0.0
 Text Domain:  rileydae
*/

@font-face {
    font-family: 'Bradley Hand ITC TT';
    src: url('fonts/BradleyHandITCTT.eot');
    src: url('fonts/BradleyHandITCTT.eot?#iefix') format('embedded-opentype'),
        url('fonts/BradleyHandITCTT.woff2') format('woff2'),
        url('fonts/BradleyHandITCTT.woff') format('woff'),
        url('fonts/BradleyHandITCTT.ttf') format('truetype'),
        url('fonts/BradleyHandITCTT.svg#BradleyHandITCTT') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

body {
    font-family: "Sen", sans-serif;
    font-optical-sizing: auto;
    font-size: 17px;
}

body.home {
    background: #e3e2dc;
}

body.home h1 {
    display: none;
}

img {
    max-width:100%;
    height: auto;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Raleway", sans-serif;
    font-weight:600;
}

#mailpoet_form_1 h1.mailpoet-heading,
h1 {
    font-weight: 600;
    font-size: 30px;
    margin-bottom:30px;
}

@media (min-width: 768px) {
    h1 {
        font-size: 37px;
        margin-bottom:37px;
    }
}

h2 {
    font-weight:800;
}

#mailpoet_form_1 h2.mailpoet-heading {
    font-size: 17px !important;
    font-weight: 400;
}

h3 {
    font-weight: 400;
    text-transform: uppercase;
    font-size: 20px;
    margin-bottom: 15px;
}

header {
    margin-bottom:50px;
}

.logo {
    font-family: 'Bradley Hand ITC TT';
    font-weight: normal;
    font-style: normal;
    color: #000;
    font-size: 30px;
    text-decoration: none;
    white-space: nowrap;
    font-weight:800;
}

@media (min-width:768px) {
    .logo {
        font-size: 40px;
    }
}

.navbar {
    position: relative;
    border-bottom: 1px solid #000;
}

#navbar {
    position: absolute;
    z-index: 1;
    background: #fff;
    top: 100%;
    width: 100%;
    box-shadow: 0 10px 25px 0px rgba(0, 0, 0, 0.25);
    padding: 30px;
    border-top-right-radius: 30px;
    border-bottom-left-radius: 30px;
}

#navbar a,
#menu-footer-menu a {
    text-transform: uppercase;
    color: #000;
    text-decoration: none;
}

#navbar a {
    padding: 0;
}

#navbar li {
    padding: 15px 0;
}

#navbar .current_page_item a {
    border-bottom: 3px solid #959b94;
    display:inline;
    float:left;
}

.navbar .modal-trigger {
    display:none;
}

@media (min-width: 992px) {
    .navbar .modal-trigger {
        white-space: nowrap;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background: transparent;
        border: none;
        padding: 0;
        font-weight:600;
        font-size: 12px;
        color: #000;
    }
    .navbar .modal-trigger:hover {
        background: none;
    }
    .navbar .modal-trigger:hover img {
        filter: grayscale(100%);
    }
    .navbar .modal-trigger img {
        max-width:50px;
    }
    #menu-item-161 {
        display: none;
    }    
}

main {
    max-width: 992px;
    margin: 0 auto 50px;
}

button {
    padding: 0;
    border: 0;
    background: transparent;
}

.btn {
    background: #959b94;
    border: 3px solid #959b94;
    border-radius: 10px;
    padding: 10px 20px;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
}

#menu-footer-menu {
    padding: 0;
    list-style-type: none;
    text-align: center;
}

#menu-footer-menu li {
    padding: 5px;
}

#menu-footer-menu a {
    font-size: 14px;
    line-height:1.5;
}

#menu-footer-menu .current_page_item a {
    border-bottom: 1px solid #000;;
}

.card-container {
    background: #fff;
    padding: 30px;
    border-top-right-radius: 30px;
    border-bottom-left-radius: 30px;
    border: 5px solid #fff;
    padding-bottom:100px;
    position:relative;
    height: 100%;
}

.card-container:hover {
    background:#f4e0e2;
}

.card-container a {
    color: #212529;
    text-decoration:none;
}

.card-container .img-wrapper {
    height:100px;
    display:flex;
    align-items:center;
    justify-content:center;
    margin-bottom:15px;
}

.card-container .img-wrapper img {
    transition: all .35s ease-in-out;
    align-self: center;
}

.card-container:hover .img-wrapper img {
    transform:scale(1.1) rotate(-5deg);
}

.card-container .btn {
    position:absolute;
    bottom: 30px;
    left:50%;
    transform: translate(-50%,0);
    white-space: nowrap;
}

.card-container:hover .btn,
.card-container .btn:hover {
    background: #e1a8af;
    border: 3px solid #fff;
    color: #fff;
}

header button svg {
    width: 25px;
}

.copyright {
    color: #999;
    font-size:14px;
    text-align:center;
    text-transform: uppercase;
}

@media (min-width: 992px) {
    #navbar {
        position: relative;
        background: transparent;
        box-shadow: none;
        justify-content: center;
    }

    #navbar #menu-item-26 {
        display: none;
    }

    #menu-primary-navigation li {
        padding-left: 15px;
        padding-right: 15px;
    }

    .btn:hover {
        background: #fff;
        color: #959b94;
    }

    #menu-footer-menu li {
        display: inline-block;
        padding: 10px;
    }
}

.header-icon {
    max-height:30px;
    margin-left: 10px;
}

@media (min-width: 768px) {
    .header-icon {
        max-height:60px;
        margin-left: 15px;
    }
}

.products-table {
    max-width:768px;
    margin: 0 auto;
}

.products-table:nth-of-type(even) {
    flex-direction: row-reverse !important;
}

.products-table .wp-block-column {
    display: flex;
    align-items: center;
    justify-content: center;
}

.products-table img {
    max-width: 300px;
    background: url(/wp-content/uploads/2024/12/polaroid-background.png) no-repeat center center;
	background-size:cover;
    padding: 10px;
    border: 15px solid #fff;
    border-bottom: 50px solid #fff;
    box-shadow: 0 0 8px 2px rgba(0, 0, 0, 0.12);
    transform: rotate(-5deg);
}

.products-table:nth-of-type(even) img {
    transform: rotate(5deg);
}

.modal .modal-dialog {
    margin-top: 15vh;
}

.modal .modal-close-btn {
    position: absolute;
    top: 30px;
    right: 30px;
    z-index: 1;
}

.modal .modal-content {
    position: relative;
    border-radius: 30px 0;
}

.modal .modal-title {
    margin-bottom:30px;
}

#popupModal .modal-body img {
    align-self: center;
}

@media (min-width: 576px) {
    #popupModal .modal-dialog {
        max-width: 768px;
    }
    #popupModal .modal-body {
        display:flex;
        align-items: flex-start;
        padding:30px;
        column-gap: 30px;
    }
}

body.page-id-10 .featured-image img {
    border-radius: 0 30px;
}

.featured-slide {
    padding: 30px;
}

.featured-slide-icon {
    display:none;
}

@media (min-width: 992px) {
    .featured-slide-icon {
        display:block;
    }   
}

#mailpoet_form_1 .mailpoet_validate_success {
    color: #959b94;
}

.amazon-link img,
.barnesandnoble-link img {
	border-radius: 0 30px;
	transition: all .35s ease;
	max-width: 50%;
}

.barnesandnoble-link img {
	border-radius: 0 30px;
	background:#fff;
	border: 1px solid #959b94;
	padding: 30px;
}

.amazon-link:hover img,
.barnesandnoble-link:hover img {
	opacity:0.50;
}

body *,
header,
main, 
footer {
	opacity: 0; 
	transition: all 0.5s ease;
}

main {
	transition-delay: 0.35s;
}

footer {
	transition-delay: 0.7s;
}

body.loaded *,
body.loaded header,
body.loaded main,
body.loaded footer {
	opacity: 1;
}