:root {
    --colorPrimary: #000;
    --colorSecondary: #fff;
    --colorTertiary: #fdd324;
}
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Inter';
    color: var(--colorSecondary);
    scroll-behavior: smooth;
}
html {
    font-size: 62.5%;
}
body{
    background-color: var(--colorPrimary);
    width: 100%;
    display: flex;
    flex-direction: column;
}
main {
    min-height: 100vh;
}

/*Section 1*/
section.first {
    height: 90vh;
    padding: 7vmax max(1.5vh, 5vw);
    display: grid;
    grid-template-columns: 5fr 6fr;
    align-items: center;
}
section.first .left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: max(4vh, 3vw);
    align-items: start;
}
section.first h1 {
    max-width: min(90%, 85vw);
    font-size: max(6vh, 4.8vw);
    color: var(--colorSecondary);
    font-weight: 700;
    line-height: 1.7ch;
}
section.first p {
    max-width: min(90%, 85vw);
    line-height: 1.7ch;
    font-size: max(1.7vh, 1.4vw);
    font-weight: 400;
    color: rgba(150, 150, 150);
}
section.first a {
    width: fit-content;
    font-size: max(2.1vh, 1.6vw);
    font-weight: 700;
    background-color: var(--colorTertiary);
    color: var(--colorPrimary);
    text-decoration: none;
    padding: max(1.5vh, 1vw) max(2vh, 1.5vw);
    border-radius: 4px;
    transition: all 0.3s;
}
section.first a:hover {
    opacity: 0.8;
}

section.first .right {
    width: 100%;
    height: 100%;
    background-image: url('../res/fireworks-black-3.jpg');
    background-size: contain;
    background-position: center right;
    background-repeat: no-repeat;
}

/*Section 2*/
section.second {
    width: 100%;
    height: 100vh;
    padding: 7vmax max(1.5vh, 5vw);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
section.second .container {
    width: min(1000px, 90%);
    height: min(500px, 80vh);
    padding: max(5vh, 4vw) 7vmax;
    background-color: rgb(9, 9, 9);
    border-radius: 30px;
    display: grid;
    grid-template-columns: 4fr 5fr;
    gap: 1vmax;
}
section.second .container .left {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
section.second .container .left h2 {
    font-size: max(4vh, 3vw);
    margin-bottom: 1.5vmax;
}
section.second .container .left p {
    font-size: max(1.6vh, 1.3vw);
    font-weight: 100;
    margin-bottom: 2.5vmax;
}
section.second .container .left a {
    width: fit-content;
    font-size: max(1.6vh, 1.3vw);
    font-weight: 700;
    background-color: var(--colorTertiary);
    color: var(--colorPrimary);
    text-decoration: none;
    padding: max(1.5vh, 1vw) max(2vh, 1.5vw);
    border-radius: 4px;
    transition: all 0.3s;
}
section.second .container .left a:hover {
    opacity: 0.8;
    transform: translateX(1vw);
}

section.second .container .right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: end;
}
section.second .container .right .image {
    aspect-ratio: 2016/1512;
    width: 80%;
    height: auto;
    border-radius: 20px;
    background-image: url('../res/store-in.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

@media only screen and (max-width:650px) {
    section.first {
        grid-template-columns: 1fr;
    }
    section.first .left {
        justify-content: center;
        align-items: center;
    }
    section.first .left > *{
        text-align: center;
    }
    section.first .right {
        display: none;
    }

    section.second .container {
        height: fit-content;
        padding-top: 10vmax;
        padding-bottom: 10vmax;
        grid-template-columns: 1fr;
    }
    section.second .container .right {
        display: none;
    }
}