:root {
  margin: 0;
  min-height: 100vh;
  color: #f6f6f6;
  background-color: #2f2f2f;

  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;

  --accent: #8bd7f3;
}
.container {
  min-height: 100vh;
  width: 100%;
  z-index:0;
  position: relative;
  padding-top:10vh;
}
.animate-fade {
  animation: 0.4s fadeIn;
}
@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(50px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.background {
  background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0)), url("../media/logo.png");
  filter: blur(100px);
  transform: scale(1.05);
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: bottom;
  width: 100vw;
  height: 100vh;
  position: fixed;
  z-index: -1;
}
body {
  margin: 0;
  min-height: 100vh;
  font-family: "Raleway", sans-serif;
}
footer {
  text-align: center;
  width:100%;
  font-family: "Courier New", Courier, monospace;
  margin-top: auto;
  padding: 20px 0;
}

/* Menu Bar */
.menubar {
  display: flex;
  background: linear-gradient(135deg, #001011, #01242a);
  color: white;
  padding: 5px;
  margin: 0;
  justify-content:center;
  position:fixed;
  top:0;
  z-index:99999;
  min-width:100vw;
}
.menu-item {
  display: inline-block;
  position: relative;
  color: #bbd8e1;
  cursor: pointer;
  padding-bottom: 4px;
  margin: 0 20px;
  transition: all .2s ease;
  padding: 2px 4px;
  border-radius: 8px;
  font-size:24px;
}
.menu-item::after {
  content: '';
  position: absolute;
  width: 90%;
  height: 2px;
  bottom: 0;
  left: 5%;
  background-color: var(--accent);
  transform: scaleX(0);
  transform-origin: bottom center;
  transition: transform 0.25s ease-out;
}
.menu-item:hover::after {
  transform: scaleX(1);
}
.menu-item:hover {
  color: var(--accent);
}
.menubar h1 {
  font-size: 24px;
  font-weight: bold;
  text-align: center;
}


/* Text Elements */
.paragraph {
  margin: 0 30vw;
  margin-top:10vw;
}
@media (max-width: 1100px) {
  .paragraph{
    margin:0 5vw;
  }
}
.title {
  align-self: center;
  text-align: center;
  font-size: clamp(3rem, 10vw, 6rem);
  font-weight: 300;
  margin: 10px auto;
  padding: 0;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}
.title-child {
  align-self: center;
  text-align: center;
  font-size: 24px;
  font-weight: 300;
  margin: 10px auto;
  padding: 0;
}
p {
  text-align:center;
  margin:0;
}
a {
  color: #bbd8e1;
  cursor: pointer;
  margin: 0 20px;
  transition: all .2s ease;
  padding: 2px 4px;
  border-radius: 8px;
  font-weight: 800;
  
  text-decoration:none;
  position: relative;
  display: inline-block;
}

/* Media Elements */
.logo {
  width: 200px;
  height: 200px;
  margin: 0;
  padding: 0;
  margin: 0 auto;
  margin-top: 100px;
  align-self: center;
  border-radius: 50%;
  display:block;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.24), 0 0px 4px rgba(0, 0, 0, 0.16);
}
.downSVG {
  width: 50px;
  height: 50px;
  margin: 0 auto;
  display:block;
  filter:drop-shadow(0 0 6px rgba(0,0,0,0.9));
  transition: all 0.2s ease-in-out;
}
.downSVG:hover {
  color:var(--accent);
  transform: translateY(-2px);
}

/* Buttons */
.large-button {
  font-size: 22px;
  padding: 10px 20px;
  margin: 10px auto;
  display:block;
}
button {
  display: block;
  margin: 25px auto;
  padding: 8px 18px;
  
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  color: #cdd6f4;

  border: none;
  border-radius: 8px;
  cursor: pointer;

  background: linear-gradient(135deg, #1e1e2e, #313244);
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}
button:hover {
  color: #11111b;
  background: var(--accent); 
  box-shadow: 0 5px 15px rgba(139, 231, 243, 0.3);
}
button:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(139, 231, 243, 0.1);
}

/* Porfolio */
.portfolio-grid {
  display: flex;
  flex-wrap: wrap; 
  
  justify-content: center; 
  align-items: center; 
  
  gap: 30px; 
  padding: 20px 0;
  width: 100%;
}
.portfolio-card {
  background: rgba(255, 255, 255, 0.05);
  border: none;
  border-radius: 16px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
  padding: 0 0 10px;
  flex: 1 1 280px; 
  max-width: 320px; 
  box-sizing: border-box;
}
.portfolio-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
}
.portfolio-card h3 {
  margin-top: 10px;
  color: #fff;
}
.portfolio-card p {
  font-size: 14px;
  color: #ccc;
  line-height: 1.5;
  font-weight: 300;
  margin: 0 10px;
  text-overflow:ellipsis;
  overflow:hidden;
  white-space:nowrap;
}
.portfolio-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin: 0 auto;
  display: block;
}

/* Niches */

.tooltip {
  position: absolute;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background-color: #7289da;
  color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  transition: all .2s ease;
  pointer-events: none;
}

.trigger:hover .tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}