* {
  margin: 0;
  padding: 0;
}

html, body {
  background: #5d7292;
}

.container {
  -webkit-animation: transitionIN 1s;
          animation: transitionIN 1s;
}

section {
  position: relative;
  width: 100%;
  height: 100vh;
  background: #5d7292;
  overflow: hidden;
}

.description {
  position: absolute;
  top: 30%;
  left: 0;
  right: 0;
  bottom: 110px;
  padding: 0 30px 100px 30px; /* bottom padding = wave height, so last line scrolls clear of fade */
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-mask-image: linear-gradient(to bottom, black calc(100% - 100px), transparent 100%);
  mask-image: linear-gradient(to bottom, black calc(100% - 100px), transparent 100%);
}
.description::-webkit-scrollbar { display: none; }

.aboutme {
  position: absolute;
  top: 10%;
  left: 0;
  right: 0;
  bottom: 60px;
  padding: 0 30px 50px 30px; /* bottom padding = wave height, so last line scrolls clear of fade */
  width: 70%;
  text-align: justify;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-mask-image: linear-gradient(to bottom, black calc(100% - 50px), transparent 100%);
  mask-image: linear-gradient(to bottom, black calc(100% - 50px), transparent 100%);
}
.aboutme::-webkit-scrollbar { display: none; }

/* Nav: fixed top-right, width auto — no full-width bar, no white background */
.nav {
  position: fixed;
  top: 0;
  right: 0;
  width: auto;
  z-index: 2000;
}
.nav nav {
  width: auto;
}

/* ══════════════════════════════════════════════════════
   MOBILE — same fixed-box approach as desktop
══════════════════════════════════════════════════════ */
@media (max-width: 768px) {

  section {
    height: 100vh;
    min-height: unset;
  }

  .wave, .waveabout {
    position: fixed;
  }

  .description {
    position: fixed;
    top: 20vh;  /* equivalent to padding-top 20% on the container */
    left: 0;
    right: 0;
    bottom: 100px;
    margin-top: 0;
    padding: 20px 20px 100px 20px;
    -webkit-mask-image: linear-gradient(to bottom, black calc(100% - 100px), transparent 100%);
    mask-image: linear-gradient(to bottom, black calc(100% - 100px), transparent 100%);
  }

  .aboutme {
    position: fixed;
    top: 50px;
    left: 0;
    right: 0;
    bottom: 50px; /* clears waveabout height */
    width: auto;
    margin-top: 0;
    padding: 20px 20px 50px 20px; /* padding-bottom = waveabout height */
    -webkit-mask-image: linear-gradient(to bottom, black calc(100% - 50px), transparent 100%);
    mask-image: linear-gradient(to bottom, black calc(100% - 50px), transparent 100%);
  }
}

.mybigparagraph {
  font-family: raleway, sans-serif;
  color: #fff5ee;
  font-size: 1.1rem;
  line-height: 1.3;
}

@media (max-width: 480px) {
  .mybigparagraph {
    font-size: 14px;
  }
}

#mypic {
  max-width: 100%;
  height: auto;
  overflow: hidden;
  border: 10px solid #fff5ee;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  #mypic {
    display: block;
    width: 80%;
    max-width: 320px;
    margin: 0 auto 20px auto;
  }
}

.headline {
  color: #fff;
  font-family: domnie, serif;
  font-size: 3rem;
}

@media (max-width: 480px) {
  .headline {
    font-size: 30px;
  }
}

.mysmallparagraph {
  font-family: raleway, sans-serif;
  color: #fff5ee;
  font-size: 1.4rem;
  width:50%;
  display:block;
  text-align: justify;
}

@media (max-width: 480px) {
  .mysmallparagraph {
    width: auto;
    font-size: 16px;
  }
}

.chaldallink {
  color: #fff5ee;
}

.lbutton {
  padding: 10px 15px;
  background: #fff;
  font-family: raleway, sans-serif;
  border-radius: 5px;
  color: #5d7292;
  text-decoration: none;
  -webkit-box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
          box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  font-weight: 600;
}

nav {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
}

.navlink {
  padding: 5px 10px;
  margin-right: 10px;
  margin-top: 10px;
  background: #fff;
  font-family: raleway, sans-serif;
  border-radius: 5px;
  color: #5d7292;
  text-decoration: none;
  -webkit-box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
          box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  font-weight: 600;
}

.contactline a,
.contactline a:link,
.contactline a:visited,
.contactline a:hover,
.contactline a:active {
  text-decoration: none;
  border-bottom: none;
}

.wave {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: url(../wave-bg.png);
  background-size: 1000px 100px;
}

.waveabout {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50px;
  background: url(../wave-bg-high.png);
  background-size: 1000px 50px;
}

.wave1 {
  -webkit-animation: animate 30s linear infinite;
  animation: animate 30s linear infinite;
  z-index: 1000;
  opacity: 1;
  -webkit-animation-delay: 0s;
  animation-delay: 0s;
  bottom: 0;
}

.wave2 {
  -webkit-animation: animate2 15s linear infinite;
  animation: animate2 15s linear infinite;
  z-index: 999;
  opacity: 0.5;
  -webkit-animation-delay: -5s;
  animation-delay: -5s;
  bottom: 10px;
}

.wave3 {
  -webkit-animation: animate 30s linear infinite;
  animation: animate 30s linear infinite;
  z-index: 998;
  opacity: 0.2;
  -webkit-animation-delay: -2s;
  animation-delay: -2s;
  bottom: 15px;
}

.wave4 {
  -webkit-animation: animate2 5s linear infinite;
  animation: animate2 5s linear infinite;
  z-index: 997;
  opacity: 0.7;
  -webkit-animation-delay: -5s;
  animation-delay: -5s;
  bottom: 20px;
}

.wave5 {
  -webkit-animation: animate3 30s linear infinite;
  animation: animate3 30s linear infinite;
  z-index: 800;
  opacity: 0.2;
  -webkit-animation-delay: 0s;
  animation-delay: 0s;
  bottom: 0px;
}

.wave6 {
  -webkit-animation: animate4 15s linear infinite;
  animation: animate4 15s linear infinite;
  z-index: 999;
  opacity: 0.3;
  -webkit-animation-delay: -5s;
  animation-delay: -5s;
  bottom: 0px;
}

.wave7 {
  -webkit-animation: animate3 30s linear infinite;
  animation: animate3 30s linear infinite;
  z-index: 998;
  opacity: 0.4;
  -webkit-animation-delay: -2s;
  animation-delay: -2s;
  bottom: 0px;
}

.wave8 {
  -webkit-animation: animate4 5s linear infinite;
  animation: animate4 5s linear infinite;
  z-index: 997;
  opacity: 0.5;
  -webkit-animation-delay: -5s;
  animation-delay: -5s;
  bottom: 0px;
}

@-webkit-keyframes animate3 {
  0% {
    background-position-x: 0;
  }
  100% {
    background-position-x: 1000px;
  }
}

@keyframes animate3 {
  0% {
    background-position-x: 0;
  }
  100% {
    background-position-x: 1000px;
  }
}

@-webkit-keyframes animate4 {
  0% {
    background-position-x: 0;
  }
  100% {
    background-position-x: -1000px;
  }
}

@keyframes animate4 {
  0% {
    background-position-x: 0;
  }
  100% {
    background-position-x: -1000px;
  }
}

@-webkit-keyframes animate {
  0% {
    background-position-x: 0;
  }
  100% {
    background-position-x: 1000px;
  }
}

@keyframes animate {
  0% {
    background-position-x: 0;
  }
  100% {
    background-position-x: 1000px;
  }
}

@-webkit-keyframes animate2 {
  0% {
    background-position-x: 0;
  }
  100% {
    background-position-x: -1000px;
  }
}

@keyframes animate2 {
  0% {
    background-position-x: 0;
  }
  100% {
    background-position-x: -1000px;
  }
}

@font-face {
  font-family: domnie;
  src: url(../fonts/domine/Domine-VariableFont_wght.ttf);
}

@font-face {
  font-family: raleway;
  src: url(../fonts/raleway/Raleway-VariableFont_wght.ttf);
}

@-webkit-keyframes transitionIN {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes transitionIN {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
/*# sourceMappingURL=style.css.map */