/* FONTS */

/* Inter — latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('assets/fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Inter — latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('assets/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Rubik italic — latin-ext */
@font-face {
  font-family: 'Rubik';
  font-style: italic;
  font-weight: 300 900;
  font-display: swap;
  src: url('assets/fonts/rubik-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Rubik italic — latin */
@font-face {
  font-family: 'Rubik';
  font-style: italic;
  font-weight: 300 900;
  font-display: swap;
  src: url('assets/fonts/rubik-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Rubik normal — latin-ext */
@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url('assets/fonts/rubik-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Rubik normal — latin */
@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url('assets/fonts/rubik-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/*


-- 02 COLORS
Brand: #076cfa
Tints: #75aeff
Shades: #0e121b #051329 #0656c8

-- 03 SHADOWS
0 2px 16px #000;

*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  line-height: 1;
  font-family: "Rubik", sans-serif;
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 6.4rem;
}

body {
  font-size: 62.5%;
}

/**********************************************************************/
/* GENERAL COMPONENTS */
/**********************************************************************/
.btn-nav {
  background: transparent;
  border: 1px solid #076cfa;
  font-size: 1.2rem;
  font-weight: 500;
  padding: 0.8rem 1.6rem;
  border-radius: 1.2rem;
  color: #fff;
  display: inline-block;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s;
}

.btn-nav:hover {
  box-shadow: 0 0 0.8rem #076cfa;
  color: #076cfa;
}

.btn-nav:active {
  box-shadow: 0 0 0.4rem #076cfa;
}

.btn:link,
.btn:visited {
  display: inline-block;
  font-family: "Rubik", sans-serif;
  font-weight: 500;
  font-size: 1.6rem;
  padding: 1.2rem 2.4rem;
  border: solid 1px #076cfa;
  border-radius: 9px;
  cursor: pointer;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s;
}

.btn-primary:link,
.btn-primary:visited {
  background-color: #076cfa;
  color: #fff;
}

.btn-secondary:link,
.btn-secondary:visited {
  color: #75aeff;
}

.btn:hover {
  background-color: #0656c8;
  color: #cde2fe;
}

.btn:active {
  box-shadow: 0 0 2px #0656c8;
}

.margin-right-sm {
  margin-right: 3.2rem;
}

.margin-top-sm {
  margin-top: 3.2rem;
}

.page-title {
  font-size: 3.2rem;
  letter-spacing: -2px;
  line-height: 0.8;
  margin-bottom: 1.6rem;
}

.subtitle {
  font-size: 2rem;
  margin-bottom: 1.2rem;
  color: #fff;
}

.gradient-background {
  background: linear-gradient(rgba(5, 19, 41, 1), rgba(14, 15, 20, 0.9)),
    url(assets/images/header-bg.png);
  background-size: 180% 180%;
  animation: gradient-animation 144s ease infinite;
}

@keyframes gradient-animation {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/**********************************************************************/
/* HEADER SECTION */
/**********************************************************************/

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 6.4rem;
  background-color: rgba(5, 19, 41, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 100;
}

.logo {
  width: 16rem;
}

.navigation {
  padding: 1.6rem 3.2rem;
}

.navigation-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navigation-links {
  display: flex;
  align-items: center;
  list-style: none;
}

.navigation:link,
.navigation:visited {
  font-optical-sizing: auto;
  font-size: 1.2rem;
  font-weight: 500;
  font-style: normal;
  text-decoration: none;
  color: #fff;
  transition: all 0.3s;
}

.navigation:hover,
.navigation:active {
  color: #cde2fe;
}

/**********************************************************************/
/* HERO SECTION */
/**********************************************************************/

.section-hero,
.section-aboutme {
  padding: 4.8rem 6.4rem;
  padding-top: calc(4.8rem + 6.4rem);
}

.hero {
  margin: 0 auto;
  display: grid;
  align-items: center;
  grid-template-columns: 30rem 1fr;
  gap: 3.2rem;
  max-width: 90rem;
  padding: 0 4.8rem;
}

.hero-heading span {
  color: #076cfa;
}

.hero-heading {
  font-size: 5.2rem;
  letter-spacing: -5px;
  line-height: 0.8;
  margin-bottom: 3.2rem;
  text-transform: uppercase;
  color: #fff;
}

.hero-text p {
  font-size: 1.6rem;
  line-height: 1.6;
  color: #dee2e6;
  font-weight: 400;
  margin-bottom: 6.4rem;
}

.hero-image {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 2px 16px #000;
}

.hero-btn-container {
  margin-top: 32px;
}

/**********************************************************************/
/* INTRODUCTION SECTION */
/**********************************************************************/

.section-introduction {
  background-color: #0e121b;
  padding-top: 6.4rem;
}

.introduction {
  margin: 0 auto;
  max-width: 90rem;
  padding: 0 4.8rem;
  font-size: 3.2rem;
  color: #fff;
}

.introduction span {
  color: #076cfa;
}

.introduction p {
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.6;
  color: #dee2e6;
}

.introduction-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

/**********************************************************************/
/* ABOUT ME COMPONENT */
/**********************************************************************/
.aboutme-container {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  max-width: 90rem;
  padding: 1.6rem 4.8rem;
}

.aboutme-menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: transparent;
  border: 1px solid #0656c8;
  border-radius: 9px;
  padding: 1.2rem 2.4rem;
  cursor: pointer;
  transition: all 0.3s;
}

.aboutme-menu-text {
  color: #75aeff;
  font-size: 2rem;
}

.aboutme-menu:hover {
  background-color: #0656c8;
}

.aboutme-menu.active {
  box-shadow: 0 0 -4px solid #0656c8;
  background-color: #011632;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.aboutme-arrow-right {
  width: 2.4rem;
  height: 2.4rem;
  stroke: #75aeff;
  transition: all 0.3s;
}

.aboutme-arrow-right.active {
  transform: rotate(90deg);
}

.aboutme-text {
  font-size: 1.2rem;
  color: #dee2e6;
  margin-bottom: 1.2rem;
  line-height: 1.6;
}

.aboutme-subcontainer img {
  width: 100%;
  border-radius: 12px;
  align-self: center;
  transition: ease 1s;
  box-shadow: 0 2px 16px #000;
}

.aboutme-subcontainer {
  display: grid;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  background-color: #011632;
  grid-template-columns: auto auto;
  gap: 1.2rem;
  border-left: 1px solid #0656c8;
  border-right: 1px solid #0656c8;
  border-bottom: 1px solid #0656c8;
  transition: 1s all;
  align-items: center;
}

.aboutme-show {
  padding: 1.6rem 4.8rem;
  max-height: 200rem;
  opacity: 1;
  transition: 1s all;
}

/**********************************************************************/
/* SKILLS SECTION */
/**********************************************************************/

.section-skills {
  background-color: #051329;
  padding: 6.4rem 6.4rem;
}

.skills-container {
  max-width: 90rem;
  margin: 0 auto;
  padding: 0 4.8rem;
}

.skills-container .page-title {
  margin-bottom: 4.8rem;
  color: #fff;
}

.skills-group {
  margin-bottom: 4.8rem;
}

.skills-group:last-child {
  margin-bottom: 0;
}

.skills-group-title {
  font-size: 1.4rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #75aeff;
  margin-bottom: 2rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid #0e2a50;
}

.skills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
}

.skill-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  width: 12rem;
  padding: 2rem 1.6rem;
  background-color: #0e121b;
  border: 1px solid #0e2a50;
  border-radius: 12px;
  cursor: default;
  transition: all 0.3s;
}

.skill-card:hover {
  border-color: #076cfa;
  box-shadow: 0 0 1.2rem rgba(7, 108, 250, 0.2);
  transform: translateY(-2px);
}

.skill-logo {
  width: 4.8rem;
  height: 4.8rem;
  object-fit: contain;
}

.skill-name {
  font-size: 1.2rem;
  font-weight: 500;
  color: #fff;
  text-align: center;
}

.skill-card--light {
  background-color: #e8edf2;
}

.skill-card--light:hover {
  background-color: #d0d8e4;
}

.skill-card--text {
  width: auto;
  min-width: 12rem;
  padding: 1.6rem 2.4rem;
}

.skill-card--text .skill-name {
  font-size: 1.4rem;
}

.skill-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.8rem 2rem;
  background-color: rgba(7, 108, 250, 0.1);
  border: 1px solid #076cfa;
  border-radius: 999px;
  font-size: 1.4rem;
  font-weight: 600;
  color: #75aeff;
  letter-spacing: 1px;
  transition: all 0.3s;
}

.skill-badge:hover {
  background-color: rgba(7, 108, 250, 0.2);
  box-shadow: 0 0 1.2rem rgba(7, 108, 250, 0.3);
}

/**********************************************************************/
/* PORTFOLIO SECTION */
/**********************************************************************/

.section-portfolio {
  background-color: #0e121b;
  padding: 6.4rem;
}

.portfolio-container {
  max-width: 90rem;
  margin: 0 auto;
  padding: 0 4.8rem;
}

.portfolio-container .page-title {
  color: #fff;
  margin-bottom: 1.2rem;
}

.portfolio-subtitle {
  font-size: 1.6rem;
  color: #75aeff;
  margin-bottom: 4.8rem;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.4rem;
}

.portfolio-card {
  display: flex;
  flex-direction: column;
  background-color: #051329;
  border: 1px solid #0e2a50;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s;
}

.portfolio-card:hover {
  border-color: #076cfa;
  box-shadow: 0 0 2rem rgba(7, 108, 250, 0.15);
  transform: translateY(-4px);
}

.portfolio-card-thumbnail {
  height: 18rem;
  background: linear-gradient(135deg, #0e2a50, #051329);
  border-bottom: 1px solid #0e2a50;
}

.portfolio-card-body {
  padding: 2.4rem;
  flex: 1;
}

.portfolio-card-title {
  font-size: 2rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1.2rem;
}

.portfolio-card-description {
  font-size: 1.4rem;
  line-height: 1.6;
  color: #dee2e6;
  margin-bottom: 2rem;
}

.portfolio-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.portfolio-tag {
  font-size: 1.1rem;
  font-weight: 500;
  color: #75aeff;
  background-color: rgba(7, 108, 250, 0.1);
  border: 1px solid #0e2a50;
  border-radius: 999px;
  padding: 0.4rem 1.2rem;
}

.portfolio-card-thumbnail--spp {
  background: linear-gradient(135deg, #0a1f3d 0%, #071428 50%, #051020 100%);
  display: flex;
  align-items: flex-end;
  padding: 1.6rem 2.4rem;
}

.portfolio-card-thumbnail-label {
  font-size: 1.1rem;
  font-weight: 600;
  font-family: "Inter", monospace;
  color: #076cfa;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0.7;
}

.portfolio-card-thumbnail--wick {
  background: linear-gradient(135deg, #0a1f0d 0%, #071409 50%, #040e06 100%);
  display: flex;
  align-items: flex-end;
  padding: 1.6rem 2.4rem;
}

.portfolio-card-thumbnail--ramona {
  background: linear-gradient(135deg, #1a0a2e 0%, #120720 50%, #0d0518 100%);
  display: flex;
  align-items: flex-end;
  padding: 1.6rem 2.4rem;
}

.portfolio-card-link {
  display: block;
  padding: 1.6rem 2.4rem;
  font-size: 1.4rem;
  font-weight: 500;
  color: #076cfa;
  text-decoration: none;
  border-top: 1px solid #0e2a50;
  transition: all 0.3s;
}

.portfolio-card-link:hover {
  background-color: rgba(7, 108, 250, 0.08);
  color: #75aeff;
}

/**********************************************************************/
/* FOOTER */
/**********************************************************************/

.footer {
  background-color: #051329;
  border-top: 1px solid #0e2a50;
}

.footer-top {
  max-width: 90rem;
  margin: 0 auto;
  padding: 4.8rem 4.8rem;
  /* sitemap columns: display: grid; grid-template-columns: repeat(4, 1fr); */
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 90rem;
  margin: 0 auto;
  padding: 2.4rem 4.8rem;
  border-top: 1px solid #0e2a50;
}

.footer-copy {
  font-size: 1.2rem;
  color: #75aeff;
}

.footer-legal {
  display: flex;
  gap: 2.4rem;
}

.footer-legal a:link,
.footer-legal a:visited {
  font-size: 1.2rem;
  color: #75aeff;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-legal a:hover,
.footer-legal a:active {
  color: #fff;
}

/**********************************************************************/
/* COOKIE BANNER */
/**********************************************************************/

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #0e2a50;
  border-top: 1px solid #0656c8;
  padding: 1.6rem 4.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.4rem;
  z-index: 1000;
}

.cookie-text {
  font-size: 1.4rem;
  color: #dee2e6;
  line-height: 1.6;
}

.cookie-text a:link,
.cookie-text a:visited {
  color: #75aeff;
  text-decoration: underline;
}

.cookie-accept {
  flex-shrink: 0;
  background-color: #076cfa;
  color: #fff;
  border: none;
  padding: 1rem 2.4rem;
  border-radius: 4px;
  font-family: "Rubik", sans-serif;
  font-size: 1.4rem;
  cursor: pointer;
  transition: background-color 0.3s;
}

.cookie-accept:hover {
  background-color: #0656c8;
}

/**********************************************************************/
/* LEGAL PAGES (impressum.html, datenschutz.html) */
/**********************************************************************/

.legal-page {
  min-height: 100vh;
  background-color: #0e121b;
  padding: 8rem 2.4rem;
}

.legal-container {
  max-width: 80rem;
  margin: 0 auto;
}

.legal-back:link,
.legal-back:visited {
  display: inline-block;
  color: #076cfa;
  text-decoration: none;
  font-size: 1.6rem;
  margin-bottom: 4rem;
  transition: color 0.3s;
}

.legal-back:hover,
.legal-back:active {
  color: #75aeff;
}

.legal-page h1 {
  font-size: 4rem;
  color: #fff;
  margin-bottom: 4rem;
}

.legal-page h2 {
  font-size: 2rem;
  color: #dee2e6;
  margin-top: 3.2rem;
  margin-bottom: 1.2rem;
}

.legal-page p {
  font-size: 1.6rem;
  color: #adb5bd;
  line-height: 1.8;
  margin-bottom: 1.2rem;
}

.legal-page ul {
  padding-left: 2rem;
  margin-bottom: 1.2rem;
}

.legal-page li {
  font-size: 1.6rem;
  color: #adb5bd;
  line-height: 1.8;
}

.legal-page a:link,
.legal-page a:visited {
  color: #076cfa;
  text-decoration: none;
}

.legal-page a:hover,
.legal-page a:active {
  color: #75aeff;
}
