@import url('https://fonts.googleapis.com/css2?family=Abril+Fatface&display=swap');

*{
    padding: 0;
    margin: 0;
}

body{
    background-image: url(pexels-black-bird-859122-2445611.jpg);
}

h1{
    font-family: "Abril Fatface", serif;
    color: #fff;
    margin-top: 5%;
    margin-bottom: 1.5%;
    text-align: center;
    font-size: 3rem;
}

h2{
    font-size: 2rem;
    color: #ff00ae;
    margin-bottom: 1.5%;
    margin-top: 1.5%;

}

h3{
    color: whitesmoke;
    font-size: 1.5rem;
}

p{
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 2%;
}

h2, h3, li, p {
    text-align: center;
}

section{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 50px;
}

ul {
    display: flex;
    justify-content: center; /* Poravnaj li elemente u sredinu horizontalno */
    align-items: center; /* Poravnaj li elemente u sredinu vertikalno */
    gap: 3em;
    list-style-type: none;
    text-decoration: none;
    margin-left: 200px;

}



li {
    color: #ff00ae;
    background-color: black;
    padding: 4em;
    border-radius: 2em;
    box-shadow: 0.5em 0.5em 0.5em 1em #ff00ae;
    opacity: 80%;
    transition: box-shadow 0.3s;
}

li:hover {
    box-shadow: 0.7em 0.7em 0.7em 1.2em #ff00ae;
}



a{
    text-decoration: none;
    color: #ff00ae;
    font-size: 1.7rem;
}

footer{
    text-align: center;
    font-size: 12pt;
    height: 45px;
    margin-top: 4%;
    overflow: hidden;
}

.wp, .dzw, .ws, .pzw {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #ff00ae;
    background-color: black;
    border-radius: 2em;
    box-shadow: 0.5em 0.5em 0.5em 1em #ff00ae;
    opacity: 70%;
    padding: 4em;
    width: 14%;
    margin: 1em;
    transition: box-shadow 0.3s;
}

.wp, .dzw, .ws, .pzw:hover {
 box-shadow: 0.7em 0.7em 0.7em 1.2em #ff00ae;
}

/* Dodatno da li izgledaju kao ul i li */
.wp, .dzw, .ws, .pzw{
    display: flex;
    flex-direction: column;
    list-style-type: none; /* Ukloni defaultne tačkice */
    text-decoration: none; /* Ukloni dekoraciju linkova, ako ih budeš koristio */
}

.wp li, .dzw li, .ws li, .pzw li {
    color: #ff00ae;
    background-color: black;
    padding: 4em;
    border-radius: 2em;
    box-shadow: 0.5em 0.5em 0.5em 1em #ff00ae;
    opacity: 80%;
}

@media only screen and (max-width: 480px) {
    section {
        flex-direction: column;
        align-items: center; 
    }

    ul {
        flex-direction: column;
        margin-left: 0; 
        gap: 1em;
    }

    li {
        width: 80%; 
    }

    .wp, .dzw, .ws, .pzw {
        width: 80%; 
    }

    body {
        text-align: center;
    }

    h1, h2, h3, p {
        text-align: center;
    }
}














