body {
    font-family: 'Ubuntu', sans-serif; /* Change this to your preferred font */
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #f0f0f0;
}

header {
    width: 100%;
    background-color: #333;
    color: white;
    text-align: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 80vh;
}

header h1 {
    margin: 0;
    font-size: 5rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

#keywords {
    display: flex;
    flex-direction: column;
    margin-left: 1rem;
    font-size: 1.5rem;
    border-left: 2px solid white;
    padding-left: 1rem;
}

header nav {
    margin-top: 20px;
    position: relative;
}

#menu-toggle {
    display: none;
}

header.shrink {
    height: 60px;
    flex-direction: row;
    justify-content: space-between;
    padding: 0 20px;
}

header.shrink h1 {
    font-size: 1.5rem;
}

header.shrink #keywords {
    display: none;
}

header.shrink #menu-toggle {
    display: block;
    font-size: 1.5rem;
    cursor: pointer;
    position: relative;
    align-items: right;
    padding: 0 40px;
}

header.shrink nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%; /* Position below the menu-toggle button */
    right: 0;
    background-color: #333;
    padding: 0;
    margin: 0;
    width: auto;
}

header.shrink nav ul li {
    display: block;
    margin: 0;
    text-align: center;
}

header.shrink nav ul li a {
    display: block;
    padding: 1rem 40px;
    color: white;
    text-decoration: none;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

nav ul li {
    display: inline;
    margin: 0 1rem;
}

nav ul li a {
    color: white;
    text-decoration: none;
}

section {
    width: 80%;
    max-width: 800px;
    margin: 2rem auto;
    padding: 1rem;
    background-color: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}
#about {
    margin-top: 10rem; /* Adjust this value to move the section further down */
}
#skills {
    margin-bottom: 10rem; /* Adjust this value to move the section further down */
}
#others {
    margin-bottom: 10rem; /* Adjust this value to move the section further down */
}
section:not(#about) {
    margin-top: 3rem; /* Smaller margin for other sections */
}

section h2 {
    margin-top: 0;
    margin-bottom: 0; /* Adjust this value to change the space below the h2 title */
}

section p,
section ul,
section span {
    margin-top: 0; /* Remove any default margin-top */
    margin-bottom: 0;
}

.right-aligned-text {
    display: inline-block;
    float: right;
    text-align: right;
}

.contact-icons {
    display: flex;
    justify-content: center; /* Center the icons horizontally */
    align-items: center; /* Center the icons vertically */
    gap: 1rem; /* Add space between the icons */
}

.contact-icons a {
    display: flex;
    align-items: center;
    color: grey; /* Ensure the links are white */
    text-decoration: none; /* Remove the underline */
}

.contact-icons a img {
    margin-right: 0.5rem;
    width: 24px; /* Set the width of the icons */
    height: 24px; /* Set the height of the icons */
}

footer {
    width: 100%;
    text-align: center;
    padding: 1rem 0;
    background-color: #333;
    color: white;
    position: fixed;
    bottom: 0;
    left: 0;
    height: 20vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
footer.shrink {
    width: 100%;
    text-align: center;
    padding: 1rem 0;
    background-color: #333;
    color: white;
    position: fixed;
    bottom: 0;
    left: 0;
    height: 70px;
}

footer a {
    color: white; /* Ensure the links are white */
    text-decoration: none; /* Remove the underline */
}

footer a:hover {
    text-decoration: underline; /* Optional: Add underline on hover */
}
#falling-pictures-left,
#falling-pictures-right {
    position: absolute;
    top: 0;
    width: 10%; /* Adjust the width of the falling pictures area */
    height: 100%;
    pointer-events: none; /* Allow clicks to pass through */
    z-index: 999; /* Ensure it is above other content */
}

#falling-pictures-left {
    left: 10px;
}

#falling-pictures-right {
    right: 10px;
}

.falling-picture {
    position: absolute;
    width: 50px; /* Adjust the size of the pictures */
    height: 50px; /* Adjust the size of the pictures */
    animation: fall 5s linear infinite, roll 5s linear infinite;
}

@keyframes fall {
    0% {
        top: -10%;
        transform: translateX(0) rotate(0deg);
    }
    50% {
        transform: translateX(20px) rotate(180deg);
    }
    100% {
        top: 110%;
        transform: translateX(0) rotate(360deg);
    }
}

@keyframes roll {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
