/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Base Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #f7f7f7;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: #0f224a;
    padding: 15px;
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pic img {
    width: 100px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    margin-left: 20px;
    transition: color 0.3s ease;
    padding: 5px 10px;
    border-radius: 5px;
}

.nav-links a:hover,
.nav-links a.active {
    background-color: #07abea;
}

.btn select {
    background-color: #0f224a;
    color: #fff;
    border: 1px solid #fff;
    padding: 5px;
    border-radius: 5px;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger i {
    color: #fff;
    font-size: 24px;
}

/* Hero */
.hero {
    /* position: relative; */
    /* height: 40vh; */
}

.video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Meet Mateo */
.meet-mateo {
    background-color: #07abea;
    padding: 40px 0;
    color: #fff;
    position: relative;
}

.element {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.element img {
    width: 180px;
    margin: 20px;
}

.let {
    max-width: 500px;
    margin: 20px;
}

.met {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 15px;
}

.button button {
    background-color: #fff;
    color: #0061af;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 10px;
    position: relative;
    overflow: hidden;
}

.button button:hover {
    background-color: #eee;
}

.button button.clicked::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 10px;
    height: 10px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 100%;
    transform: translate(-50%, -50%) scale(1);
    animation: ripple 0.3s linear;
}

@keyframes ripple {
    to {
        transform: translate(-50%, -50%) scale(10);
        opacity: 0;
    }
}

/* Latest News */
.latest-news {
    padding: 40px 0;
}

.news {
    font-size: 28px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 25px;
}

.posts,
.posts1 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
}

.fix,
.chota {
    background-size: cover;
    background-position: center;
    padding: 15px;
    border-radius: 10px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 220px;
    transition: transform 0.3s ease;
}

.fix:hover,
.chota:hover {
    transform: translateY(-5px);
}

.first {
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url(images/first.jpg);
}

.second {
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url(images/second.jpg);
}

.third {
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url(images/third.png);
}

.fourth {
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url(images/fourth.jpg);
}

.fifth {
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url(images/fifth.jpg);
}

.news_button {
    text-align: center;
    margin-top: 25px;
}

.news_button button {
    background-color: #0061af;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.news_button button:hover {
    background-color: #004a8c;
}

/* Catch Pokemon */
.catch-pokemon {
    background-color: #0f224a;
    padding: 40px 0;
    color: #fff;
}

.main {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.ph {
    flex: 1;
    background-image: url(images/Crow.webp);
    background-size: cover;
    min-height: 350px;
}

.blue1 {
    flex: 1;
    background-image: url(images/blue.webp);
    background-size: cover;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.family {
    text-align: center;
    padding: 15px;
}

.icon3 img {
    width: 70px;
}

.catch {
    font-size: 28px;
    font-weight: bold;
    margin: 15px 0;
}

/* Items for Adventure */
.items-for-adventure {
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url(images/background.webp);
    background-size: cover;
    background-attachment: fixed;
    padding: 80px 0;
    text-align: center;
    color: #fff;
}

.banner_content_title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 15px;
}

/* Team Go Rocket */
.team-go-rocket {
    background-color: #603f96;
    padding: 40px 0;
    color: #fff;
}

.clif {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.purple {
    flex: 1;
    padding: 15px;
}

.circle img {
    width: 70px;
}

.gang {
    font-size: 28px;
    font-weight: bold;
    margin: 15px 0;
}

.mountain {
    flex: 1;
}

.mountain img {
    width: 100%;
    display: block;
}

/* Get Up and Go */
.get-up-and-go {
    background-image: url(images/green.jpg);
    background-size: cover;
    padding: 40px 0;
    text-align: center;
}

.template img {
    width: 180px;
}

.day {
    color: #fff;
    font-size: 28px;
    font-weight: bold;
    margin: 15px 0;
}

.apple img {
    width: 130px;
    margin: 0 10px;
    transition: transform 0.3s ease;
}

.apple img:hover {
    transform: scale(1.05);
}

/* Footer */
footer {
    background-color: #0f224a;
    color: #fff;
    padding: 15px;
    text-align: center;
}

footer a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #07abea;
}

.Niantic {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.list ul,
.list2 ul {
    list-style: none;
    margin: 0 15px;
}

.gola i {
    font-size: 22px;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.gola i:hover {
    color: #07abea;
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #07abea;
    color: #fff;
    padding: 10px;
    border-radius: 50%;
    display: none;
    transition: opacity 0.3s ease;
}

.back-to-top.active {
    display: block;
}

/* Lazy loading */
img.lazy {
    filter: blur(5px);
    transition: filter 0.5s;
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        height: auto;
    }

    .meet-mateo {
        padding: 20px 0;
    }

    .video video {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: #0f224a;
        padding: 15px;
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: block;
    }

    .family {
        padding: 10px;
    }

    .icon3 img {
        width: 50px;
    }

    .catch {
        font-size: 20px;
        margin: 10px 0;
    }

    .po {
        font-size: 14px;
    }

    .find {
        font-size: 18px;
    }

    .ph,
    .blue1 {
        min-height: 250px;
    }

    .clif {
        padding: 10px;
    }

    .circle img {
        width: 50px;
    }

    .gang {
        font-size: 20px;
        margin: 10px 0;
    }

    .has {
        font-size: 14px;
    }

    .gola i {
        font-size: 18px;
        margin: 0 5px;
    }
}
