:root {
    --primary-color: #3a4052;
    --secondary-color: rgba(58, 64, 82, 0.7);
    --overlay-color: rgba(24, 39, 51, 0.85);
    --menu-speed: 0.75s;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body {
    font-family: 'Poiret One', cursive;
    line-height: 1.5;
}

a {
    text-decoration: none;
    color: var(--primary-color)
}

h1 {
    font-weight: 400;
    font-size: 90px;
    line-height: 1.2;
    margin-bottom: 15px;
}

.showcase {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden; /* to not see the scroll bar */
    background: var(--primary-color);
}

.video-container:after {
    content:'';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
}

.video-container video {
    min-width: 100%;
    min-height: 100%;
    object-fit: cover; /* these 3 settings for the video make sure that it fits the container */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* keeps the video right in the middle even on smaller screens */
}

.content {
    z-index: 10;
    color: white;
}

.btn {
    display: inline-block; /* to make it works with links, ... */
    padding: 10px 30px;
    margin-right: 1rem;
    background: var(--primary-color);
    color: #fff;
    font-size: 1.3rem;
    border: 1px #fff solid;
    border-radius: 5px;
    margin-top: 25px;
    opacity: 0.7;
}
.btn:hover {
    transform: scale(.98);
    background: transparent;
}

#about {
    padding: 40px;
    text-align: center;
}
#about p {
    font-size: 1.5rem;
    max-width: 600px;
    margin: auto;
}
#about h2 {
    margin: 30px 0;
    color: var(--primary-color);
}

.social {
    margin: 0 5px;
}


/* video.html */
.video-land {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
}

.video-land img {
    height: 70vh;
    max-width: 100%;
}

.video-land .video-title {
    margin: 1.5rem 1.5rem;
}

.videos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;
}

.videos iframe {
    margin: 1.5rem 1rem;
}


/* contact.html */
.contact-land {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
}

.contact-land img {
    height: 70vh;
    max-width: 100%;
}

.contact-land .contact-title {
    margin: 1.5rem 0;
}

.container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 10px;
}

.container > div {
    height: 40vh;
    background-size: cover;
    background-attachment: fixed;
    font-size: 2.5rem;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;

    transition: all 0.3s ease-in;
}

.container > div:hover {
    opacity: 0.7;
    transform: scale(0.98);
}

.container > div:nth-of-type(1) {
    /* To select the first div since they all don't have a specific class */
    grid-column: 1 / 3;
}


.container > div:nth-of-type(6) {
    grid-column: 1 / 3;
}

.container .bg1 {
    color: whitesmoke;
}

.bg2 {
    background: whitesmoke;
}

.bg1 {
    background: url('../img/springFestivalChineseHotPot.jpg');
}

/* Media Queries */
@media (max-width: 1162px) {
    .video-land .video-title h1 {
        font-size: 3rem;
    }

    .contact-land .contact-title h1 {
        font-size: 3rem;
    }
}
@media (max-width: 656px) {
    .video-land .video-title h1 {
        font-size: 2.5rem;
    }
    .video-land img {
        height: 40vh;
    }

    .contact-land .contact-title h1 {
        font-size: 2.5rem;
    }
    .contact-land img {
        height: 25vh;
    }

    .container p {
        font-size: 2rem;
    }
}