/*
GLOBAL
*/

:root {
    --desite-grey: #34454f; /* Text, outlines, headings */
    --desite-green: #069172; /* Icons, badges, secondary CTAs */
    --desite-blue: rgb(0,115,152); /* Buttons, section dividers */
    --desite-orange: #cc5500; /* CTAs, highlights */
    --desite-white: #f8f8f8; /* Section backgrounds */
    font-size: 12pt;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    text-decoration: none;
}

a:link, a:visited {
    color: var(--desite-green);
} 
a:hover, a:active {
    color: var(--desite-blue);
}

/* FONTS */

@font-face {
    font-family: "Inter";
    src: url(../fonts/Inter-VariableFont_opsz\,wght.ttf) format('truetype');
}

@font-face {
    font-family: "Space Grotesk";
    src: url(../fonts/SpaceGrotesk-VariableFont_wght.ttf) format('truetype');
}

/* Secondary font for headings */
h1, h2, h3 {
  font-family: 'Space Grotesk', sans-serif;
  color: var(--desite-green);
}


h1 {
    font-size: 2rem;
}

h2 {
    font-weight: 400;
}

body {
    line-height: 1.5;
    overflow-x: hidden;
    background: var(--desite-white);
    width: 100vw;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: "Inter";
}

.centered {
    justify-content: center;
    align-items: center;
}

/* 
SCROLLBAR 
*/

/* Scrollbar container */
::-webkit-scrollbar {
    width: 10px; /* Width for vertical scrollbar */
    height: 10px; /* Height for horizontal scrollbar */
  }
  
  /* Scrollbar track (background) */
  ::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
  }
  
  /* Scrollbar thumb (the draggable part) */
  ::-webkit-scrollbar-thumb {
    background: var(--desite-green);
    border-radius: 10px;
  }
  
  /* Scrollbar thumb on hover */
  ::-webkit-scrollbar-thumb:hover {
    background: #555;
  }



/*
HEADER 
*/

.header-container {
    background: var(--desite-gry);
    color: var(--desite-white);
    width: 100vw;
    height: fit-content;
    z-index: 99;
    position: fixed;
    left: 0;
    top: 0;
}

.header-desktop {
    height: 80px;
}

.header-bar {
    display: flex;
    flex-direction: row;
    padding: 0 20px;
}

.header-logo {
    display: flex;
    justify-content: start;
    width: 400px;
}

.header-logo > img {
    object-fit: cover;
    max-height: 75px;
}

.header-menu {
    display: flex;
    width: 35%;
    height: 60px;
    justify-content: start;
    align-items: center;
    flex-grow: 1;
}

.header-menu > ul > li {
    display: inline;
    line-height: 1;
    margin: 0 0.5rem;
    transition: all 0.5s ease-in-out;
    list-style: none;
}

.header-menu > ul > li:hover {
    cursor: pointer;
    transform: scale(1.1);
}

.header-buttons {
    display: flex;
    flex-direction: row;
    height: 60px;
    justify-content: flex-end;
}

#userLoginIcon {
    margin: 0 2rem;
}

main {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
     align-items: center;
}

footer {
    background: var(--desite-grey);
    color: var(--desite-white);
    width: 100vw;
    display: flex;
    flex-direction: column;
    padding: 1rem 0.6rem;
}

.footer-top {
    display: flex;
    flex-direction: row ;
    background-color: var(--desite-white);
    color: var(--desite-grey);
}

.footer-menu-container {
    display: flex;
    flex-direction: column;
    padding: 1rem;
}

/*
BUTTONS
*/

.primary-cta-btn, .secondary-cta-btn, .submit-button {
    display: flex;
    line-height: 1;
    padding: 1.2rem 2.2rem 1.2rem 2.2rem;
    text-transform: uppercase;
    color: var(--desite-white);
    width: max-content;
    border-radius: 1rem;
    will-change: transform;
    transition: background 0.3s ease-out,
        color 1s ease-out;
}

.primary-cta-btn {
    border: 1px solid var(--desite-green);
    background: var(--desite-green);
}

.secondary-cta-btn {
    background: var(--desite-blue);
}

.submit-button {
    background: var(--desite-orange);
    user-select: none;
}

.primary-cta-btn:hover, .secondary-cta-btn:hover, .submit-button:hover {
    border: 1px solid var(--desite-white);
}

.submit-button:hover, .primary-cta-btn:hover {
    cursor: pointer;
    background: var(--desite-green);
    transition: 1s;
}

