* {
    padding: 0;
    margin: 0;
}
button.alt{
    font-size: 20px;
    text-align: center;
    padding:0 1rem;
   
}

@font-face { 
    font-family: Finger Paint; 
    src: url(https://fonts.googleapis.com/css2?family=Prompt:wght@500&display=swap);
}

@font-face { 
    font-family: Salted Mocha; 
    src: url("../resources/fonts/saltedmocha-regular.otf") format('opentype');
}

@font-face { 
    font-family: Roboto; 
    src: url(http://fonts.googleapis.com/css?family=Roboto) format('truetype');
}

site_logo a img{
  
    margin-top:0.2rem;
    height: 100%;
}
site_logo a{
    display:block;
    height: 40px;
}

body {
    position: relative;
    overflow-x: hidden;
}

*::-webkit-scrollbar {
    width: 12px;               /* width of the entire scrollbar */
}

*::-webkit-scrollbar-track {
    background: rgb(255, 255, 255);        /* color of the tracking area */
    border-radius: 20px;
}

*::-webkit-scrollbar-thumb {
    background-color: rgb(159, 220, 255);    /* color of the scroll thumb */
    border-radius: 20px;       /* roundness of the scroll thumb */
    border: 3px solid rgb(255, 255, 255);  /* creates padding around scroll thumb */
}

html {
    font-size: 20px;
}

h1 {
    font-family: 'Salted Mocha';
    color: #391A1A;
}

/* HYPER LINK */
a {
    font-family: Finger Paint;
    text-decoration: none;
    color: #391A1A;
}

a.single-post-button {
    color: white;
    background-color: #391A1A;
    font-family: Helvetica ;
    padding: 0.5rem 0.75rem;
    filter: drop-shadow(2px 2px 3px lightgrey);
    transition: all 0.3s;
}

a.single-post-button:hover {
    background-color: #582d2d;
    filter: drop-shadow(5px 5px 4px lightgrey);
}

footer a, a.contacts, .contacts_details a.icon{
    font-family: Helvetica ; 
    text-decoration: none;
    color: #391A1A;
    font-weight: 200;
    transition: all 0.3s;
}

footer a:hover, a.contacts:hover {
    font-weight: bold;
}

li {
    transition: all 0.3s;
}

.single-page li {
    color: #391A1A;
    margin-left: 1rem;
    font-size: 0.8rem;
    font-family: Helvetica ; 
    transition: all 0.3s;
}

li:hover {
    color: #b14747;
}

/* 
==================
WIP
==================
*/
div.WIP {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 70vh;
    gap:1rem;
}

.WIP h1.hero_title {
    text-align: center;
    font-size: 3rem;
}

/* 
==================
END OF WIP
==================
*/

/* Navigation */
#hamburger{
    display:none;
    height: 30px;
    width:30px;
    font-size: 30px;
    /* background-color: black; */
    /* background-image: url(../resources/images/right_arrow.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat; */

}

body>header {
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    width: 100vw;
    
    
    font-family: Finger Paint;
    font-size: 16px;
    color: #391A1A;
    height: 12vh;
    position: fixed;
    left:50%;
    /* padding-left: 3rem; */
    transform: translateX(-50%);
    min-height: 80px;
    max-width: 1080px;
    z-index: 100; /* THE APPEARANCE OF THE NAVIGATION */
}
header::before{
    content:'';
    background:linear-gradient(0deg, transparent, rgba(255, 255, 255, 0.751),rgba(255, 255, 255, 0.953),white);
    position: absolute;
    top:0;
    left:50%;
    transform: translateX(-50%);
    height: 14vh;
    width: 100vw;
    z-index: -1;
    

}

header_nav {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 80%;
}

nav-1{
    flex: 1;
    display: block;
    width: fit-content;
   
    max-width: 500px;
}
nav-2{
    width: fit-content;
    flex: 1;

    max-width: 500px;
    display: flex;
    flex-direction: row;
    
    align-items: center;
}
ul{
    margin:0;
}
.header-menu-class{
   width: 100%;
}

div.header-menu-class>ul {
    /* margin:20px 0px 20px 0px; */
    list-style-type: none;
    list-style: none;
    list-style-image: none;
    text-align:right;
    display:flex;
    justify-content: space-evenly;
    align-items: center;
    width: 100%;
}
div.header-menu-class li {
    /* padding: 0px 0px 0px 20px; */
    display: inline-block;
    
} 
 
div.header-menu-class a { 
    text-decoration: none;
    color: #391A1A;
    font-size: 14px;
    display: inline-block;
    height: 100%;
}

div.header-menu-class li:hover {
    text-decoration: dashed;
}

/*========== NAV RESPONSIVE =============*/
@media screen and (max-width:900px){
     site_logo a{
         height: 30px;
         margin: auto;
         width: fit-content;
     }
     site_logo{
         width: fit-content;
     }
}
@media screen  and (max-width:768px){
    nav-1, nav-2{
        display:none;
    }
    body>header{
        justify-content: space-between;
        padding:0 10vw;
        width: 100vw;
        height: 10vh;
        min-height: 80px;
        min-width: unset;
    }
    .artworks-desc{
        padding-top:4rem;
    }
    #hamburger{
        display: block;
    }
    div.swiper::before{
        display: none;
       
    }
    div.swiper{
        margin-top: 1rem;
    }
}

/* =========================== */

/* 
============
DROPDOWN
============
*/

/* div.header-menu-class ul li.dropdown::after {
    content: "⮟";
    font-size: larger;
} */
div.header-menu-class .sub-menu {
    display: none;
    position: absolute;
    top: 1.6rem;
    left: 0;
    z-index: 99999;
    width: 180px;
    background: #fff;
    box-shadow: 0px 3px 3px rgba(0,0,0,0.2);
}

div.header-menu-class ul li:hover > ul {
    display: flex;
    
    flex-direction: column;
    width: auto;
    height: auto;
    text-align: left;
}

div.header-menu-class ul li:hover > ul li {
    /* margin-top:0.25rem;
    margin-left:0.25rem; */
    
}


div.header-menu-class li {
    position: relative;
}

/*
========= 
HERO HOME PAGE
=========
*/
div.hero {
    width: 100vw;
    height: fit-content;
    background-image: url("../resources/images/hero_bg.png");
    background-size:cover;
    background-repeat: no-repeat;
    position: relative;
    padding-bottom: 10vh;
    padding-left:10vw;
    padding-right: 10vw;
    padding-top:12vh;
    
}
.hero-content{
    display:flex;
    justify-content: space-between;
    max-width: 1080px;
    margin:0 auto;
}
div.hero_image {
    width: 38%;
    height: 90vh;
    position: absolute;
    right: -5%;
    bottom: 0px;
    z-index: 1;
}

div.hero_image img {
    width: 100%;
    height: auto;
}

div.hero_details {
    margin-top:20vh
}

h1.hero_title {
    font-family:Gill Sans;
    font-size: 120px;
    /* white-space: nowrap; */
    color: #391A1A;
    margin-bottom: 0;
}

p.hero_description {
    font-family:  Roboto, Helvetica, Arial;
    color: #391A1A;
    margin: 0.5rem 0;
}
.arrow-btn{
    display:flex;
    width: fit-content;
    gap:1rem;
    padding:0.5rem 0.8rem;
    transition: all 0.5s ease-out;
    border-left: #391A1A 5px solid;
    box-shadow: inset 0 0 0 0 #391A1A;
}
.arrow-btn:hover{
    
    color:white;
    box-shadow: inset 400px 0 0 0 #391A1A;
}
.arrow-btn svg{
    transition: all 0.4s;
}
.arrow-btn:hover>svg *{
    stroke:white;
}
/* a.hero_link {
    display: flex;
    flex-direction: row;
    gap: 0.25rem;
}

img.hero_arrow {
    width: 2rem;
    height: auto;
    margin: 0.25rem 0 0 0;
} */
/* 
===========
END OF HERO
===========
*/

/*
========= 
HERO HOME PAGE
=========
*/
div.sub_hero {
    width: 100vw;
    height: auto;
    position: relative;
padding-top:12vh;
padding-bottom:10vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
   gap:1rem;

}

/* ADDING DIMENSIONS MAKES THE IMAGE CLIPPED ODDLY */
div.sub_hero_bg {
    /* position: absolute;
    z-index: -1;
    top: -200vh;
    left: -30vw; */
    position: fixed;
    top:-50px;
    left:0;
    width: 100vw;
    height: 100vh;
    background-size: 120%;
    background-position: center;
    z-index: -1;
}

/* @media only screen and (min-width: 1490px) {
    div.sub_hero_bg {
        z-index: -1;
        top: -108vh;
    }
} */

.category-container h1 {
    /* margin-left: 4rem; */
    font-family: 'Finger Paint';
    font-size: 60px;
    color: #391A1A;
}

/*
========= 
END OF HERO HOME PAGE
=========
*/

/*
========= 
FLOWER SECTION
=========
*/
section.flower-section {
    width: 90vw;
    max-width: 1080px;
    max-height: 600px;
    margin:0 auto;
    height: 100vh;
    background-image: url("../resources/images/sub_hero.png");
    background-size:cover;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;

    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
}

div.flower {
    position: absolute;
    left: -25%;
    width: 60%;
    max-width: 1000px;
    bottom:10%;
    height: auto;
}

div.flower img {
    width: 100%;
    height: auto;
}

div.flower-details {
    position: absolute;
    right: 0;
    width: fit-content;
    /* display: flex;
    flex-direction: column;
    text-align: left;
    gap: 1rem; */
    top:0;

}

div.flower-details h1 {
    font-family: Finger Paint;
    font-size: 1.5rem;
}
div.flower-details p {
    font-family: Helvetica;
}
/*
========= 
END OF FLOWER SECTION
=========
*/

/* 
===================
About Me PAGE
===================
*/

section.about_me {
    
    width: 100vw;
    
    margin:0 auto;
    min-height: 105vh;
    height:fit-content;
    position: relative;
    padding-left:5vw;
    padding-right: 5vw;
    padding-top:25vh;
    padding-bottom:10vw;
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content:flex-start;
    gap: 1rem;
}

section.about_me h1 {
    padding-top: 0;
    font-family: 'Finger Paint';
    font-size: 40px;
    color: #391A1A;
}

img.about_me_bg {
    position: absolute;
    opacity: 0.15;
    left: 0;
    bottom: 0;
    width: 50%;
    height: auto;
    z-index: -1;
}

div.about_image {
    flex: 1;
    margin-left: 10vw;
}

div.about_image img {
    width: 100%;
    height: auto;
}

div.about_content {
    flex: 3;
    margin-right: 5vw;
    margin-left: 2rem;
}
div.about_content h1 {
    margin-bottom: 1rem;
}

div.about_content p {
    font-family: Roboto, Helvetica, Arial;
    color: #391A1A;
}

@media screen and (max-width:425px){
    section.about_me{
        flex-direction: column;
    }
    div.about_image{
        margin:0 auto;
        width: 40vw;
        
    }
    div.about_content{
        margin:0;
    }
    div.about_content > h1{
        text-align: center;
    }
}



/*
========= 
HERO CONTACT PAGE
=========
*/
div.sub_hero_2 {
    width: 100vw;
    height: 105vh;
    position: relative;

    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
 
}

div.author_img {
    width: 15vw;
    height: 15vw;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
}

div.author_img img {
    position: absolute;
    top: -0.5rem;
    width: 100%;
    height: auto;
}

/*
========= 
END OF HERO CONTACT PAGE
=========
*/

/* 
===========
Categories  
===========
*/
.category-container{
    display:flex;
    width: fit-content;
    position: relative;
    width: 90vw;
    max-width: 1440px;
    margin: 0 auto;
    height: max-content;
    padding: 10vh 0;
}
.category-container h1{
    width: 30%;
    margin-top:6rem;
    word-break: keep-all;
    font-size: 2.2rem !important;
    min-width: fit-content;
}

div.categories {
    width: 70%;
    height: fit-content;
    
    /* overflow-y: auto; */
    flex-grow: 1;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: repeat(auto-fill, 30vw);
    gap: 2%;
    padding: 0 1rem;
    position: relative;
    padding-top:40px;
    padding-bottom: 40px;
}
/* .category-container::before{
    content: '';
    width: 100%;
    height: 100px;
    background-image: linear-gradient(white, rgba(255, 255, 255, 0.456),rgba(255, 255, 255, 0));
    
    position:absolute;
    top:-2px;
    left:0;
    z-index: 20;
}
.category-container::after{
    content: '';
    width: 100%;
    height: 100px;
    background-image: linear-gradient(rgba(255, 255, 255, 0) ,rgba(255, 255, 255, 0.456),white);
    
    position:absolute;
    bottom:0;
    left:0;
    z-index: 20;
} */
a.single_category {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.54rem;
}

a.single_category img{
    width: 100%;
    overflow: hidden;
    transition: 0.5s all;
}

a.single_category img:hover {
    transform: scale(1.05);
}

div.category_title {
    font-size: 1rem;
}

div.category_image {
    width: auto;
    height: 90%;
    object-fit: cover;
}

div.category_image img{
    max-width: 500px;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

p.category_notice {
    position: absolute;
    top: 80%;
    left:50%;
}
@media  screen and (max-width:768px) {
    .category-container{
        flex-direction: column;
        width: 90vw;
    }
    div.categories{
        width: 100%;
    }
    a.single_category{
        height: 400px;
    }
    div.categories{
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        grid-template-rows: auto;
    }
    section.flower-section{
        margin-top:2rem;
    }
    div.flower{
        bottom:5%;
    }
}

@media  screen and (max-width:497px) {
    div.categories{
        display: flex;
        flex-direction: column;
        gap: 30px;
    }
}

/* 
===========
End Of Categories  
===========
*/

/* 
===========
FOOTER 
===========
*/
footer {
    padding-top:10rem;
    width: 100vw;
    height: fit-content;
    background-image: url("../resources/images/footer_bg.png");
    background-color: white;
    background-size:cover;
    background-position: 0 20%;
    background-repeat: no-repeat;
    position: relative;

    /* overflow: hidden; */

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    /* margin-top:8rem; */
}
footer::before{
    content: '';
    width: 100%;
    background-image: linear-gradient(rgba(255, 255, 255, 0),white);
    position: absolute;
    height: 50px;
    top:-50px;
    z-index: 99;
}

section.footer_main {
    width: 80vw;
    margin: 0 auto;
    gap: 20vw;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;

    font-size: 0.75rem;
    padding-right: 0.25rem;
}
div.footer-menu-class {
    align-self: initial;
    display: flex;
    flex-direction: column;
}
div.footer-menu-class ul{
    list-style: none;
}

/* TOBECHECKED AGN */
.footer_logo{
    margin-left: -0.5rem;
}

div.contact_details {
    font-family: Helvetica;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

a.icon {
    display:flex;
    align-items: center;
    gap:1rem;
}

a.icon img {
    width: 1rem;
    height: 1rem;
}

section.copyright {
    color: #391A1A;
    text-align: center;
    font-size: 0.5rem;
    font-weight: bold;
   
    margin-top:20px;
    margin-bottom: 20px;

}

#menu-item-64 a::after {
    content:" ➤";
}
/* END OF FOOTER */

p{
    font-family: 'Helvetica';
    font-size: 0.8rem;
    color: #391A1A;
}

h2{
    font-family: 'Finger Paint';
    font-weight: 100;
    font-size: 2.2rem;
    white-space: normal;
    word-wrap: normal;
}
/* ============================ SINGLE CATEGORY ==================== */

.artworks-section{
    display:flex;
    width: 90vw;
    max-width: 1440px;
    margin:0 auto;
    padding-top:16vh;

    position: relative;
}
.artworks-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap:1rem;
    width: 100%;
}
.artworks-grid img{
    width: 100%;
    height: auto;
    margin-bottom: 1rem;
    cursor: zoom-in;
    transition: all 0.3s;
    box-shadow: rgba(17, 12, 46, 0) 0px 48px 100px 0px;
}
.artworks-grid img:hover{
    transform: scale(1.05);
    box-shadow: rgba(17, 12, 46, 0.15) 0px 48px 100px 0px;
    
}
.artworks-desc{
    width: 30%;
    min-width: 160px;
    padding-top:6rem;
    margin-right: 2rem;
    position:sticky;
    position: -webkit-sticky;
    top:-1px;
    height: 400px;
    
}
.col{
    height: fit-content;
}
@media screen and (max-width:640px) {
    .artworks-section{
        flex-direction: column;
    }
    .artworks-desc{
        width: 100%;
        margin-bottom: 2rem;
        height: fit-content;
        position: static;
        padding-top:3rem;
    }
    section.footer_main{
        flex-direction: column;
        width: 100vw;
        gap:1rem;
    }
    #menu-footer{
        display:flex;
        flex-direction: column;
        align-items: center;
    }
    site_logo{
       
    }
    site_logo a{
        /* margin-bottom: 1rem; */
    }
    .footer_logo{
        margin:0 auto;
        margin-bottom: 1rem;
    }
    
}
@media screen and (max-width:450px) {
    html{
        
    }
    .artworks-grid{
        display: block;
    }
    div.flower{
        bottom:0;
    }
    section.flower-section{
        height: 140vh;
        max-height: 500px;
       
    }
    .flower{
        display: none;
    }
    div.hero{
        padding-top:8vh
    }
   
    div.swiper{
        width: 100vw;
    }
    div.flower-details h1{
        font-size: 1.2rem;
    }
    .arrow-btn{
        font-size: 18px;
        white-space: nowrap;
    }
    .arrow-btn svg{
        width: 100%;
    }
    header::before{
        height: 10vh;
    }
    .hero::before{
        display: none;
    }
}

/* 
===========
POPUP
===========
*/
.img-popup{
    z-index: 999;
    display: none;
}
.img-popup .overlay{
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,.6);
    backdrop-filter: blur(5px);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 998;
}
.img-popup .img-content {
    background: white;
    padding:1rem;
    max-width: 900px;
    min-width: 400px;
    position: fixed;
    max-height: 80vh;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    overflow: hidden;
    z-index: 999;
}
.img-popup span{
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 99;
    cursor: pointer;
}
.img-content{
    display:flex;
    align-items: center;
}
.img-text{
    margin-left: 1rem;
    margin-right: 2rem;

}
/* 
===========
END OF POPUP
===========
*/

/* ============================ END OF SINGLE CATEGORY ==================== */


h1{
    font-weight: 100;

}
div.sub_hero{
    width:90vw;
    margin:0 auto;
}


.sub-menu{
    width: fit-content;
    

}
.sub-menu>li{
    padding:0 !important;
}
.sub-menu li a{
    white-space: nowrap;
    padding:0.6rem 1rem;
    display: block;
}
.sub-menu li:hover{
    background-color: #391A1A;
}

.sub-menu li:hover > a{
    color: white;
}

.mobile-menu{
    display:flex;
    flex-direction: column;
    gap:0.8rem;
    position: absolute;
    top:10vh;
    left:50%;
    padding-top:1rem;
    transform: translateX(-50%);
    width: 90vw;
    height: 0;
    transition: all 0.3s;
    background-color:white;
    opacity: 0;
    padding-bottom: 1rem;

}
.mobile-menu .header-menu-class ul{
    flex-direction: column;
    align-items: center;
    gap:0.8rem;
    
    height: fit-content;
    
}
.mobile-menu .header-menu-class ul *{
  
    height: 100%;
}
.mobile-menu .header-menu-class{
    
}
.mobile-menu .header-menu-class li{
    width: 100%;
    text-align: center;
}
.mobile-menu .header-menu-class li a{
    width: 100%;
  
}
