@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

:root {
  /* Colors based on list: #2C3E50, #E74C3C, #ECF0F1, #34495E */
  --primary-color: #34495E;
  --secondary-color: #2C3E50;
  --accent-color: #E74C3C;
  --light-color: #FFFFFF;
  --dark-color: #1A252F;
  --gradient-primary: linear-gradient(135deg, #34495E 0%, #2C3E50 100%);
  --hover-color: #D68910;
  --background-color: #ECF0F1;
  --text-color: #333333;
  --border-color: rgba(44, 62, 80, 0.2);
  --divider-color: rgba(52, 73, 94, 0.1);
  --shadow-color: rgba(0, 0, 0, 0.08);
  --highlight-color: #F1C40F;
  
  /* Fonts: Oswald and Lato */
  --main-font: 'Oswald', sans-serif;
  --alt-font: 'Lato', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--alt-font);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--main-font);
}

/* Menu logic without JS */
#menu-toggle:checked ~ nav {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--dark-color);
    padding: 1rem;
    z-index: 50;
}

#menu-toggle:checked ~ nav ul {
    flex-direction: column;
    align-items: center;
}

details > summary {
    list-style: none;
}
details > summary::-webkit-details-marker {
    display: none;
}
details[open] summary ~ * {
    animation: sweep .5s ease-in-out;
}
@keyframes sweep {
    0%    {opacity: 0; margin-top: -10px}
    100%  {opacity: 1; margin-top: 1rem}
}