@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    text-decoration:none;
    list-style:none;
}

body {
    background-color: #0d0d0d;
    background-image: url("https://cdn.pixabay.com/photo/2017/02/12/12/42/wall-2059909_640.png");
    background-size: cover;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    text-decoration:none;
}
a{
    text-decoration:none;
}
.container {
    max-width: 800px;
    width: 100%;
    text-align: center;
}

header {
    margin-bottom: 50px;
}

.neon-text {
    color: #fff;
    text-shadow:
        0 0 5px #fff,
        0 0 10px #fff,
        0 0 20px #0fa;
}

.tagline {
    font-size: 1.2rem;
    margin-top: 10px;
}

section {
    margin: 50px 0;
    padding: 20px;
    border-radius: 10px;
    background-color: rgba(13, 13, 13, 0.8);
    box-shadow:
        0 0 5px #0fa,
        0 0 10px #0fa;
}

#food, #games {
    padding: 40px; 
}

.favorites-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.favorite-item {
    display: block;
    flex-direction: column; 
    align-items: center; 
    max-width: 600px;
}

.favorite-item img {
    width: 100%; 
    max-width: 100%; 
    height: auto;
    border-radius: 10px;
    box-shadow: 0 0 5px #0fa;
    filter: brightness(0.7); 
    transition: transform 0.3s, filter 0.3s;
    object-fit: contain; 
}
.favorites-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.video-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    width: 100%;
}

.favorite-item {
    flex: 1 1 calc(50% - 40px); 
    max-width: calc(50% - 40px);
}
.favorite-item iframe {
    width: 100%;
    height: 200px; 
    border-radius: 10px;
    border: 1px solid #0fa;
    box-shadow: 0 0 5px #0fa;
}

@media (max-width: 768px) {
    .favorite-item {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

.responsive {
    width: 100%;
    aspect-ratio: 16/9;
    position: relative;
    padding-top: 56.25%;
    display: block;
}
.responsive iframe {
        position: absolute;
        top: 0;
        right: 0;
        width: 100%;
        height: 100%;
        display: block;
}


@media (max-width: 600px) {
    .favorite-item img {
        max-height: 200px; 
    }
}

.favorite-item img:hover {
    transform: scale(1.05);
    filter: brightness(1); 
}

.favorite-item p {
    margin-top: 10px; 
    color: #fff;
    text-shadow:
        0 0 5px #fff,
        0 0 10px #fff,
        0 0 20px #0fa,
        0 0 30px #0fa,
        0 0 40px #0fa,
        0 0 50px #0fa,
        0 0 60px #0fa; 
    font-size: 1.2rem;
    text-align: center;
}
.favorites-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.neon-button {
    padding: 10px 20px;
    border: none;
    background-color: #0fa;
    color: #0d0d0d;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    box-shadow:
        0 0 5px #0fa,  
        0 0 10px #0fa;
    transition: background-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.neon-button:hover {
    background-color: #0cd;
    box-shadow:
        0 0 20px #0cd,
        0 0 40px #0cd,
        0 0 60px #0cd;
    transform: scale(1.05);
    animation: pulse 0.5s infinite alternate;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 20px #0cd, 0 0 40px #0cd, 0 0 60px #0cd;
    }
    100% {
        box-shadow: 0 0 30px #0cd, 0 0 50px #0cd, 0 0 70px #0cd;
    }
}

footer {
    margin-top: 50px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
}

.social-link {
    color: #0fa;
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.3s, text-shadow 0.3s;
}

.social-link:hover {
    color: #0cd;
    text-shadow:
        0 0 5px #0cd,
        0 0 10px #0cd,
        0 0 15px #0cd;
}

@media (max-width: 600px) {
    .favorites-buttons {
        flex-direction: column;
        align-items: center;
    }

    .neon-button {
        font-size: 1rem;
    }
}
footer {
    margin-top: 20px;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
}

.btn-backtotop a {
    color: #0fa;
    text-decoration: none;
    font-size: 1.2rem;
}
header .nav .menu {
    position: fixed;
        top: 60px;
        right: 0;
        width: 100%;
        background-color:rgba(0, 0, 0, 0.695);
        max-width: 300px;
        height: 100%;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transform: translateX(100%); 
        transition: transform 0.3s ease-in-out;
        padding: 20px; 
        text-decoration:none;
        text-transform: uppercase;
}


header .nav .menu li a {
    font-size: 1.5rem; 
    color: #0fa;
    font-weight: bold;
    text-decoration: none;
    text-shadow: 
        0 0 5px #fff,  
        0 0 8px #0fa;  
}

header .nav .menu.open {
    transform: translateX(0);
}
.menu-toggle {
    position: fixed; 
    top: 20px; 
    right: 20px; 
    background-color: transparent; 
    color: #0fa; 
    border: 2px solid #0fa;
    font-size: 2rem;
    padding: 10px; 
    cursor: pointer; 
    z-index: 1001;
    text-shadow: 
        0 0 7px #fff, 
        0 0 10px #fff, 
        0 0 21px #0fa, 
        0 0 42px #0fa, 
        0 0 82px #0fa, 
        0 0 92px #0fa, 
        0 0 102px #0fa, 
        0 0 151px #0fa; 
    transition: all 0.3s ease-in-out;
}

.menu-toggle:hover {
    color: #fff; 
    border-color: #fff; 
    text-shadow: 
        0 0 10px #fff, 
        0 0 15px #fff, 
        0 0 25px #fff, 
        0 0 35px #0fa, 
        0 0 45px #0fa, 
        0 0 55px #0fa, 
        0 0 70px #0fa; 
}
@media screen and (max-width: 768px) {
header .nav .menu li {
    margin-left: 5px; 
}
}

@media screen and (max-width: 480px) {
header .nav .menu li {
    margin-left: 0; 
    margin-bottom: 10px;
}
}
