@font-face {
  font-family: 'Caveat';
  src: url('../fonts/Caveat-Bold.woff2') format('truetype');
  font-weight: 700;
  font-style: normal;
}

@font-face {
    font-family: 'Circular';
    src: url('../fonts/circular-bold.woff2') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Circular-Medium';
    src: url('../fonts/circular-medium.woff2') format('truetype');
    font-weight: 400;
    font-style: normal;
}

html, body {
    font-family: "Circular", Helvetica, sans-serif;
    font-weight: 400;
    font-size: 100%;
    text-align: center;
    background-color: #fbf5f1;
    color: black;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    box-sizing: border-box;
}

h1 {
    margin-top: 10px;
    font-size: 3.5rem;
    line-height: 2.375rem;
    font-weight: 700;
    font-family: 'caveat', cursive;
}

h2 {
    font-family: Circular;
    color: #787578;
    line-height: 1.8rem;
    font-size: 1.4rem;
}

h3 {
    font-size: 1.35rem;
    line-height: 1.5rem;
    font-weight: 600;
    font-family: Circular;
    padding-top: 12px;
}

h4 {
    text-align: left; 
    margin-top: 20px;
    font-size: 1.5rem;
    line-height: 2.375rem;
    font-weight: 600;
    font-family: 'caveat', cursive;
    padding-top: 5px;
}

.page {
  width: 100%;
  margin: 0 auto;
  margin-top: 3.25rem;
  margin-bottom: 2.25rem;
}

@media (min-width: 20rem) {
  .page {
      padding: 0 1.25rem;
  }
}

@media (min-width: 58rem) {
  .page {
      padding: 0;
      max-width: 58.75rem;
  }
}

p {
    font-family: Circular;
    color: #787578;
    line-height: 1.6rem;
    font-size: 1.1rem;
}

u {
    text-decoration: none;
    /* text-decoration-line: underline; */
    /* text-decoration-style: wavy; */
    /* text-decoration-color: #f7ce46;   */
    /* border-bottom: 10px solid #f7ce46; */
    box-shadow: inset -10px 10px 0px rgba(0, 0, 0, 0), inset 0 -25px 0 #f7ce46

}

.customappicon {
    width: 40px;
    height: 40px;
    margin-top: 14px;
    margin-bottom: 7px;
    border-radius: 12px;
    margin-left: auto;
    margin-right: auto;
}

a:hover {
    text-decoration: none;
}

.fa {
    margin: 8px;
    font-size: 25px;
    color: #ef7d66;
}

.fa:hover {
    color: #e84828;
}

.details {
    display: flex;
    justify-content: center;
    align-content: center;
    flex-direction: column;  
}

a.darken {
    display: inline-block;
    background: black;
    padding: 0;
}

a.darken img {
    display: block;
    
    -webkit-transition: all 0.5s linear;
       -moz-transition: all 0.5s linear;
        -ms-transition: all 0.5s linear;
         -o-transition: all 0.5s linear;
            transition: all 0.5s linear;
}

a.darken:hover img {
    opacity: 0.7;
}

a {
    color: #ef7d66;
}

a:hover {
    color: #e84828;
}

.card {
    background-color: white;
    padding: 15px;
    border-radius: 20px;
    margin-bottom: 20px;
    overflow: hidden;
    border-width: 0;
    transition: 0.3s;
}

.card:hover {
    box-shadow: 0 7px 30px -10px rgba(150,170,180,0.8);
}

.shadow1 { 
    box-shadow: 0 5px 10px rgba(154, 160, 185, .05), 0 15px 40px rgba(166, 173, 201, .15);
}
  
.shadow2 { 
    box-shadow: 0 7px 30px -10px rgba(150,170,180,0.5);
}  

.experience-card {
    text-align: left;
}

.worklogo {
    width: 55px;
    height: 55px;
    border-radius: 15px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    display: block;
}

.project-card {
    height: 500px;;
}

/* Buttons */
.btn {
    color: white;
    background-color: #ef7d66 !important;
    border-radius: 20px !important;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 23px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 13px !important;
    padding: 10px;
    padding-left: 15px;
    padding-right: 15px;
    font-family: Circular;
}

.btn:hover {
    color: white;
    background-color: #e84828 !important;
    box-shadow: 0 7px 30px -10px rgba(150,170,180,0.5);
}

.not-available {
    background-color: lightgray !important;
}

.not-available:hover {
    background-color: lightgray !important;
}

/* Spotify */
a .spotifytile {
    text-decoration-style: none;
}

.spotifytile p {
    font-size: 1rem;
    font-family: Circular;
    font-weight: bold;
    color: #8a8a8b;
    margin-top: -2px;
}

.spotifytile h3 {
    font-size: 1.2rem;
    font-family: Circular;
    line-height: 1.5rem;
}

.spotifyImgContainer {
    position: relative;
    border-radius: 50%;
    height: 100px;
    width: 100px;
    background-color: #f8f8fb;
    margin: 0 auto;
}

.spotifytile img {
    height: 100%;
    width: 100%;
    border-radius: 50%;
}

.playMusic {
    font-size: 35px;
    color: #ef7d66;
    box-shadow: 0 7px 30px -10px rgba(150,170,180,0.5);
    background-image: radial-gradient(at center, white 40%, transparent 40%);
    position: absolute;
} 

.spotifytile .playMusic {
    top: 60px;
    right: 0px;
}

.playMusic:hover {
    color: #e84828;
}

.rotate {
    animation: rotate 5s linear infinite; 
}

@keyframes rotate {
    to {
        transform: rotate(360deg); 
    }
}

/* Marvel device */
.marvel-device .screen {
    width: 99%;
}

.marvel-device {

    zoom: 0.45;
}

@-moz-document url-prefix() {
    .marvel-device {
        -moz-transform: scale(115%) translateX(-50%);
        -moz-transform-origin: 0 0;
        position: absolute; 
    }
}
  

/* Book card */
.book-card {
    text-align: left;
    padding: 23px;
}

.book-text {
    margin-top: auto;
    margin-bottom: auto;
}

.book-card .playMusic {
    bottom: -20px;
    right: 33%;
}

#book-image {
    border-radius: 15px;
    margin: auto;
    display: block;
}

.multiple-links p {
    font-family: 'caveat', cursive;
    display: inline;
    font-size: 1.5rem;
    visibility: hidden;
}

@media (max-width: 576px) {
    .book-card {
        text-align: center;
    }

    .bookcover {
        margin-right: auto;
        margin-left: auto;
        margin-bottom: 20px;
    }
}

.profile-image-container {
  position: relative;
  border-radius: 50%;
  height: 150px;
  width: 150px;
  margin: 0 auto;
  margin-bottom: 20px;
  border-radius: 0px;
  margin-bottom: 25px;
}

.profile-image {
  border-radius: 50%;
}


/* Hand wave animation */

.wave {
  animation-name: wave-animation;  /* Refers to the name of your @keyframes element below */
  animation-duration: 2.5s;        /* Change to speed up or slow down */
  animation-iteration-count: infinite;  /* Never stop waving :) */
  transform-origin: 70% 70%;       /* Pivot around the bottom-left palm */
  display: inline-block;
}

@keyframes wave-animation {
    0% { transform: rotate( 0.0deg) }
   10% { transform: rotate(14.0deg) }  /* The following five values can be played with to make the waving more or less extreme */
   20% { transform: rotate(-8.0deg) }
   30% { transform: rotate(14.0deg) }
   40% { transform: rotate(-4.0deg) }
   50% { transform: rotate(10.0deg) }
   60% { transform: rotate( 0.0deg) }  /* Reset for the last half to pause */
  100% { transform: rotate( 0.0deg) }
}

#h1.wave { font-size: 0.5em }

.wave.profilewave {
  position: absolute;
  bottom: -5px;
  right: 10px;
  font-size: 40px;
}