@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Outfit:wght@100;200;300;400;500;600;700;800;900&display=swap');

:root {
    --white: #ffffff;
    --gold: #ECD03C;
    --gpm-blue: #234FEA;
    --darkgray: #2d2d2d;
    --focus-color: red;
    --active-color: black;

    --type-outfit: "Outfit";
    --type-bebas_neue: "Bebas Neue";
}

/* Box sizing rules */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* Set core body defaults */
body {
    min-height: 100vh;
    text-rendering: optimizeSpeed;
    line-height: 1.5;
    letter-spacing: 1.1px;
    position: relative;
    background: white;
}

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role='list'],
ol[role='list'] {
    list-style: none;
}

/* Set core root defaults */
html:focus-within {
    scroll-behavior: smooth;
}

.pointer {
    cursor: pointer;
}

.display-none {
    display: none;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  -webkit-text-decoration-skip: ink;
        text-decoration-skip-ink: auto;
}

a {
    text-decoration: none;
}

.contact-card h2,
.contact-card p,
.contact-card span {
    color: var(--darkgray);
}

/* Make images easier to work with */
img,
picture {
  max-width: 100%;
  max-height: 100%;
  display: block;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}

/* Remove all animations, transitions and smooth scroll for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }
  
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.logo {
    width: 7.5rem;
}

  /* //////////////////////////////////// Mobile /////////////////////////////////*/
  
  /* Mobile Nav trigger */
.trigger-container {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
    transition: all .3s ease-in-out;
    background: white;
    padding: 2rem;
}

.upper-nav-icon {
    font-size: 2rem !important;
    color: var(--gpm-blue);
}

/*  Mobile Nav  */
.mobile-nav-slider {
    position: fixed;
    top: 101px;
    right: 0;
    height: 100vh;
    width: 0;
    transition: all 0.3s ease-in-out;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    background: white;
    color: var(--darkgray);
}

.mobile-nav-slider .nav-item {
    padding: 10px 5px;
    font-size: 3rem;
    margin: 20px 0;
}

/* Animations */
.fade-in {
    animation-name: fade-in;
    animation-duration: .5s;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards; 
}

.fade-out {
    animation-name: fade-out;
    animation-duration: .1s;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;
}
  
/* //////////////////////////////// Non-mobile Nav */

nav .nav-item {
    text-decoration: none;
    font-size: 10rem;
    position: relative;
    color: var(--gpm-blue);
}

nav .nav-item::after {
    position: absolute;
    bottom:-10px;
    left: 50%;
    right: 50%;
    content: "";
    display: inline-block;
    width: 5px;
    height: 5px;
    opacity: 0;
    background: var(--gpm-blue);
    
    transition: all .3s ease-in-out;
    border-radius: 50%;
}

nav .nav-item:hover::after {
    opacity: 100;
}

.nav-item.mobile {
    color: var(--darkgray);
    opacity: 0;
}

.nav-item.mobile:hover,
.nav-item.mobile:focus,
.nav-item.mobile:active {
    color: var(--gpm-blue);
}

.contact-us-section h1 {
    color: var(--darkgray);
}

.contact-us-section .business-hours {
    color: var(--darkgray);
}

.contact-us-section i {
    background: var(--gpm-blue);
}

/* Needs toggle opacity on open/close onclick */
@keyframes fade-in {
    from {
        opacity: 0%;
    }
    to {
        opacity: 100%;
    }
}

@keyframes fade-out {
    from {
        opacity: 100%;
    }
    to {
        opacity: 0%;
    }
}

/* ////////////// Flex Utilities ///////////// */

.flex {
    display: flex;
}

.flex-start {
    justify-content: flex-start;
}

.flex-center {
    justify-content: center;
}

.flex-end {
    justify-content: flex-end;
}

.flex-space-between { 
    justify-content: space-between;
}

.flex-space-around {
    -ms-flex-pack: distribute;
    justify-content: space-around;
}

.flex-col {
    flex-direction: column;
}

.flex-wrap {
    flex-wrap: wrap;
}

.flex-align-items-center {
    align-items: center;
}

.box-shadow {
    box-shadow: 0px 10px 20px 0px hsla(0, 0%, 0%, 0.25);
}

/* ////////////////////////////////////// */

.button {
    padding: 10px 23px; 
    color: var(--gpm-blue); 
    background: white; 
    font-size: 1rem; 
    border-radius: 6px; 
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    
    transition: all .3s ease-in-out;
}

.button span {
    font-size: 1.1rem;
}

.darkgray {
    color: var(--darkgray);
}

.arrow-icon {
    
    transition: all .3s ease-in-out;
    padding-left: 5px;
}

.button:hover .arrow-icon {
    transform: translateX(5px);
    transition: all .3s ease-in-out;
}

.button:active .arrow-icon {
    transform: translateX(5px);
    transition: all .3s ease-in-out;
}

.topic-section {
    padding: 50px;
    display: flex;
}

.topic-section h1 {
    color: var(--darkgray);
    min-width: 30%; 
}

.category-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.category-body {
    width: 50%;
}

.category-body h1 {
    color: var(--darkgray);
}

.category-img {
    width: 50%;
}

.category-img.kitchen-bottom {
    display: none; 
 }

.main-hero {
    display: flex;
    flex-direction: row;
    align-items: center; 
    flex-wrap: wrap;
}

.main-hero-body {
    width: 50%;
    height: 50%;
}

.main-hero-body h1.headline {
    font-size: 5.1rem;
}

 .contact-card {
    display: flex;
    justify-content: flex-end;
    width: 50%;
 }

 .contact-card i {
    background: var(--gpm-blue);
 }

 .contact-us-button-container {
    margin-left: 50px;
 }

/* Type Classes */
.outfit {
    font-family: var(--type-outfit);
}

.bebas-neue {
    font-family: var(--type-bebas_neue);
}

.star {
    font-size: 2rem;
    padding-right: 4px; 
    color: var(--gold);
}

.footer {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer span {
    color: var(--darkgray);
    font-size: .5rem;
    opacity: .5;
}

.footer i {
    color: var(--darkgray);
    font-size: .5rem;
    opacity: .5;
    font-size:20px; 
    padding: 10px; 
    border-radius: 50%;
}

.button-container a {
    color: var(--darkgray);
    padding: 10px;   
}

.button-container a:hover span,
.contact-card a:hover span {
    color: var(--gpm-blue);
}

.button-container a:active span,
.contact-card a:active span {
    color: var(--gpm-blue);
}

.button-container a:focus span,
.contact-card a:focus span {
    color: var(--gpm-blue);
}

/* Small Screens greater than 1920px wide but less than 2576px */
@media (min-width: 1920px) and (max-width: 2576px) {
    body {
        padding: 7.3rem 20% 0 20%;
    }
    
    .trigger-container {
        background: white;
        padding: 2rem 20%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    /* Hide mobile nav containers */
    #mobile_nav_slider {
        display: none;
    }

    #mobile_nav_menu_icon {
        display: none;
    }

    nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 37%;
    }

    .cta-container {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .cta {
        font-size: 1.25rem;
        padding: 1rem;
        margin: 10px;
    }

    .cta-container.footer {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        margin-top: 0px;
        padding: 2% 0%;
    }

    .cta-container.footter .cta {
        margin: 10px 0px;
    }

    .contact-us-body {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        flex-direction: row;
     }

     .contact-us-button-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        flex-direction: row;
    }
}

/* Small Screens greater than 1440px wide but less than 1920px */
@media (min-width: 1440px) and (max-width: 1920px) {
    .trigger-container {
        background: white;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    /* Hide mobile nav containers */
    #mobile_nav_slider {
        display: none;
    }

    #mobile_nav_menu_icon {
        display: none;
    }

    nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 34%;
    }

    .contact-us-body {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        flex-direction: row;
     }

    .contact-us-button-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        flex-direction: row;
    }   
}

/* Small Screens greater than 1025px wide but less than 1440px */
@media (min-width: 1025px) and (max-width: 1440px) {
    /* Hide mobile nav containers */
    #mobile_nav_slider {
        display: none;
    }

    #mobile_nav_menu_icon {
        display: none;
    }

    nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 44%;
    }

    .contact-us-body {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        flex-direction: row;
    }

    .contact-us-button-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        flex-direction: row;
    }
}

/* Small Screens greater than 793px wide but less than 1024px */
/* Build as desktop */
@media (min-width: 793px) and (max-width: 1024px) {
    nav {
        display: none;
    }

    .topic-section {
        display: block;
    }

    .category-section {
        display: block;
    }

    .category-body {
        width: 100%;
    }

    .category-img {
        display: block;
        width: 100%; 
        height: 100%
    }

   .category-img.kitchen-top {
        display: none
    }

    .category-img.kitchen-bottom {
       display: block; 
    }

    .contact-us-body {
        display: flex;
        justify-content: flex-start;
        flex-wrap: wrap;
        flex-direction: column;
        margin: 0 auto;
     }

     .contact-us-button-container {
        margin: 50px 0px;
    }

    .button-container a {
        color: var(--darkgray);
        /* width: 100%; */
        padding: 10px 10px 10px 0px;
    }
}

/* Small Screens greater than 500px wide but less than 792px tabloid size */
@media (min-width: 501px) and (max-width: 792px) {
    body {
        padding: 5rem 0 0 0;
    }

    nav {
        display: none;
    }

    .main-hero {
        display: flex; 
        flex-direction: column; 
        align-items: center;
        justify-content: center;
     }

    .main-hero-body {
        width: 100%;
        height: 100%;
        text-align: center;
        display: flex; 
        flex-direction: column; 
        align-items: center; 
        justify-content: center;
    }

    .contact-card {
        display: none; 
     }

    .topic-section {
        display: block;
    }

    .category-section {
        display: block;
    }

    .category-body {
        width: 100%;
    }

    .category-img {
        display: block;
        width: 100vw;
    }

   .category-img.kitchen-top {
        display: none
    }

    .category-img.kitchen-bottom {
       display: block; 
    }

    .contact-us-button-container {
        margin: 50px 0px;
    }

    .button-container a {
        color: var(--darkgray);
        padding: 10px 10px 10px 0px;
    }

    .main-hero-body h1.headline {
        font-size: 4.5rem;
    }
}

/* Small Screens less than 500px wide */
@media (max-width: 500px) {

    body {
        padding: 3rem 0 0 0;
    }

    nav {
        display: none;
    }

    .main-hero {
        display: flex;
        flex-direction: column; 
        align-items: center;
        justify-content: center;
     }

    .main-hero-body {
        width: 100%;
        height: 100%;
        text-align: center;
        display: flex;           
        flex-direction: column; 
        align-items: center; 
        justify-content: center;
    }

    .main-hero-body h1.headline {
        font-size: 4.5rem;
    }

    .contact-card {
        display: none; 
     }

    .topic-section {
        display: block;
    }

    .category-section {
        display: block;
    }

    .category-body {
        width: 100%;
    }

    .category-img {
        display: block;
        width: 100vw;
    }

   .category-img.kitchen-top {
        display: none
    }

     .category-img.kitchen-bottom {
       display: block; 
    }

    .contact-us-body {
        display: flex;
        justify-content: flex-start;
        flex-wrap: wrap;
        flex-direction: column;
        margin: 0 auto;
     }

     .contact-us-button-container {
        display: flex;
        align-items: flex-start;
        flex-wrap: wrap;
        flex-direction: column;
        margin: 50px 0px;
    }

    .button-container a {
        color: var(--darkgray);
        width: 100%;
        padding: 10px 10px 10px 0px;
    }
}