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

body {
    background: #fff;
    padding: 15px;
}

/* public/styles.css */
header {
    background-color: #0078bf;
    color: white;
    padding: 10px 0;
    border-radius: 15px 15px 0 0;
}
  
.header-container {
    width: 80%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}
.logo a {
    display: flex;
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
}
.logo a img {
    height: 70px;
}
.logo a h1 {
    margin-left: 20px;
    color: #fff;
}  

main {
    background-color: #0078bf;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-bottom: 100px;
    border-radius: 0 0 15px 15px;
}
main .top-image {
    width: 100%;
}
main .top-image img {
    width: 80%;
    border-radius: 10px;
}
main .last-images {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 20px;
    margin-bottom: 20px;
}
main .last-images img {
    width: 100%;
    border-radius: 10px;
}

main .box {
    text-align: left;
    width: 80%;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    margin-top: 40px;
}

a.button {
    color: #000;
    background: #fff;
    padding: 5px 20px;
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 18px;
    text-decoration: none;
}

.gallery-container {
    width: 80%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 20px;
    margin-bottom: 20px;
}
.gallery-container a img {
    width: 100%;
    border-radius: 10px;
}
.pagination {
    margin-top: 20px;
}

/*===YouTube Video===*/
.video {
    width: 50%;
}
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 0;
    height: 0;
    overflow: hidden;
}

.video-container iframe,
.video-container object,
.video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.iframe-container {
    position: relative;
    overflow: hidden;
    padding-bottom: 300px;
    height: 0;
}
  
.iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 300px;
}

footer {
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
}

footer a {
    color: #000;
}
footer .github a {
    text-decoration: none;
}


/*===Mobile===*/
@media screen and (max-width: 500px) {
    body {
        padding: 5px;
      }
    .logo a img {
        height: 50px;
    }
    .logo a h1 {
        font-size: 25px;
    }  
    .wetter-desktop {
        display: none;
    }
    .video {
		width: 100%;
	}
    main .last-images {
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 10px;
    }
    .iframe-container {
        padding-bottom: 100%;
    }
    .iframe-container iframe {
        width: 100%;
        height: 100%;
    }
    footer {
        flex-direction: column;
    }
    footer p {
        margin: 5px 0;
    }
    .gallery-container {
        grid-template-columns: repeat(1, 1fr);
    }
    .gallery-container a img {
        border-radius: 5px;
    }
} 
/*===Desktop===*/
@media screen and (min-width: 500px) {
    .wetter-mobile {
      display: none;
    }
  }