*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: auto;
}

body {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    font-family: Verdana, sans-serif;
    font-size: 17px;
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: Georgia, serif;
    margin-bottom: 0.5em;

}

h1 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 1.6rem;
    margin-top: 2.5rem;
}

h3 {
    font-size: 1.2rem;
    margin-top: 1.8rem;
}

p {
    display: block;
    max-width: 800px;
    margin: 40px auto;
    font-size: 15px;
    line-height: 1.6;
}

header {
    text-align: center;
    letter-spacing: .1rem;

}

main {
    display: block;
    text-align: center;
}

a {
    display: inline-block;
    color: blue;
    transition: color 0.2s ease, transform 0.2s ease;
}

a:hover {
    /* hover color */
    color: #d23f2f;
    text-decoration: none;
    transform: scale(1.04);
}

.flex-footer {
    display: flex;
    max-width: 600px;
    justify-content: space-evenly;
    align-items: center;
    margin: auto;
    padding-bottom: 30px;
}

section {
    margin: 30px 0 150px 0;
}


ul {
    padding-left: 0;
    margin: 0 0 60px 0;
}

li {
    list-style: none;
    margin-bottom: 0.5rem;
}

img {
    max-width: 93%;
    height: auto;
    display: block;
    margin: 50px 0 50px 0;
}

.center-img {
    display: block;
    max-width: 93%;
    height: auto;
    margin: 30px auto 40px auto;
}


.center-txt {
    display: block;
    text-align: center;
}

.center-iframe {
    display: block;
    margin: 0 auto;
}


/* youTube Video */

.video {
    width: 100%;
    max-width: 800px;
    aspect-ratio: 16 / 9;
    margin: 0 auto;
}

.video iframe {
    width: 100%;
    height: 100%;
    border: 0;
}