section.atf{
    padding: 200px 10%;
    height: 60vh;
    box-sizing: border-box;
    background-image: url('/img/pozadi.jpeg');
    background-size: cover;
    background-position: center;
}
section.atf h1{
    text-align: center;
    padding: 24px;
    width: fit-content;
    margin: 0 auto;
}

section.vid{
    padding: 0 10%;
}
section.vid h2{
    text-align: center;
    margin: 48px 0;
}
section.vid ul{
    list-style: none;
}
section.vid li{
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 12px 0;
}
section.vid div.wrapper{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 84px;
}
section.vid video{
    height: 80vh;
    width: auto;
}

section.leky{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin: 84px 10%;
    padding: 36px;
    background-color: var(--secondary-color);
    border-radius: 12px;
}
section.leky h2{
    background-color: transparent;
}

@media(max-width: 1250px){
    section.vid div.wrapper{
        flex-direction: column;
        gap: 48px;
    }
    section.vid video{
        width: 50vw;
        height: auto;
    }
}

@media(max-width: 930px){
    section.atf{
        padding-left: 5%;
        padding-right: 5%;
    }
    section.vid{
        padding-left: 5%;
        padding-right: 5%;
    }
    section.leky{
        margin-left: 5%;
        margin-right: 5%;
    }
}

@media(max-width: 830px){
    section.atf h1{
        text-align: center;
    }
    section.leky{
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

@media(max-width: 750px){
    section.vid video{
        width: 70vw;
    }
}

@media(max-width: 550px){
    section.vid video{
        width: 100%;
    }
}
