header{
    color: rgb(25, 34, 88);
    text-align: center;
    font-size: large;

    animation: header-text 4s infinite;

}

body{
    background-color: rgb(116, 174, 169)
}

nav{
    background-color: rgb(255, 255, 255);
    color: rgb(0, 0, 0);
    width: auto;
    text-align: center;
    padding: 10px;
    position: sticky;
    margin-bottom: 20px;
    top: 0;
    z-index: 1;

}

section{
    display: inline-block;
    width: 30%;
    background-color: rgb(255, 255, 255);
    padding: 5px;
    border-radius: 20px;
    filter: brightness(.5);
    transition: transform 0.1s ease, box-shadow 0.3s ease, filter 0.4s ease;;


}

section:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    filter: brightness(1);

}

p {
    background-color: black;
    transition: background-color .2s ease;
}

p:hover {
    background-color: rgb(255, 255, 255);
}


.special {
    text-align: center;
    margin: 50px;
    animation: big 2s infinite;
}

footer{
    font-size: 12px;
    margin: 20px;
}

img {
    height: 200px;

}

img:hover {
    filter: brightness(1);


    animation: image-move 4s infinite;
}

@keyframes header-text {
    0% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(40px);
    }
    50% {
        transform: translateX(0);
    }
    75% {
        transform: translateX(-40px);
    }
    100% {
        transform: translateX(0);
    }

}

@keyframes image-move {
    0% {
        transform: rotate3d(0, 1, 0, 0deg);
    }
    50% {
        transform: rotate3d(0, 1, 0, 360deg);
    }
    100% {
        transform: rotate3d(0, 1, 0, 0deg);
    }
}

@keyframes big {
    0%   { transform: scale(1.2); }
    50%  { transform: scale(1.8); }
    100% { transform: scale(1.2); }
}