* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #747474;
    color: #fff;
    font-family: Arial;
}

nav {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 2.7vw;
    font-size: 1.2vw;
    background-color: #2e2e2e;
}

.mainContainer {
    width: 80%;
    margin: 0 auto;
    text-align: center;
    margin-top: 20px;
    background-color: #2e2e2e;
    padding: 20px;
    border-radius: 20px;
}

.mainContainer .theme {
    background: #818181;
    margin-bottom: 45px;
    border-radius: 30px;
}

.mainContainer .theme:last-child {
    margin-bottom: 0px;
}

.mainContainer .theme h2 {
    color: #c8ff00;
    font-size: 1.5vw;
    font-weight: 700;
    margin-bottom: 20px;
}

.mainContainer .theme p {
    font-weight: 600;
    font-size: 1vw;
    color: #ffffff;
}


footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 250px;
    background: #2e2e2e;
    position: relative;
    height: 2.2vw;
}

footer .cart {
    position: absolute;
    right: 0;
    bottom: 0;
}

footer .link a {
    text-decoration: none;
    color: #fff;
    font-size: 1.2vw;
    margin-left: 20px;
    transition: color 0.2s ease;
}

footer .link a:hover {
    color: #ffee00;
}

footer .center p {
    font-size: 1vw;
}

footer .cart iframe {
    width: 20vw;
    height: 15vw;
}


@media (max-width: 1150px) {
    .mainContainer .theme h2 {
        font-size: 2.5vw;
    }

    .mainContainer .theme p {
        font-size: 1.5vw;
    }

    footer .link a {
        font-size: 1.5vw;
    }

    footer .center p {
        font-size: 1.4vw;
    }

    footer .cart iframe {
        width: 25vw;
        height: 20vw;
    }
}

@media (max-width: 1150px) {
    nav {
        height: 5vw;
    }
    
    nav h1 {
        font-size: 3vw;
    }

    .mainContainer .theme h2 {
        font-size: 3.5vw;
    }

    .mainContainer .theme p {
        font-size: 2vw;
    }

    footer {
        height: 4vw;
    }

    footer .link a {
        font-size: 2vw;
    }

    footer .center p {
        font-size: 1.8vw;
    }

    footer .div {
        width: 20vh;
    }

    footer .cart iframe {
        width: 25vw;
        height: 20vw;
    }
}

@media (max-width: 600px) {
    nav {
        height: 8vw;
    }

    nav h1 {
        font-size: 5vw;
    }

    .mainContainer .theme h2 {
        font-size: 5.5vw;
    }

    .mainContainer .theme p {
        font-size: 2.5vw;
    }

    .footer {
        height: 8vw;
    }

    footer .link a {
        font-size: 3.5vw;
        margin-left: 10px;
    }

    footer .center p {
        font-size: 2.5vw;
    }

    footer .div {
        width: 15vw;
    }
}


@media (max-width: 400px) {
    .mainContainer .theme p {
        font-size: 3vw;
    }

    footer {
        height: 6vw;
    }

    footer .link a {
        font-size: 4.5vw;
    }

    footer .div {
        width: 25vw;
    }

    footer .center p {
        font-size: 3vw;
    }

    footer .cart iframe {
        width: 60vw;
        height: 50vw;
    }

    footer .cart {
        bottom: 5vw;
    }
}