body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Orbitron', sans-serif;
    overflow-x: clip;
    scroll-behavior: smooth;
}

#banner {
    position: fixed;
    height: 150px;
    align-items: center;
    justify-content: center;
    top: 0;
    left: 0;
    width: 100%;
    transition: transform 0.3s ease-in-out;
    z-index: 1000;
}

#banner.hidden {
    transform: translateY(-100%);
}

#headercontent {
    display: flex;
    height: 150px;
    background: linear-gradient(135deg, #c55df6, #baebff);
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

.logo {
    width: 350px;
    margin-left: 20px;
}

.buttons-container {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 80px;
}

.buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 80px;
}

.buttons button {
    font-size: 1.3rem;
    background: none;
    border: none;
    color: white;
    position: relative;
    cursor: pointer;
    font-family: 'Orbitron', sans-serif;
}

.buttons button::after {
    content: '✧';
    position: absolute;
    top: -10px;
    right: -15px;
    font-size: 1rem;
    color: white;
    opacity: 0;
    transform: scale(0.5);
    transition: transform 0.3s, opacity 0.3s;
}

.buttons button::before {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    display: block;
    margin-top: 5px;
    left: 0;
    bottom: -5px;
    background: white;
    transition: width 0.3s;
}

.buttons button:hover::after {
    animation: pop 0.5s forwards;
}

.buttons button:hover::before {
    width: 100%;
}

.scroll-section {
    position: relative;
    background: linear-gradient(180deg, #231942, #9F86C0);
    box-shadow: 0 -10px 20px rgba(0, 0, 0, 0.1);
    color: white;
    padding: 2rem;
    text-align: center;
}

.description {
    margin: 0 10%;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    text-align: center;
    align-items: center;
}

.description h2 {
    font-size: 3rem;
    text-align: center;
}

.description p {
    font-size: 20px;
    text-align: justify;
    hyphens: auto;
    font-family: Raleway;
}

.description.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.container {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.section {
    position: relative;
    margin: 50px 10%;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    display: flex;
    align-items: center;
}

.section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.text-container {
    flex: 1;
    position: relative;
}

.text-wrapper {
    position: relative;
}

h3.text {
    font-size: 2.5rem;
    margin: 0;
    color: white;
}

.big-outline {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 80px;
    font-weight: bold;
    color: transparent;
    z-index: 1;
    pointer-events: none;
    white-space: nowrap;
    opacity: 0.2;
    width: 80%;
}

.text-container p {
    margin-top: 20px;
    font-size: 20px;
    text-align: justify;
    font-family: Raleway;
}

.price p {
    margin-top: 20px;
    font-size: 20px;
    text-align: center;
    font-family: Raleway;
}

.image-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.image-logo {
    width: 100%;
    max-width: 300px;
    margin-bottom: 30px;
    margin-top: 30px;
    border-radius: 20px;
}

.image-shop {
    width: 100%;
    max-width: 400px;
    margin-top: 50px;
    border-radius: 20px;
}

.image {
    width: 100%;
    max-width: 300px;
    margin-bottom: 20px;
}

.portfolioimage {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 0 10% 80px;
}

.portfolioimage img {
    width: calc(50% - 10px);
    flex: 1 1 calc(50% - 10px);
    object-fit: cover;
    border-radius: 20px;
}

.text-below {
    font-size: 20px;
    text-align: justify;
    font-family: Raleway;
    margin: 0 10%;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.text-below.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.divider {
    width: 50%;
    height: 1px;
    background-color: white;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.divider.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.contact {
    text-align: center;
    align-items: center;
    justify-items: center;
    justify-content: center;
    color: white;
    font-family: 'Orbitron', sans-serif;
}

.contact p {
    font-size: 1.8rem;
    line-height: 1.6;
    text-align: center;
}

.contact .social-link {
    display: flex;
    align-items: center;
    text-align: center;
    justify-items: center;
    justify-content: center;
}

.contact .social-link img {
    width: 80px;
    margin-right: 10px;
    vertical-align: middle;
    filter: invert(1);
}

footer {
    background-color: #5E548E;
    color: white;
    padding: 2rem 0;
}

.footer-section {
    text-align: center;
    align-items: center;
    justify-items: center;
    justify-content: center;
}

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.footer-section p {
    font-size: 1rem;
    line-height: 1.6;
}

.footer-section .social-link {
    display: flex;
    align-items: center;
    text-align: center;
    justify-items: center;
    justify-content: center;
}

.footer-section .social-link img {
    width: 50px;
    margin-right: 10px;
    vertical-align: middle;
}

.copyright {
    text-align: center;
    color: white;
    font-size: 0.8rem;
    margin-top: 5rem;
    margin-bottom: 1rem;
}

img {
    max-width: 100%;
    height: auto;
}

.footer-section img {
    width: 50px;
    align-items: center;
    filter: invert(1);
}

ul {
    list-style-type: none;
    padding: 0;
}

ul.social-links li {
    display: inline-block;
    margin-right: 1rem;
    font-size: 1.5rem;
}

ul.social-links li a {
    color: #fff;
}

#scrollToTopBtn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border: none;
    background-color: transparent;
    color: rgba(255, 255, 255, 0.5);
    font-size: 2rem;
    text-align: center;
    line-height: 50px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease, transform 0.3s ease;
    transform: scale(0.8);
    z-index: 5;
}

#scrollToTopBtn.show {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

#scrollToTopBtn:hover {
    color: white;
}

.star {
    position: absolute;
    font-size: 24px;
    color: white;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8), 0 0 20px rgba(255, 255, 255, 0.6);
    opacity: 1;
    animation: spin-fade 1s linear;
    pointer-events: none;
    z-index: 1001;
}
  
@keyframes spin-fade {
    0% {
      transform: rotate(0deg) scale(1);
      opacity: 1;
    }
    50% {
      transform: rotate(180deg) scale(1.5);
    }
    100% {
      transform: rotate(360deg) scale(1);
      opacity: 0;
    }
}

@keyframes pop {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.5);
    }
    100% {
        opacity: 0;
        transform: scale(2);
    }
}

/* Responsive Design: Media Queries */

/* For tablets and smaller desktops */
@media (max-width: 1024px) {
    #banner {
        height: auto;
    }

    #headercontent {
        display: flex;
        flex-direction: column;
        padding-bottom: 20px;
    }

    .logo {
        width: 200px;
        margin-top: 30px;
        margin-left: 0;
    }

    .buttons-container {
        padding-bottom: 0px;
    }

    .buttons {
        gap: 15px;
    }

    .text-container {
        margin-left: 80px;
        margin-right: 80px;
    }

    .description h2 {
        font-size: 2.5rem;
    }

    .description p, .text-below {
        font-size: 18px;
    }

    .footer-section {
        padding: 1rem;
    }

    .portfolioimage img {
        width: 100%;
    }

    .contact .social-link img {
        width: 60px;
    }
}

/* For smartphones and smaller screens */
@media (max-width: 768px) {
    #banner {
        height: auto;
    }

    #headercontent {
        display: flex;
        flex-direction: column;
        padding-bottom: 20px;
    }

    .logo {
        width: 200px;
        margin-top: 30px;
        margin-left: 0;
    }

    .buttons-container {
        padding-bottom: 0px;
    }

    .buttons {
        gap: 10px;
    }

    .buttons button {
        font-size: 0.9rem;
        padding: 8px 15px;
    }

    .text-container {
        margin-left: 20px;
        margin-right: 20px;
    }

    .description h2 {
        font-size: 2rem;
    }

    .description p, .text-below {
        font-size: 16px;
    }

    .footer-section h3 {
        font-size: 1.2rem;
    }

    .footer-section p {
        font-size: 0.9rem;
    }

    .portfolioimage {
        flex-direction: column;
        gap: 10px;
    }

    .portfolioimage img {
        width: 100%;
    }

    .image-logo, .image-shop {
        max-width: 80%;
    }

    .contact .social-link img {
        width: 50px;
    }
}

/* Even smaller mobile devices like phones in portrait mode */
@media (max-width: 480px) {
    .logo {
        width: 200px;
        margin-top: 30px;
        margin-left: 0;
    }

    .buttons button {
        font-size: 0.8rem;
        padding: 6px 12px;
    }

    .text-container {
        margin-left: 20px;
        margin-right: 20px;
    }

    .description h2 {
        font-size: 1.5rem;
    }

    .description p, .text-below {
        font-size: 14px;
    }

    .buttons-container {
        padding: 0 10px;
    }

    .buttons {
        gap: 10px;
    }

    .portfolioimage {
        margin: 0 5%;
    }

    .footer-section h3 {
        font-size: 1rem;
    }

    .footer-section p {
        font-size: 0.8rem;
    }

    .contact .social-link img {
        width: 40px;
    }
}