* {
  box-sizing: border-box;
}

h1, h2, h3, h4, h5, p {
  margin: 0;
}

h1 {
  font-size: 5rem;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 2rem;
}

h4 {
  font-size: 1.7rem;
}

h5 {
  font-size: 1.5rem;
}

p {
  font-size: 1.1rem;
}

body {
  margin: 0;
  width: 100vw;
  max-width: 100vw;
  /* height: 300vh; */
  overflow-x: hidden;
}

/* Title */

.Title {
  width: 100vw;
  min-height: 100vh;
  max-height: 100vh;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  background: radial-gradient(circle farthest-side at 95vw 5vh, white 0%, skyblue 37%);
  text-align: center;
  position: relative;
}

.profile-pic {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  background-image: url("./images/hunter_transparent.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 60%;
}

.title-text {
  grid-area: 1 / 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: auto;
}

.title-text > h1 {
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

.title-text > h3 {
  font-size: 2rem;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

/* wave */
.ocean {
  width:100%;
  position:absolute;
  bottom:0;
  /* bottom: 180px; */
  left:0;
  overflow-x: clip;
}

.wave {
  background: url("./images/wave.svg") repeat-x;
  position: absolute;
  top: -198px;
  width: 6400px;
  height: 198px;
  animation: wave 7s cubic-bezier( 0.36, 0.45, 0.63, 0.53) infinite;
  transform: translate3d(0, 0, 0);
}

.wave:nth-of-type(2) {
  background: url("./images/wave2.svg") repeat-x;
  top: -197px;
  height: 198px;
  animation: wave 7s cubic-bezier( 0.36, 0.45, 0.63, 0.53) -.125s infinite, swell 7s ease -1.25s infinite;
  opacity: 1;
}

@keyframes wave {
  0% {
    margin-left: 0;
  }
  100% {
    margin-left: -1600px;
  }
}

@keyframes swell {
  0%, 100% {
    transform: scaleY(1);
    transform-origin: bottom;
  }
  50% {
    transform: scaleY(0.8);
  }
}

/* Experience */

.Experience {
  width: 100vw;
  min-height: 100vh;
  max-height: 300vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: linear-gradient(#006eab 0%, #00537a 75%, navy 100%);
  font-family: Arial, Helvetica, sans-serif;
}

.experience-text {
  display: flex;
  flex-direction: column;
  padding: 2rem 2rem;
  justify-content: center;
  align-items: center;
}

.experience-picture {
  grid-area: 1 / 2;
  background-image: url("./images/Hunter_top.png");
  width: 100%;
  height: 100%;
  background-position: top 10% left 47%;
  background-repeat: no-repeat;
}

.hobbies ul{
  list-style-type: none;
}

/* Contact */

.Contact {
  width: 100vw;
  min-height: 100vh;
  /* max-height: 200vh; */
  display: grid;
  grid-template-columns: 1fr 1fr;
  color: #fafafa;
  position:relative;
}

.Contact::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(navy 40%, #002147 90%);
  z-index: -2;
}

.Contact::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: url("./images/seabed.png");
  background-size: 100%;
  background-position: 0 100%;
  background-repeat: no-repeat;
  opacity: 0.90;
  z-index: -1;
}

.side-image {
  grid-area: 1 / 1;
  background-image: url("./images/Hunter_side.png");
  width: 100%;
  height: 100%;
  background-position: top 50% right 33%;
  background-repeat: no-repeat;
  background-size: 246%;
}

.text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}

.text li p {
  margin-bottom: 1rem;
}

.skills {
  border: 1px solid rgb(5, 5, 76);
  border-radius: 25px;
  box-shadow: 5px 5px 5px 3px rgb(3, 3, 86);
  width: 90%;
  margin-bottom: 2rem;
  padding: 0.5rem;
  padding-right: 1rem;
}

.skills h2 {
  margin-left: 1.3rem;
}

.skills li {
  list-style-type: none;
}

.instincts {
  width: 80%;
  background-color: red;
  margin-bottom: 1rem;
  padding: 0.2rem;
  border-radius: 0 10px 10px 0;
}

.swimming {
  width: 95%;
  background-color: lightblue;
  margin-bottom: 1rem;
  padding: 0.2rem;
  border-radius: 0 10px 10px 0;
}

.children {
  width: 70%;
  background-color: yellowgreen;
  margin-bottom: 1rem;
  padding: 0.2rem;
  border-radius: 0 10px 10px 0;
}

.adorable {
  width: 100%;
  background-color: orange;
  margin-bottom: 1rem;
  padding: 0.2rem;
  border-radius: 0 10px 10px 0;
}

.hobbies {
  width: 90%;
  background-color: rgba(255, 255, 255, 0.9);
  color: black;
  border-radius: 30px;
  padding: 0.5rem;
  margin: auto;
  flex-grow: 3;
}

.hobbies h2 {
  margin-bottom: 0.5rem;
  margin-left: 1rem;
}

.hobbies p {
  margin-left: 2rem;
  margin-right: 1rem;
  margin-bottom: 0.5rem;
  padding-right: 0.5rem;
  font-size: 1.2rem;
}

.links {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 70%;
  margin: 1.5rem auto;
  background-color: rgba(255, 255, 255, 0.9);
  color: black;
  padding: 0.7rem 1.5rem;
  border-radius: 50px;
  box-shadow: 0 0 50px 5px white;
}

.links i.fa-brands,
.links i.fa-regular {
  font-size: 48px; /* Adjust the font-size value as needed */
}

.links a {
  text-decoration: none;
  color: inherit;
}

.fa-github:hover {
  border-radius: 50%;
  color: #4078c0;
  background-color: #002147;
}

.fa-linkedin-in:hover {
  border-radius: 20%;
  color: #0077b5;
  background-color: #002147;
}

.fa-envelope:hover {
  color: #54daff;
  background-color: #002147;
  border-radius: 10px;
}

/* timeline */

/* The actual timeline (the vertical ruler) */
.timeline {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
}

/* The actual timeline (the vertical ruler) */
.timeline::after {
  content: '';
  position: absolute;
  width: 6px;
  background-color: white;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -3px;
  /* margin: auto; */
}

/* Container around content */
.container {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
  width: 50%;
}

/* The circles on the timeline */
.container::after {
  content: '';
  position: absolute;
  width: 25px;
  height: 25px;
  right: -17px;
  background-color: white;
  border: 4px solid ;
  top: 15px;
  border-radius: 50%;
  z-index: 1;
}

/* Place the container to the left */
.left {
  left: 0;
}

/* Place the container to the right */
.right {
  left: 50%;
}

/* Add arrows to the left container (pointing right) */
.left::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index: 1;
  right: 30px;
  border: medium solid white;
  border-width: 10px 0 10px 10px;
  border-color: transparent transparent transparent white;
}

/* Add arrows to the right container (pointing left) */
.right::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index: 1;
  left: 30px;
  border: medium solid white;
  border-width: 10px 10px 10px 0;
  border-color: transparent white transparent transparent;
}

/* Fix the circle for containers on the right side */
.right::after {
  left: -16px;
}

/* The actual content */
.content {
  padding: 20px 30px;
  background-color: white;
  position: relative;
  border-radius: 6px;
}

/* Media queries - Responsive timeline on screens less than 600px wide */
@media screen and (max-width: 600px) {
/* Place the timelime to the left */
  .timeline::after {
    left: 31px;
  }

/* Full-width containers */
  .container {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }

/* Make sure that all arrows are pointing leftwards */
  .container::before {
    left: 60px;
    border: medium solid white;
    border-width: 10px 10px 10px 0;
    border-color: transparent white transparent transparent;
  }

/* Make sure all circles are at the same spot */
  .left::after, .right::after {
    left: 15px;
  }

/* Make all right containers behave like the left ones */
  .right {
    left: 0%;
  }
}

.timeline content h2 {
  color: black;
}

/* Media queries */

@media screen and (max-width: 1200px) {
  .timeline p {
    font-size: 1rem;
  }
}

@media screen and (max-width: 925px) {
  .Title {
    grid-template-columns: unset;
    grid-template-rows: 1.5fr 1fr;
  }

  .profile-pic {
    grid-area: 1 / 1;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .title-text {
    grid-area: 2 / 1;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
  }

  .Experience {
    grid-template-columns: unset;
    grid-template-rows: 1fr 1fr;
  }

  .experience-picture {
    grid-area: 1 / 1;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .experience-text{
    grid-area: 2 / 1;
  }

  .Contact {
    grid-template-columns: unset;
    grid-template-rows: 1fr 1fr;
  }

  /* .side-image {
    background-size: 206%;
  } */

  .links {
    margin-top: 1rem;
    margin-bottom: 1rem;
  }
}

/* profile */

@media screen and (max-width: 280px) {
  .profile-pic {
    background-size: 100%;
  }
}

@media screen and (min-width: 280px) and (max-width: 400px) {
  .profile-pic {
    background-size: 100%;
  }
}

@media screen and (min-width: 400px) and (max-width: 675px) {
  .profile-pic {
    background-size: 75%;
  }
}

@media screen and (min-width: 675px) and (max-width: 925px) {
  .profile-pic {
    background-size: 55%;
  }
}

/* side image */

@media screen and (min-width: 420px) and (max-width: 925px) {
  .side-image {
    background-size: 206%;
  }
}

@media screen and (min-width: 280px) and (max-width: 420px) {
  .side-image {
    background-size: 300%;
  }
}

@media screen and (max-width: 280px) {
  .side-image {
    background-size: 400%;
  }
}

/* @media screen and (min-width: 600px) and (max-width: 600px) {
  .experience-picture {
    background-size: 90%;
  }
} */

@media screen and (max-width: 280px) {
  .experience-picture {
    background-size: 120%;
    background-position-y: 12rem;
  }
}

@media screen and (min-width: 280px) and (max-width: 430px) {
  .experience-picture {
    background-size: 120%;
    background-position-y: 12rem;
  }
}

@media screen and (min-width: 430px) and (max-width: 600px) {
  .experience-picture {
    background-size: 120%;
  }
}

@media screen and (min-width: 600px) and (max-width: 670px) {
  .experience-picture {
    background-size: 90%;
  }
}

@media screen and (min-width: 670px) and (max-width: 925px) {
  .experience-picture {
    background-size: 85%;
  }
}

@media screen and (min-width: 925px) and (max-width: 1050px) {
  .experience-picture {
    background-size: 128%;
  }
}

@media screen and (min-width: 1050px) and (max-width: 1375px) {
  .experience-picture {
    background-size: cover;
  }
}

@media screen and (min-width: 1370px) {
  .experience-picture {
    background-size: 80%;
  }
}

@media screen and (max-width: 420px) {
  .side-image {
    background-size: 300%;
  }
}
