/* Fonts */
:root {
  --default-font: "Source Sans 3", sans-serif;
  --heading-font: "Source Sans 3", sans-serif;
  --nav-font: "Poppins",  sans-serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root { 
  --background-color: #ffffff; /* Background color for the entire website, including individual sections */
  --default-color: #ffffff; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #ffffff; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #ffffff; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: #ffffff;  /* The default color of the main navmenu links */
  --nav-hover-color: #4f92af; /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: rgba(6, 6, 6, 0.55); /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: rgba(6, 6, 6, 0.55); /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #ffffff; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #4f92af; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
  --background-color: #f9f9f9;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #060606;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #252525;
  --contrast-color: #ffffff;
}

.transparent-background {
  --background-color: rgba(0, 0, 0, 0.275);
  --surface-color: rgba(255, 255, 255, 0.3);
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body, html {height: 100%;overflow-x: hidden;}

* {
  box-sizing: border-box;
}

section, div {
  margin: 0;
  padding: 0;
  border: 0;
}

body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
  background: linear-gradient(to top right, rgba(141, 95, 142, 1), rgba(96, 81, 151, 1));
  background-size: cover;
  position: relative;
  font-family: "Source Sans 3", sans-serif;
}

p {font-size: 1.65rem; margin-top: 1.75rem;}
img {width: 275px;}

@media (min-width: 1366px) {
  body {
    background-attachment: fixed;
  }
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}


/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: var(--background-color);
  font-size: 14px;
  padding: 40px 0;
  position: relative;
}

.footer .copyright p {
  margin-bottom: 0;
}

.footer .credits {
  margin-top: 10px;
  font-size: 13px;
  text-align: center;
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  position: relative;
}

.page-title .heading {
  padding: 80px 0;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.page-title .heading h1 {
  font-size: 38px;
  font-weight: 700;
}

.page-title nav {
  background-color: color-mix(in srgb, var(--default-color), transparent 95%);
  padding: 20px 0;
}

.page-title nav ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.page-title nav ol li+li {
  padding-left: 10px;
}

.page-title nav ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
main {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	max-height: 100vh;
	height: 100%;
	overflow: hidden;
	pading: 0;
	margin: 0;
	}

section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  text-align: center;
  padding-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 15px;
}

.section-title p {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  width: 100%;
  position: relative;
  display: flex;
  flex-grow: 1;
  align-items: center;
  justify-content: center;
}

.hero h2 {
  margin: 0;
  font-size: 48px;
  font-weight: 700;
}

.hero p {
  margin: 10px 0 0 0;
  font-size: 24px;
  color: var(--heading-color);
}

@media (max-width: 768px) {
  .hero h2 {
    font-size: 32px;
  }

  .hero p {
    font-size: 18px;
  }
  
  .hero {
    height: 100%;
  }
}

.hero .countdown {
  margin-top: 25px;
  font-size: 42px;
}

.hero .countdown span {
  font-size: 48px;
  font-weight: 700;
}

.hero .hero-newsletter {
  margin-top: 25px;
}

.hero .hero-newsletter p {
  font-size: 18px;
  margin: 0 0 15px 0;
}

.hero .hero-newsletter .newsletter-form {
  margin-bottom: 15px;
  position: relative;
  display: flex;
  border-radius: 0px;
}

.hero .hero-newsletter .newsletter-form:focus-within {
  border-color: var(--accent-color);
}

.hero .hero-newsletter .newsletter-form input[type=email] {
  padding: 8px 10px;
  width: 100%;
  background-color: var(--surface-color);
  color: var(--default-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  transition: 0.3s;
}

.hero .hero-newsletter .newsletter-form input[type=email]:focus {
  border-color: var(--accent-color);
}

.hero .hero-newsletter .newsletter-form input[type=email]:focus-visible {
  outline: none;
}

.hero .hero-newsletter .newsletter-form input[type=submit] {
  border: 0;
  font-size: 16px;
  padding: 0 20px;
  margin: 0 0 0 10px;
  background: var(--accent-color);
  color: var(--contrast-color);
  transition: 0.3s;
  border-radius: 0px;
}

.hero .hero-newsletter .newsletter-form input[type=submit]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}
