@font-face {
  font-family: 'Cavalhatriz';
  src: url('fonts/Cavalhatriz.woff') format('woff'); /* url of the font */
}

a{
    font-family: Cavalhatriz;
    color: #d7f59f;
    font-weight: 900;
    font-size: 45px;
    -webkit-text-stroke: 0.1px #f5568b;
}
.container{
    display: flex;
    position: absolute;
    margin: auto;
    justify-content: space-evenly;
    align-content: center;
    gap: 5em;
}
    

img{
    display: flex;
    margin: auto;
    height: 100em;
    width: 100em;
}

body{
    display: flex;
    margin: auto;
    background: #eeffb0;
    background: radial-gradient(circle, rgba(238, 255, 176, 1) 16%, rgba(255, 166, 176, 1) 28%, rgba(255, 94, 148, 1) 45%, rgba(0, 10, 207, 1) 46%, rgba(255, 255, 255, 1) 54%);
    background-attachment: fixed;
    background-repeat: no-repeat;
}

#about-me{
    background: transparent;
    position: fixed;
    top: 50px;
    bottom: 50px;
    right: 50px;
    left: 50px;
    border: none;
}

#personal-project{
    background: transparent;
    position: fixed;
    bottom: 3px;
    right: 90px;
    border: none;
}

#school-project{
    background: transparent;
    position: fixed;
    bottom: 100px;
    left: 30px;
    border: none;
}

#internship-project{
    background: transparent;
    position: fixed;
    top: 5px;
    right: 15px;
    border: none;
}

.tooltip-wrap-1{
    position: relative;
    display: inline-block;
    cursor: default;
}
.tooltip-wrap-1 .tooltip-1{
    visibility: hidden;
    text-align: center;
    font-family: Cavalhatriz;
    color: #d7f59f;
    font-weight: 900;
    font-size: 45px;
    -webkit-text-stroke: 0.1px #f5568b;
    z-index: 2;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    white-space: nowrap;
}
.tooltip-wrap-1:hover .tooltip-1{
    visibility: visible;
}

.tooltip-wrap-2{
    position: relative;
    display: inline-block;
    cursor: default;
}
.tooltip-wrap-2 .tooltip-2{
    visibility: hidden;
    text-align: center;
    font-family: Cavalhatriz;
    color: #d7f59f;
    font-weight: 900;
    font-size: 45px;
    -webkit-text-stroke: 0.1px #f5568b;
    z-index: 2;
    position: fixed;
    bottom: -190px;
    right: 170px;
    transform: translate(-3%, -345%);
    white-space: nowrap;
}
.tooltip-wrap-2:hover .tooltip-2{
    visibility: visible;
}

.tooltip-wrap-3{
    position: relative;
    display: inline-block;
    cursor: default;
}
.tooltip-wrap-3 .tooltip-3{
    visibility: hidden;
    text-align: center;
    font-family: Cavalhatriz;
    color: #d7f59f;
    font-weight: 900;
    font-size: 45px;
    -webkit-text-stroke: 0.1px #f5568b;
    z-index: 2;
    position: fixed;
    bottom: 100px;
    left: 30px;
    transform: translate(30%, -330%);
    white-space: nowrap;
}
.tooltip-wrap-3:hover .tooltip-3{
    visibility: visible;
}

.tooltip-wrap-4{
    position: relative;
    display: inline-block;
    cursor: default;
}
.tooltip-wrap-4 .tooltip-4{
    visibility: hidden;
    text-align: center;
    font-family: Cavalhatriz;
    color: #d7f59f;
    font-weight: 900;
    font-size: 45px;
    -webkit-text-stroke: 0.1px #f5568b;
    z-index: 2;
    position: fixed;
    top: 5px;
    right: 45px;
    transform: translate(-15%, 280%);
    white-space: nowrap;
}
.tooltip-wrap-4:hover .tooltip-4{
    visibility: visible;
}

#about-me:hover{
    animation: shake 0.5s;
    animation-iteration-count: infinite;
}

#personal-project:hover{
    animation: shake 0.5s;
    animation-iteration-count: infinite;
}

#school-project:hover{
    animation: shake 0.5s;
    animation-iteration-count: infinite;
}

#internship-project:hover{
    animation: shake 0.5s;
    animation-iteration-count: infinite;
}
@keyframes shake {
  0% { transform: translate(1px, 1px) rotate(0deg); }
  10% { transform: translate(-2px, -2px) rotate(-1deg); }
  20% { transform: translate(-3px, 0px) rotate(1deg); }
  30% { transform: translate(2px, 2px) rotate(0deg); }
  40% { transform: translate(1px, -1px) rotate(1deg); }
  50% { transform: translate(-1px, 1px) rotate(-1deg); }
  60% { transform: translate(-1px, 1px) rotate(0deg); }
}