* {
    padding: 0;
    margin: 0;
}

@font-face {
  font-family: "Old London";
  src: url(/public/fonts/CloisterBlack.ttf) format("truetype");
}

@font-face {
    font-family: "Ovo";
    src: url(/public/fonts/Ovo-Regular.ttf) format("truetype");
}

#title {
    font-family: "Old London", sans-serif;
    font-size: 72pt;
    position: fixed;
    top: 1%;
    left: 16%;
    font-weight: 100;
}

body {
    background-color: whitesmoke;
}

.project-button {
    position: fixed;
    cursor: pointer;
}

.project-info {
    visibility: hidden;

    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 10;
    width: 280px;
    height: 200px;
    transition: 0.1s;
    background-image: url(/public/frame.png);
    background-size: contain;
    background-repeat: no-repeat;

    display: flex;
    flex-direction: column;
    padding: 60px 65px;
    font-family: "Ovo";
}

.project-info:hover {
    visibility: visible;
}

.project-title {
    font-family: "Old London";
    font-weight: 100;
    font-size: 24px;
    margin-bottom: 7px;
}

.rose-accessory {
    position: absolute;
    width: 150px;
    bottom: 10%;
    right: 1%;
    rotate: -30deg;
}

.project-link:hover + div {
    visibility: visible;
    opacity: 1;
}

.project-button:hover {
    animation: heartbeat 1s infinite ease-out;
}

@keyframes heartbeat {
    0% {
        transform: scale(1);
    }
    35%{
        transform: scale(1.05);
    }
    55% {
        transform: scale(0.95);
    }
    75% {
        transform: scale(1.1);
    }
    90% {
        transform: scale(1);
    }
}

#p1 {
    width: 17%;
    height: auto;
    top: 28%;
    left: 12%;
}

#p2 {
    width: 14%;
    height: auto;
    top: 58%;
    left: 33%;
}

#p3 {
    width: 14%;
    height: auto;
    top: 59%;
    left: 64%;
}

#p4 {
    width: 14%;
    height: auto;
    top: 35%;
    left: 81%;
}

#envelope {
    position: fixed;
    width: 12%;
    height: auto;
    top: 79%;
    left: 3%;
    transition: 0.2s;
    cursor: pointer;
}

#envelope:hover {
    transform: scale(1.1) rotate(-5deg);
}

#sword {
    position: fixed;
    top: 1%;
    left: 50%;
    width: 360px;
    height: 360px;
    transform-origin: top right;
}

.smooth-criminal {
    animation: k 1s;
}

@keyframes k {0% {transition: 0.5s;} 100% {top: 1%; left: 50%;}}

.message-container {
    visibility: hidden;
    opacity: 0;
    width: 100%;
    height: 100%;
    position: fixed;
    background-color: #28282856;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.185s;
}

.message {
    background-color: whitesmoke;
    width: 60%;
    height: 68%;

    display: flex;
    flex-direction: row;

}

.main-info-section {
    width: 62%;
    padding: 80px;
    font-size: 24px;
    font-family: "Ovo";
}

.main-info-section h2 {
    font-size: 48px;
}

.background-section {
    background-image: url(/public/painting.jpg);
    background-size: cover;
    right: 0px;
    height: 100%;
    width: 40%;
}

.links-section {
    margin-top: 65px;
}

.contact-link {
    display: flex;
    align-items: center;
    margin: 25px 0;
}

.contact-link img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.contact-link a, .contact-link a:visited {
    color: black;
    text-decoration: none;
}

.visible {
    visibility: visible;
    opacity: 1;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    margin-top: 7px;
}

.tech-item {
    padding: 5px;
    border-radius: 10px;
    background-color: lightblue;
    margin: 2px;
    font-size: 14px;
    font-family: Consolas;
}