@import url('https://fonts.googleapis.com/css2?family=ABeeZee&family=Pacifico&family=Playfair+Display&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta2/css/all.min.css');
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

svg {
    display: inline;
    font-family: 'Pacifico', cursive;
    font-size: 30px;
}

body {
    background:
        radial-gradient(circle at 100% 50%, transparent 20%, rgba(255, 255, 255, .3) 21%, rgba(255, 255, 255, .3) 34%, transparent 35%, transparent),
        radial-gradient(circle at 0% 50%, transparent 20%, rgba(255, 255, 255, .3) 21%, rgba(255, 255, 255, .3) 34%, transparent 35%, transparent) 0 -50px;
    background-color: #CAC2B5;
    background-size: 75px 100px;
    font-family: "ABeeZee", sans-serif;
    font-size: 18px;
}

#top {
    background-color: #FFEFDB;
    color: #655951;
    margin: 60px 0;
    border: 10px solid #BAB3A8;
    border-radius: 50px;
    padding: 10px;
}

header {
    text-align: center;
    padding: 10px;
    background-color: #E8DFD1;
    border-radius: 41px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

h1 {
    display: none;
}

h2 {
    margin: 20px 5px 5px;
}

p {
    margin: 10px;
}

h1,
h2 {
    font-family: 'Playfair Display', serif;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: auto;

}

figure {
    background-color: #E8DFD1;
    padding: 10px;
    border-radius: 7px;
}

ul,
li {
    list-style-type: none;
    margin: 10px;
}

li a {
    padding: 7px;
    display: block;
}

.parent {
    display: flex;
    padding: 1rem;
    margin: 1rem;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: stretch;
    border: 4px dashed #BAB3A8;
    border-radius: 5px;
}

.child {
    color: #655951;
    font-weight: bold;
    text-decoration: none;
    font-size: 20px;
    padding: 13px;
    border-radius: 10rem;
    text-align: center;
    border: 4px solid #655951;
}

.child:hover {
    color: #FFEFDB;
    background-color: #655951;
}

div h2 {
    margin: 10px;
}

article,
nav {
    margin: 20px 10px;
}

#boven {
    display: block;
    width: 140px;
    margin: auto;
    padding: 10px;
    color: #655951;
    text-decoration: none;
}

#boven:hover {
    margin: auto;
    color: #FFEFDB;
    background-color: #655951;
    padding: 10px;
    border-radius: 10px;
}

footer a {
    display: block;
    color: #655951;
    text-decoration: none;
    padding: 7px;
}

footer {
    text-align: center;
    padding: 10px;
    background-color: #E8DFD1;
    border-radius: 41px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

footer a:hover {
    color: #FFEFDB;
    background-color: #655951;
    padding: 7px;
    width: 15rem;
    margin: auto;
}

#quote {
    font-family: 'Dancing Script', cursive;
    font-size: 45px;
    text-align: center;
    margin: 50px;
    animation: grow 5s;
    animation-duration: 5s;
    color: #655951;
}

@keyframes grow {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@media screen and (min-width: 900px) {
    h1 {
        display: inline;
    }

    .parent {
        flex-direction: row;
        text-align: center;
        flex-wrap: nowrap;
        justify-content: space-evenly;
    }

    .child {
        width: 13rem;
    }

    #quote {
        animation: roll 2s;
        animation-duration: 2s;
    }

    @keyframes roll {
        from {
            transform: translateX(-1000px) rotate(180deg)
        }

        to {
            transform: translateX(0px) rotate(360deg);
        }
    }

    img {
        object-fit: none;
        object-position: top left;
    }

    img:hover {
        animation: grow 4s;
        transition: border-radius 2s;
        border-radius: 50px;

    }

    @keyframes grow {
        from {
            opacity: 0;
        }

        to {
            opacity: 1;

        }
    }


    li:hover {
        animation: transform 1s;
    }

    @keyframes transform {
        from {
            transform: translateX(10px)
        }


        to {
            transform: translateX(0px);
        }
    }
}

@media screen and (min-width: 1300px) {
    .child {
        width: 21.5rem;
    }
}
