html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

#Social-Media-Banner {
    width: 100%;
    min-height: 40px;
    height: auto;
    background-color: #333;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 2rem;
    padding: 1.2rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

#Name-Link, .name-link {
    color: #fff;
    font-size: 1.6rem;
    font-weight: bold;
    text-decoration: none;
    margin-left: 2rem;
    letter-spacing: 0.05em;
    transition: color 0.2s;
}
#Name-Link:hover, .name-link:hover {
    color: #4fc3f7;
}

.social-icons {
    display: flex;
    align-items: center;
    margin-right: 2rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s;
    opacity: 0.85;
}
.social-icons a:hover {
    opacity: 1;
}

#Social-Media-Banner svg {
    display: block;
    height: 1.75em;
    width: 1.75em;
    min-height: 24px;
    min-width: 24px;
}

#Content{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    overflow: hidden;
}

.window {
    flex: 1;
    display: flex;
    flex-direction: row;
    transition: transform 0.3s cubic-bezier(0.4,0,0.2,1), box-shadow 0.3s cubic-bezier(0.4,0,0.2,1);
}

.window:hover, .window:focus-within {
    transform: scale(1.04);
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    z-index: 2;
}

#tech-window {
    background-color: aqua;
    background-image: url('https://images.unsplash.com/photo-1519389950473-47ba0277781c?auto=format&fit=crop&w=800&q=80');
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

#tech-window .tech-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

#tech-window .tech-title {
    color: #fff;
    font-size: 2.5rem;
    font-weight: bold;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
    z-index: 2;
    text-align: center;
}

#portfolio-window {
    background-color: #222;
    background-image: url('https://images.unsplash.com/photo-1461749280684-dccba630e2f6?auto=format&fit=crop&w=800&q=80');
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

#portfolio-window .portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

#portfolio-window .portfolio-title {
    color: #fff;
    font-size: 2.5rem;
    font-weight: bold;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
    z-index: 2;
    text-align: center;
}

#life-window {
    background-color: green;
    background-image: url('https://images.unsplash.com/photo-1506744038136-46273834b3fb?auto=format&fit=crop&w=800&q=80');
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

#life-window .life-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

#life-window .life-title {
    color: #fff;
    font-size: 2.5rem;
    font-weight: bold;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
    z-index: 2;
    text-align: center;
}

.window a {
    display: block;
    width: 100%;
    height: 100%;
    transition: none;
}
.window a:hover, .window a:focus {
    transform: none;
    box-shadow: none;
    z-index: auto;
}

.subtitle {
    font-size: 1rem;
    font-family: 'Segoe Script', 'Brush Script MT', 'Dancing Script', 'Comic Sans MS', cursive, sans-serif;
    font-style: italic;
    margin-left: 0.3em;
    vertical-align: middle;
    opacity: 0.85;
    letter-spacing: 0.01em;
}

@media (max-width: 600px) {
  #Content {
    flex-direction: column;
    min-height: 100vh;
    height: auto;
    overflow-y: auto;
  }
  .window {
    width: 100%;
    min-height: 33vh;
    flex: 1 1 0;
  }
  #Social-Media-Banner {
      height: 60px;
      font-size: 1.2rem;
  }
  body {
    min-height: 100vh;
    overflow-y: auto;
  }
}
