html, body {
    height: 100%;
    max-width: 100%;
    overflow-x: hidden;
    margin: 0;
    display: flex;
    flex-direction: column;
    background: linear-gradient(0deg, #deddda 0%, #c0bfbc 100%);
    font-family: "Source Code Pro", monospace;
    font-optical-sizing: auto;
    font-weight: 1;
    font-style: normal;
    color: #000000;
}

html { font-size: 16px; }

h1 { font-size: clamp(2.5rem, 6vw, 3.125rem);
     padding: 1rem 0;
     text-align: center;
     text-shadow: 0px 0px 5px #77767b; }

h2 { font-size: clamp(2rem, 5vw, 2.5rem);
     text-align: center;
     text-shadow: 0px 0px 10px #e4e4e4; }

p  { font-size: clamp(1rem, 4vw, 1.125rem);
     color: #333;
     padding: 1rem 0;
     text-align: center;
     text-shadow: 0px 0px 8px #e4e4e4; }

@media (max-width: 480px) {
  html { font-size: 12px; }

  /* Reduce horizontal padding on very small screens */
  .container,
  p,
  h1, h2, h3, h4, h5, h6 {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .footer-button { font-size: 0.875rem; }
}
a:link {
    color: #FFFFFF;
    text-decoration: none;
    text-align: center;
    text-shadow: 0px 0px 3px #e4e4e4;
}

a:visited {
    color: #FFFFFF;
    text-decoration: none;
    text-align: center;
    text-shadow: 0px 0px 3px #e4e4e4;
}


.container {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.centered-content {
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: default;
    flex: 1;
}

.centered-portfolio {
    display: none;
    color: #FFFFFF;
}

.centered-portfolio-item {
    padding-top: 1vw;
    border-top-style: solid;
    border-color: #adadad;
}

.centered-portfolio h1 {
    padding: 1rem 0;
    text-align: center;
    text-shadow: 0px 0px 3px #e4e4e4;
}

.centered-portfolio a:link a:visited {
    color: #FFFFFF;
    text-decoration: none;
    text-align: center;
    text-shadow: 0px 0px 3px #e4e4e4;
}

.centered-portfolio a:visited {
    color: #FFFFFF;
    text-decoration: none;
    text-align: center;
    text-shadow: 0px 0px 3px #e4e4e4;
}


.centered-portfolio h2 {
    text-align: center;
    text-shadow: 0px 0px 3px #e4e4e4;
}

.centered-portfolio h3 {
    text-align: center;
    text-shadow: 0px 0px 3px #e4e4e4;
}


.centered-portfolio h4 {
    text-align: center;
    text-shadow: 0px 0px 3px #e4e4e4;
}

.centered-portfolio h5 {
    text-align: center;
    text-shadow: 0px 0px 3px #e4e4e4;
}


.centered-contact {
    display: none;
    color: #FFFFFF;
}

.centered-contact h1 {
    padding: 1rem 0;
    text-align: center;
    text-shadow: 0px 0px 3px #e4e4e4;
}

.centered-contact h2 {
    padding: 1rem 0;
    text-align: center;
    text-shadow: 0px 0px 5px #e4e4e4;
}

footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: auto;
    margin: 0 10px;
    padding: 0 20px;
    padding-bottom: 20px;
}

.footer-button {
    font-family: "Source Code Pro", monospace;
    font-optical-sizing: auto;
    font-style: normal;
    background-color: transparent;
    border: none;
    color: #333;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s ease;
}

.footer-button:hover {
    color: #333;
    text-shadow: 0px 0px 8px #77767b;
}

.footer-dark {
    display: none;
}

#back-button {
color: #FFFFFF;
}

#back-button:hover {
text-shadow: 0px 0px 8px #FFFFFF;
}
