body {
    background-color: #000;
}
header {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    padding: 20px 0;
    .logo {
        display: grid;
        justify-content: space-evenly;
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 20px;
        h1{
            display: flex;
            flex-direction: column;
            flex-wrap: wrap;
            justify-content: center;
            align-items: center;
        }
        h2{
            display: flex;
            flex-direction: column;
            flex-wrap: wrap;
            justify-content: center;
            align-items: center;
        }
        figure {
            width:fit-content;
            display: flex;
            flex-direction: column;
            flex-wrap: wrap;
            justify-content: center;
            align-items: center;
            .tgs-logo {
                width: 50%;
            }
            .cw-logo {
                width: 70%;
            }
        }
    }
}
img {
    max-width: 100%;
}
.wrapper {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto 40px auto;
}
footer {
    max-width: 1000px;
    width: 100%;
    color: #fff;
    background-color: #000;
    margin: 0 auto;
    padding: 20px;
    .inner {
        border: 3px solid #fff;
        padding: 20px;
    }
    .caution {
        margin-bottom: 20px;
    }
    h3 {
        font-size: 2.6rem;
        text-align: center;
        margin-bottom: 20px;
    }
    .payment {
        display: grid;
        justify-content: space-evenly;
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 20px;
        ul {
            display: grid;
            justify-content: space-evenly;
            grid-template-columns: repeat(6, 1fr);
            grid-gap: 5px;
        }
        li {
            img {
                width: 100%;
            }
        }
    }
    h4 {
        font-size: 2rem;
        background-color: #5766ca;
        text-align: center;
        margin-bottom: 20px;
    }
}
.myfav {
    width: 100px;
    display: block;
    margin: 20px auto;
}
/*************************************************************************/
@media screen and (max-width: 600px) {
    header{
        padding: 20px 10px;
    }
    footer {
        .inner {
            padding: 10px;
        }
        .payment {
            display: block;
            ul {
                display: grid;
                justify-content: space-evenly;
                grid-template-columns: repeat(5, 1fr);
                grid-gap: 5px;
            }
        }
        .credit-card {
            margin-bottom: 40px;
        }
    }
}
