html {
    overflow: hidden;
}

body {
    background-image: url("Assets/background.png");
    background-repeat: no-repeat;
    background-size: cover;
    margin: 0;
    padding: 0;
    background-position: center;
    background-attachment: fixed;
}

.raindrop {
    position: absolute;
    height: 8%;
    width: auto;
    z-index: 1;
    opacity: 0.5;
    transition: opacity 0.3s ease, transform 0.3s ease;
    -webkit-user-drag: none;
    user-select: none;
}

.raindrop.collected {
    opacity: 0;
    transform: scale(0.5);
    pointer-events: none;
}

#score-display {
    position: fixed;
    top: 1%;
    left: 85%;
    font-family: Calibri, Candara, sans-serif;
    font-size: 2.5rem;
    color: #3d356a;
    font-weight: bold;
    text-shadow: 1px 1px 2px black;
    z-index: 25;
    user-select: none;
}

#top-cloud {
    opacity: 0;
    transition: opacity 2s ease-in;
    position: fixed;
    width: 42%;
    top: 0;
    padding-top: 1%;
    z-index: 11;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    user-select: none;
}

#top-cloud img {
    max-width: 100%;
    width: 90%;
    height: auto;
    opacity: 0.9;
    -webkit-user-drag: none;
}

.floating-cloud {
    opacity: 0;
    transition: opacity 2.2s ease-in;
    position: absolute;
    bottom: 1%;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30%;
    z-index: 15;
    user-select: none;
    -webkit-user-drag: none;
}

.floating-cloud img {
    opacity: 0.9;
    width: 100%;
    height: auto;
    display: block;
    -webkit-user-drag: none;
}

.cloud-text {
    position: absolute;
    font-family: Calibri, Candara, sans-serif;
    font-size: 2.5em;
    text-shadow: 2px 2px 4px #a8b5d2;
    white-space: nowrap;
}

#name {
    font-size: 3.5rem;
    color: #3d356a;
}

#project-text {
    font-size: 1.6rem;
    white-space: normal;
}

.cloud-link {
    position: absolute;
    display: inline-block;
    text-decoration: none;
}

.cloud-link .cloud-text {
    position: relative;
    color: black;
}

.cloud-linke:hover .cloud-text {
    cursor: pointer;
    color: #3d356a;
}

/* About me specific formatting*/
#box-container {
    position: relative;
    float: right;
    height: 100%;
    width: auto;
    z-index: 15;
    user-select: none;
}

#box {
    height: 100%;
    width: 100%;
    display: block;
    opacity: 0.9;
}

#inner-description {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    height: 100%;
    width: 100%;
    padding: 70px;
    box-sizing: border-box;
}

#self-photo {
    width: 40%;
    height: auto;
    object-fit: contain;
    flex-shrink: 0;
}

#inner-description #inner-text {
    flex-grow: 1;
    text-align: left;
    margin: 0;
    font-size: 1.3rem;
    color: #e9e9e8;
}

#inner-description a {
    color: white;
}

/* Project and/or Socials specific formatting */

.bar {
    width: 90%;
    height: 8%;
    position: absolute;
    left: 50%;
    top: 52%;
    transform: translate(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    opacity: 0;
    transition: opacity 3s ease-in;
    user-select: none;
}

.bar h2 {
    font-family: Calibri, Candara, sans-serif;
    font-size: 2rem;
    color: #e9e9e8;
    z-index: 30;
}

#long-box {
    width: 100%;
    height: auto;
    position: absolute;
    top: 0;
    opacity: 0.9;
    z-index: 5;
}

#outline {
    width: 100%;
    height: auto;
    position: absolute;
    top: 0;
    z-index: 15;
}

.all-skills {
    width: 100%;
    position: absolute;
    display: flex;
    align-items: center;
    gap: 7%;
    white-space: nowrap;
    z-index: 10;
}

.skill {
    font-family: Calibri, Candara, sans-serif;
    font-size: 1.3rem;
    color: #e9e9e8;
}