@charset "utf-8";
/* CSS Document */

@import url("https://use.typekit.net/cbo0coi.css");

@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@200;400;600;700&family=Questrial&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700;800&display=swap');


/*Custom Properties
===========================================*/

:root {
	--primary-clr: #FFFFFF;
	--secondary-clr: #e4e4e4;
	--bg-clr: #f4f4f4;
	--border-clr: #585858;
	--accent-clr: #FF7600;
    --tooltip-clr: #000000;
    --drk-text-clr: #555555;
    --lgt-text-clr: #ffffff;
	--link-clr: #222222;
	--footer-clr: #222222;
	--shadow-clr: rgba(0, 0, 0, 0.4);
	--trans-bg-clr: rgba(0, 0, 0, 0.5);
	--button-clr: rgba(0, 0, 0, 0.7);

    --header-height: 90px;

	--ts-head : 2px 2px 2px rgba(0, 0, 0, 0.8);
	--ts-para : 2px 2px 2px rgba(0, 0, 0, 0.8);

    --bezier-in: cubic-bezier(.29,-0.01,.21,1.24);
	--bezier-out: cubic-bezier(.3,-0.28,.88,.8);
    --transition: 0.3s ease-in-out;
}

/*Global Styles
===========================================*/

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;	
}

html {
    height: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 150px;
}

body {
    display: flex;
    flex-direction: column;
    font-family: 'Questrial', sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
    background-color: var(--secondary-clr);
}

#wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

::selection {
    background-color: var(--accent-clr);
    color: var(--lgt-text-clr);
}

::-moz-selection {
    background-color: var(--accent-clr);
    color: var(--lgt-text-clr);
}

/*Typography
===========================================*/


h1 {
    font-family: 'Open Sans', sans-serif;
    font-size: 5rem;
    font-weight: 400;
    font-style: normal;
    text-transform: capitalize;
    color: var(--lgt-text-clr);
}

h2 {
    font-family: 'Open Sans', sans-serif;
    font-size: 3rem;
    font-weight: 200;
    text-transform: capitalize;
    color: var(--drk-text-clr);	
}

h3 {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 300;
    text-indent: 5px;
    text-wrap: balance;
    text-transform: capitalize;
    color: var(--drk-text-clr);
}

p {
    font-family: 'Questrial', sans-serif;
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0.1em;
    color: var(--drk-text-clr);
}

p.subtitle {
   color: var(--lgt-text-clr)
}

a {
  color: var(--link-clr);
  text-decoration: none;
  font-weight: 700;
  transition: var(--transition);
}

a:hover a:active {
  color: var(--primary-clr);
  text-decoration: underline;	
}


/*Custom Properties
===========================================*/

.skip-link {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    text-align: center;
    background-color: var(--footer-clr);
    color: var(--lgt-text-clr);
    outline: 1px dotted var(--lgt-text-clr);
    padding: 0.5rem;
    z-index: 100;
    translate: 0 calc(-100% - 1px);
    transition: var(--transition);
}

.skip-link:focus {
    translate: 0;
}

/*Utility Classes
===========================================*/

.break {
    display: none;
}

.external::after {
	content: '';
	background: url(../images/external-link.svg);
	background-size: 1.2em;
	background-size: contain;
	background-repeat: no-repeat;
	margin-left: 0.3em;
	width: 1.1em;
	height: 1.1em;
	line-height: 0;
	display: inline-block;
}

.pipe {
    font-weight: bold;
}

.button {
    color: var(--lgt-text-clr);
    background-color: var(--button-clr);
    border: 0;
    font-size: 1rem;
    background-color: var(--button-clr);
    padding: 0.7em 1.2em;
    width: max-content;
    border-radius: 0.3rem;
    transition: background-color var(--transition);
}

.button:hover, .button:focus {
    background-color: var(--accent-clr);
}

/*Page Transitions
===========================================*/

.trans-fade {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 100;
    background-color: #ffffff;
    opacity: 0;
    pointer-events: none;
    transition: 500ms ease-out;
}

.trans-fade.trans-active {
    opacity: 1;
    pointer-events: all;
}


/*Header
===========================================*/

.header {
    width: 100%;
    height: var(--header-height);
    position: fixed;
    z-index: 99;
    transition: var(--transition);
    background-color: var(--primary-clr);
}

.header-container {
	display: flex;
    position: relative;
    max-width: 1600px;
	width: 90%;
	margin: 0 auto;
	align-items: center;
	justify-content: space-between;
}

.logo img {
	margin-top: 10px;
	margin-bottom: 10px;
	height: calc(var(--header-height) - 10px);
    fill: #666;
	mix-blend-mode: difference;
}

.top-rip {
    position: absolute;
    height: 30px;
    width: 100%;
    top: var(--header-height);
    left: 0;
    background-image: url(../images/top-rip-bg.png);
    background-repeat: repeat-x;
    transition: var(--transition);
}


/*Navigation
===========================================*/

.main-nav  {
    display: flex;
    align-items: center;
    height: 85px;
}

.main-nav > ul {
    display: flex;
    flex-direction: row;
    gap: 2.5rem;
    margin: 0;
    padding: 0;
}

.main-nav > ul li {
    list-style: none;
}

.nav-link {
    display: inline-block;
    font-size: 1.2rem;
    font-weight: initial;
    color: var(--link-clr);
    background-color: transparent;
    cursor: pointer;
    border: none;
    position: relative;
}

.nav-link:hover {
    color: #000;
    transition: color var(--transition);
}

.nav-link::after {
    content: "";
    display: block;
    position: absolute;
    margin-top: 2px;
    height: 2px;
    width: 100%;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
    background-color: var(--accent-clr);
}

.nav-link:hover::after, .nav-link:focus::after {
    width: 100%;
    transform: scaleX(1);
}

.dropdown-btn::before {
    content: url(../images/menu-chevron.svg);
    position: absolute;
    right: -20px;
    top: 3px;
    display: block;
    width: 15px;
    height: 15px;
}

.dropdown-btn::before + .sub-menu.active  {
    content: url(../images/menu-chevron-up.svg);
}

.sub-menu {
    margin-top: 1rem;
    position: absolute;
    z-index: 100;
    display: flex;
    width: max-content;
    padding: 0.5rem;
    flex-direction: column;
    background-color: var(--secondary-clr);
    box-shadow: 2px 3px 5px rgba(0, 0, 0, 0.2);
    width: max-content;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity var(--transition), transform var(--transition);
}

.sub-menu li {
    list-style: none;
    padding: 0.5em;
}

.sub-menu li a {
    font-size: 1rem;
}

.dropdown-btn + .sub-menu.active   {
    opacity: 1;
    transform: translateX(0px);
    pointer-events: all;
}


/*Hamburger Menu
===========================================*/

.hamburger {
    display: none;
    width: 70px;
    height: 70px;
    position: relative;
    background-color: transparent;
    border: none;
}

.hamburger span {
    display: block;
    position: absolute;
    width: 50px;
    height: 6px;
    border-radius: 5px;
    background-color: var(--link-clr);
}

.line1 {top: 25%;}

.line2 {top: 50%;}

.line3 {top: 75%;}

.hamburger.open .line1 {
	transform: rotate(45deg);
	top: 50%;
	}

.hamburger.open .line2 {
	transform: rotate(-45deg);
	top: 50%;
	}

.hamburger.open .line3 {
	transform: rotate(-45deg);
	top: 50%;
	} 


/*Showcase Area
===========================================*/

.showcase {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-top: var(--header-height);
    height: calc(98vh - var(--header-height));
    overflow: hidden;
    background-color: #999;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;    
}

.showcase-mini {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-top: var(--header-height);
    height: calc(58vh - var(--header-height));
    overflow: hidden;
    background-color: #999;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;    
}

.showcase-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: background-color 300ms linear;
    background-color: var(--trans-bg-clr);
    z-index: 2;
} 

/* .showcase-mini::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--trans-bg-clr);
    background-color: var(--trans-bg-clr);
    animation: overlay-fade linear forwards;
    animation-timeline: view();
    animation-range-start: 100vh;
    animation-range-end: 110vh;
} */

.showcase-elements {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 5;
}

.showcase-title {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.main-title {
    text-shadow: 2px 2px 5px var(--shadow-clr);
    text-transform: capitalize;
    font-size: clamp(3rem, 5vw, 6rem);
    user-select: none;
}

.sub-title {
    color: var(--lgt-text-clr);
    text-shadow: 2px 2px 5px var(--shadow-clr);
    margin-top: 0.7rem;
    text-transform: capitalize;
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    user-select: none;
}

.view-work {
    margin-top: 4rem;
}

.view-work a {
    display: block;
    color: var(--lgt-text-clr);
    font-size: 1.5rem;
    background-color: var(--button-clr);
    padding: 0.7em 1.2em;
    width: max-content;
    border-radius: 0.3rem;
    box-shadow: 5px 5px 7px var(--shadow-clr);
}

.view-work a:hover {
    background-color: var(--accent-clr);
}

#down-arrow {
	margin-top: 30px;
	width: 50px;
	height: 50px;
	animation: downwards 2.5s infinite ease-in-out;
	z-index: 5;
}

#down-arrow img {
	width: 35px;
	margin: 4px 0 0 4px;
}

.bottom-rip {
    position: absolute;
    height: 30px;
    width: 100%;
    bottom: 0;
    left: 0;
    background-image: url(../images/bottom-rip-bg.png);
    background-repeat: repeat-x;
    z-index: 5;
}

.bottom-rip-2 {
    position: absolute;
    height: 30px;
    width: 100%;
    bottom: 0;
    left: 0;
    background-image: url(../images/bottom-rip-bg-2.png);
    background-repeat: repeat-x;
    z-index: 5;
}

/* Showcase Backgrounds
===========================================*/

.showcase-main {
    background-image: url("../showcase/main-page.jpg");
    background-size: cover;
    background-position: center top;
}

.showcase-fantasy {
        background-image: url("../showcase/fantasy.jpg");
    }

.showcase-figurative {
        background-image: url("../showcase/figurative.jpg");
        background-size: cover;
        background-position: center top;
    }

.showcase-collections {
        background-image: url("../showcase/collections.jpg");
    }
    
.showcase-paradise {
        background-image: url("../showcase/paradise.jpg");
    }
    
    .showcase-pearllace {
        background-image: url("../showcase/pearllace.jpg");
    }

    .showcase-misc {
        background-image: url("../showcase/misc.jpg");
    }
    
    .showcase-sketchbook {
        background-image: url("../showcase/bridget.jpg");
    }
    
    .showcase-archives {
        background-image: url("../showcase/archives.jpg");
        background-size: cover;
        background-position: center top;
    }
    
    .showcase-figure {
        background-image: url("../showcase/bridget.jpg");
        background-size: cover;
        background-position: center top;
    }

    .showcase-contact {
        background-image: url("../showcase/contact.jpg");
        background-size: cover;
        background-position: center top;
    }


/* Footer
===========================================*/

.footer {
    margin-top: auto;
    background-color: var(--footer-clr);
    padding: 2em;
    color: white;
    line-height: 1.6em;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 1600px;
    margin: 0 auto;
}

.footer-column {
    display: flex;
    flex-direction: column;
    padding-bottom: 2rem;
    align-items: flex-start;
    justify-content: flex-start;
}

.footer-column h3 { 
    border-left: 3px solid var(--accent-clr);
    color: var(--lgt-text-clr);
    margin-bottom: 1em; 
    padding-left: 1rem;
    font-size: 1.5rem;
    line-height: 1.5;
}

.other-links {
    justify-content: flex-start;
    display: flex;
    flex-wrap: wrap;
}

.other-links li {
    list-style: none;
    margin-left: 0.75em;
    padding: 0;
}

.other-links a {
    color: var(--lgt-text-clr);
    font-weight: initial;
}

/* Social Links */

.social-links {
    display: flex;
    margin-left: calc(1em + 3px);
    gap: 0.5rem;    
    list-style: none;
}

.social-link {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #666666;
    transition: background-color 300ms ease-in-out;         
}

.social-link:hover {
    background-color: #999999;
}

.social-link a {
   color: #e4e4e4; 
}

.social-icon {
    position: absolute;
    display: block;
    fill: #e4e4e4; 
    /* transform: translate(-50%, -50%); */
    width: 25px;
    height: 25px;
}

#facebook-link .social-icon, #artstation-link .social-icon, #threads-link .social-icon {
    width: 30px;
    height: 30px;
}

/* Social Links Hover Colours */

    #artstation-link:hover {background-color: #171717;}
    #artstation-link:hover .social-icon {fill: #13aff0;}
    #facebook-link:hover {background-color: #3b5998;}
    #twitter-link:hover, #threads-link:hover {background-color: #000000;}
    #instagram-link:hover {background-color: #d6249f; background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285AEB 90%);}
    #linkedin-link:hover {background-color: #007bb6;}
    #tiktok-link:hover {background-color: #131010;}
    #tumblr-link:hover {background-color: #32506d;}
    #pinterest-link:hover {background-color: #cb2027;}
    #youtube-link:hover {background-color: #b31217;}
    #vimeo-link:hover {background-color: #45bbff;}

 /* tooltips */
    
 .social-link::before, .social-link::after {
    --scale: 0;
    position: absolute;
    top: -0.25rem;
    left: 50%;
    transform: translateX(-50%) translateY(var(--translate-y, 0)) scale(var(--scale));
    transform-origin: bottom center;
    transition: 150ms ease-in-out;
}

.social-link::before {
    --translate-y: calc(-100% - 8px);
    content: attr(data-tooltip);
    background-color: var(--tooltip-clr);
    color: white;
    font-size: 0.8rem;
    padding: 0.3rem 0.6rem;
    border-radius: 0.3rem;
    width: max-content;
}

.social-link::after {
    content: '';
    border: 8px solid transparent;
    border-top-color: var(--tooltip-clr);
    --translate-y: calc(-1 * 8px);
    transform-origin: top center;
}

.social-link:hover::before, .social-link:hover::after {
    --scale: 1;
}

.social-link a:hover, .other-links li a:hover {
    color: var(--bg-clr);
}


/* Newsletter */

.newsletter {
    margin-left: calc(1em + 3px);
    width: 90%;
}


.other-links li {
   border-left: 2px solid var(--link-clr);
   padding-left: 1em;
}

.other-links li:first-child {
    border-left: none;
 }

.copyright {
    width: 100%;
    padding-top: 1.5rem;
    grid-column: span 2;
    color: var(--link-clr);
    text-align: center;
    border-top: 1px dotted var(--lgt-text-clr);
}

.copyright p {
    color: var(--lgt-text-clr);
    font-size: 1rem;
}


/* To Top Button
===========================================*/

.to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    display: flex;
    opacity: 0;
    pointer-events: none;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background-color: var(--button-clr);
    color: #fff;
    border: 2px solid #444;
    cursor: pointer;
    transition: all 300ms ease-in-out;
}

.to-top.visible {
    opacity: 1;
    pointer-events: all;
}

.to-top:hover {
    background-color: var(--accent-clr);
    border-color: var(--accent-clr);
}

.to-top img {
    width: 30px;
    height: 30px;
}


/*Animations
===========================================*/

@keyframes downwards {
	0%, 30%, 60%, 100% {transform: translateY(0);}
	15%, 45% {transform: translateY(-25px)}
}

@keyframes overlay-fade {
    to {background-color: transparent;}   
}


/*Media Queries
=======================================================================================================================================*/

@media only screen and (max-width: 1200px) {

    
    /*Main Navigation
    ===========================================*/

    .hamburger {
        display: inline-block;
        cursor: pointer;
    }

    .hamburger span {
        transition: var(--transition); 
    }
   
    .main-nav {
        position: fixed;
        overflow-y: auto;
        overflow-x: hidden;
        flex-direction: column;
        align-items: center;
        background-color: #fff;
        top: 100px;
        right: -100%;
        bottom: 0;
        width: 100%;
        height: 100vh;
        transition: var(--transition); 
    }

    .main-nav > ul {
        margin-top: 50px;
        text-align: center;
        flex-direction: column;
        width: 100%;
    }

    .main-nav.open {
        right: 0;
    }

    .sub-menu {
        position: static;
        display: block;
        width: 100%;
        background-color: var(--secondary-clr);
        margin-top: 0;
        height: 0;
        overflow: hidden;
        box-shadow: none;  
    }

    .dropdown-btn:focus + .sub-menu  {
        height: auto;
    }


    /*Footer
    ===========================================*/

    .footer-container {
        grid-template-columns: 1fr;
    }

    .footer-column {
        flex-direction: row;
        align-items: center;
        border-bottom: 1px dotted var(--link-clr);
        padding: 2rem 0 1.5rem 0;
    }

    .footer-column:last-child {
        border-bottom: none;
    }

    .newsletter {
        padding-left: 0rem;
        width: 100%;
    }

}

@media only screen and (max-width: 768px) {
    
    /*Footer
    ===========================================*/

    .footer-container {
        grid-template-columns: 1fr;
    }

    .footer-column {
        flex-direction: column;
        align-items: center;
        text-align: center;
        /* justify-content: center; */
    }

    .footer-column h3 { 
        border-left: none;
        padding-left: 0;
        margin: 0 0 1em 0;
    }

    .newsletter {
        display: flex;
        justify-content: center;
    }
}


@media only screen and (max-width: 540px) {

    /*Footer
    ===========================================*/

    .social-links {
        display: flex;
        margin-left: 0;
    }

    .break {
        display: inline;
    }

    .pipe {
        display: none;
    }
}