* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

body {
    overflow: hidden;
    height: 100vh;
    width: 100vw;
    padding: 10px;
}

.swiper, .swiper-wrapper {
    --swiper-pagination-bullet-size: 20px;
    --swiper-pagination-bullet-horizontal-gap: 0;
    --swiper-pagination-bullet-width: auto;
    --swiper-pagination-color: black;
    --swiper-pagination-bullet-border-radius: 0;
    --swiper-pagination-bottom: 5px;
    --swiper-scrollbar-bottom: 10px;
    --swiper-scrollbar-sides-offset: 0px;
    --swiper-scrollbar-size: 10px;
    height: 100%;
    width: 100%;
}

.swiper-pagination {
    display: flex;
    justify-content: space-between;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-gap: 10px;
    align-items: stretch;
    height: calc(100% - 40px);
    width: 100%;
}

.image-container {
    background-color: #ccc;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.caption {
    /*display: none;*/
    background-color: black;
    color: white;
    font-family: verdana, sans-serif;
    text-transform: uppercase;
    font-size: 16px;
    padding: 2px 6px;
}

.image-time {
    float: right;
}

body.login {
    background-color: #eee;
    display: flex;
    font-family: Arial, sans-serif;
    justify-content: center;
    align-items: center;

}

.login form {
    display: flex;
    flex-direction: column;
    row-gap: 20px;
    background-color: white;
    width: 640px;
    padding: 50px;
    justify-content: center;
    align-items: center;
}

.login .error {
    color: red;
    font-size: 16px;
}

.login input[type='password'] {
    display: block;
    width: 300px;
    padding: 5px;
    font-size: 20px;
    text-align: center;
}

.login input[type="submit"] {
    background-color: black;
    color: white;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    border-style: none;
    padding: 10px 40px;
    letter-spacing: 2px;
}
