* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  padding: 0;
  margin: 0;
  background-color: #f1f1f1;
}

.loading {
  position: fixed;
  z-index: 50;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: #f1f1f1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.loader {
  -webkit-perspective: 120px;
  -moz-perspective: 120px;
  -ms-perspective: 120px;
  perspective: 120px;
  width: 100px;
  height: 100px;
}

.loader::before {
  content: "";
  position: absolute;
  left: 25px;
  top: 25px;
  width: 50px;
  height: 50px;
  background-color: #7c795d;
  animation: flip 1s infinite;
}

@keyframes flip {
  0% {
    transform: rotate(0);
  }

  50% {
    transform: rotateY(180deg);
  }

  100% {
    transform: rotateY(180deg) rotateX(180deg);
  }
}

#c {
  float: left;
  width: 40%;
  height: 100%;
}

.message {
  float: right;
  width: 60%;
  height: auto;
  padding: 4px;
  margin: 100px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 30px 10px 10px;
}

.layout {
  display: flex;
  flex-direction: column;
  align-items: center;
}

h1 {
  /* color: #7c795d; */
  color: black;
  font-family: "Trocchi", serif;
  font-size: 45px;
  font-weight: normal;
  line-height: 48px;
  margin: 0;
}

h2 {
  /* color: #7c795d; */
  color: black;
  font-family: "Source Sans Pro", sans-serif;
  font-size: 28px;
  font-weight: 400;
  line-height: 32px;
  margin: 0 0 24px;
}

.subheader {
  font-size: 26px;
  font-weight: 900;
  color: #a36a15;
  /* color: #333; */
  margin: 24px 0 24px;
}

p {
  /* color: #4c4a37; */
  color: #333;
  font-family: "Source Sans Pro", sans-serif;
  font-weight: 900;
  font-size: 18px;
  line-height: 32px;
  margin: 0 0 24px;
  text-align: justify;
}

a {
  color: #ff9900;
  text-decoration: none;
  font-size: 32px;
}

a:hover {
  color: #ffcc66;
}

@media only screen and (max-width: 600px) {
  #c {
    clear: both;
    width: 100%;
    display: block;
  }

  .message {
    clear: both;
    width: 100%;
    margin: 0 auto;
  }
}

@media only screen and (max-width: 800px) {
  .contact-info {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    text-align: left !important;
    width: 100% !important;
  }

  .contact-item {
    justify-content: flex-start !important;
    width: 100% !important;
  }
}

.tooltip-link {
  position: relative;
  display: inline-block;
  text-decoration: none;
}

.tooltip-link::after {
  content: "Download Resume";
  position: absolute;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #333;
  color: #fff;
  padding: 6px 10px;
  border-radius: 5px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  font-size: 0.8rem;
  z-index: 999;
}

.tooltip-link:hover::after {
  opacity: 1;
}

.contact-info {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-bottom: 24px;
  gap: 12px;
  font-family: "Source Sans Pro", sans-serif;
}

.contact-item {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-item i {
  font-size: 22px;
  color: #a36a15;
}

.contact-item:hover {
  color: #a36a15;
}
