*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body{
    font-family: "Roboto Condensed", sans-serif;
    background: #FFFFFF;
}

/* HERO */

.hero{
    text-align: center;
    margin: 20px 0 50px;
    position: relative;
}

.hero-gradient{
    height: 50px;
    background: linear-gradient(90deg,#8a7be6,#ff9f9f);
    position: absolute;
    left: 0;
    right: 0;
    top: 55px;
}

.hero-logo{
    width: 160px;
    position: relative;
    z-index: 2;
}

.hero-text{
    max-width: 500px;
    justify-self: center;
    margin: 20px;
    color:#862C91;
    font-size: 16px;
    line-height: 24px;
}

/* ARTICLES */

.article{
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 60px;
    align-items: center;
}

.article-image img{
    width: 100%;
    display: block;
}

.article-card{
    position: relative;
    display: grid;
    place-items: center;
    width: 80%;
    max-width: 400px;
    margin: -70px auto 0;
}

.article-card img{
    grid-area: 1 / 1;
    width: 100%;
}

.article:nth-child(even) .article-card img{
    transform: scaleX(-1);
}

.card-content{
    grid-area: 1 / 1;
    text-align: center;
    color: white;
    z-index: 100;
}

.article-card h3{
    margin: 0 10px 20px;
    text-align: center;
    font-size: 20px;
    line-height: 32px;
    font-weight: 400;
    font-style: italic;
}

.article-card a{
    font-weight: 800;
    font-size: 16px;
    line-height: 16px;
    color: white;
}

.footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px 0;
    gap: 15px;
}

.article-image .article-dots{
    display: none;
}

/* sudjelovanje*/

.info-section{
    max-width:720px;
    margin:80px auto 40px;
    padding:0 20px;
}

.info-title{
    background: linear-gradient(90deg,#8a7be6,#ff9f9f);
    color: white;
    text-align: center;
    padding: 16px 20px;
    border-radius: 16px;
    margin-bottom: 25px;
}

.info-list{
    list-style: none;
    padding: 0;
    margin: 0;
    color: #862C91;
    line-height: 1.7;
    font-size: 17px;
}

.info-list li{
    position: relative;
    padding-left: 22px;
    margin-bottom: 14px;
}

.info-list li:last-child{
    margin-bottom: 0;
}


.info-list li::before{
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 7px;
    height: 7px;
    background: #862C91;
    border-radius: 50%;
}

.underline-link {
    text-decoration: underline;
    color: inherit;
}

/* TABLET / DESKTOP */

@media (min-width:768px){

    .hero-gradient {
        height: 85px;
    }

    .hero-logo {
        width: 215px;
    }

    .hero-text{
        justify-self: center;
        font-size: 24px;
        line-height: 32px;
        max-width: 800px;
    }

    .articles{
        max-width:1300px;
        margin: 0 auto;
        padding: 0 20px;
    }

    .article{
        flex-direction: row;
    }

    .article-reverse{
        flex-direction: row-reverse;
    }

    .article-image{
        position: relative;
        flex: 0 0 60%
    }

    .article-card{
        flex: 0 0 40%;
        margin: 60px auto 0;
        margin-left: -80px;
        max-width: 450px;
        width: 90%;
    }

    .article-reverse .article-card{
        margin-left: 0;
        margin-right: -80px;
    }

    .article-card h3 {
        font-size: 25px;
        margin: 0 10px 35px;
    }

    .article-card a {
        font-size: 20px;
    }

    .article-image .article-dots{
        display: flex
    }

    .article-dots{
        display: block;
        position: absolute;
        bottom: -18px;
        width: clamp(160px, 18vw, 260px);
        right: -3vw;
        left: auto;
        z-index: -1;
    }

    .article:nth-child(even) .article-dots,
    .article-reverse .article-dots {
        right: auto;
        left: -3vw;
    }

    .article-image img{
        max-width: 650px;
        width: 100%;
        margin: 0 auto;
    }

    .article-image img:first-child{
        width: 100%;
        max-width: 720px;
    }

    .info-section{
        max-width: 1300px;
        margin: 100px auto
    }

    .info-title{
        font-size: 26px;
        margin-bottom: 35px;
    }

    .info-list{
        font-size: 21px;
    }

}

