/***** Home page styles *****/


/* Hero */
.hero {
    background-image: url('../img/hero.jpg');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.hero-card {
    background-color: rgba(255, 255, 255, 0.35);
    width: auto;
    border-radius: 10px;
}

.hero-form {
    background-color: var(--whiteColor);
    border: 2px solid var(--lightColor);
    border-radius: 30px;
    width: 100%;
    padding: 0.5rem;
}

.hero-form:focus {
    color: var(--blackColor);
    background-color: var(--whiteColor);
    border-color: var(--tertiaryColor);
}

.hero-form:focus-visible {
    outline: 0px;
}

.hero-search h2,
.hero-card-title {
    color: var(--whiteColor);
}

/* Most viewed section */

.rounded-card {
    position: relative;
    border-radius: 10px;
    border: 0px;
    background-color: var(--whiteColor);
}

.rounded-card img {
    border-radius: 10px 10px 0 0;
}

/* Latest Weather News */

.news-block {
    position: relative;
    transition: background-color 0.3s ease;
    padding: 0;
}

.news-block:hover {
    background-color: rgba(0, 0, 0, 0.6);
}

.news-block .news-content {
    color: var(--whiteColor);
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.news-block img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.news-block:hover img {
    opacity: 0.3;
}

.news-block a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

/* Gallery section */

.gallery-block div{
    padding: 0;
}

.add-block {
    background-color: var(--lightColor);
}