@import url('https://fonts.googleapis.com/css2?family=Caveat+Brush&family=Comic+Relief:wght@400;700&family=Henny+Penny&family=VT323&display=swap');

@keyframes pop {
    from {
        transform: scale(0.95);
    }

    50% {
        transform: scale(1);
    }

    to {
        transform: scale(0.95);
    }
}

.img-popinoutanim {
    animation: pop 1s ease-in-out infinite alternate;
}

body {
    background-image: url("images/background-img.jpg");
    background-repeat: repeat;
    background-size: 700px;
}

.main-container {
    width: 95%;
    max-width: 1000px;
    margin: 50px auto;
    display: grid;
    gap: 10px;
    grid-template-columns: 200px auto;
    grid-template-rows: auto;
    font-size: large;
}

header, nav, main {
    border: 2px solid rgb(225, 225, 225);
    border-radius: 5px;
    padding: 10px;
    background-color: rgb(247, 247, 247);
}

.header-img {
    width: 1000px;
    height: 250px;
    grid-row: 1/2;
    grid-column: 1/3;
    display: block;
    border: 2px solid rgb(225, 225, 225);
    border-radius: 5px;
}

header {
    grid-row: 2/3;
    grid-column: 1/3;
    font-size: 50px;
    text-align: center;
    font-family: "Henny Penny", sans-serif;
}

nav {
    grid-row: 3/4;
    grid-column: 1/2;
    max-height: max-content;
    font-family: "Comic Relief", system-ui;
    font-size: 15px;
    margin: 0;
}

nav ul {
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
}

a {
    text-decoration: none;
    color: black;
}

main {
    grid-row: 3/4;
    grid-column: 2/3;
    max-height: max-content;
    font-family: "Comic Relief", system-ui;
    text-align: justify;
    font-size: 17px;
}

footer {
    grid-row: 4/5;
    grid-column: 1/3;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
}

.tamaNOTchi {
    align-items: center;
    margin: 50px;
    font-size: 20px;
    font-family: "VT323", monospace;
}

.navtitle {
    text-align: center; 
    margin: 0; 
    font-size: 20px; 
    text-decoration: underline;
}

.btn {
    font-family: "Comic Relief", system-ui;
    background-color: rgb(245, 245, 245);;
    border: 2px solid black;
    border-radius: 5px;
}

p {
    margin: 0;
}

details {
    padding: 10px;
}