*{
    box-sizing: border-box;
    padding: 0;
    margin:0 ;
    font-family: 'Poppins', sans-serif;
    text-shadow: white 1px 1px 10px;
}

main{
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url(pozadina.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    flex-direction: column;
    animation: coloranimation ease 2s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}
@keyframes coloranimation {
    0% {
        filter: brightness(0);
    }
    100% {
        filter: brightness(1);
    }
}


section{
    background-color: rgba(255, 255, 255, 0.193);
    border: 3px white solid;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    padding: 1em 5em;
    backdrop-filter: blur(8px);
    animation: fadeInAnimation ease 2.5s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}

@keyframes fadeInAnimation {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

ul{
    list-style: none;
}

ul li a{
    color: black;
    text-decoration: none;
    font-size: 2em;
    display: inline-block;
    position: relative;
}

a::after{
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #ffffff;
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;    
}

a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
  }

h1{
    font-size: 4em;
}

section p{
    color: rgb(44, 46, 53);
    font-size: 1.5em;
}
p:first-child{
    font-size: 2.5em;
}
#slogan{
    font-size: 1.9em;
}

footer p{
    font-size: 1.2em !important;
}

@media only screen and (max-width: 800px) {
   main{
    padding: 2em 0;
   }
   
    section{
    width: 95%;
    padding: 3em;
   }

   h1{
    font-size: 2em;
   }

   ul li a{
    font-size: 1.5em;
   }
  
   p:first-child, #slogan{
    font-size: 1.5em;
   }
  }