@font-face {
	font-family: "Industry Inc Base";
	src: url("../fonts/IndustryInc-Base.woff2") format("woff2"),
		url("../fonts/IndustryInc-Base.woff") format("woff");
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Eurostile";
	src: url("../fonts/EurostileRegular.woff2") format("woff2"),
		url("../fonts/EurostileRegular.woff") format("woff");
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

:root {
	--padding: 3rem;
	--gold: rgb(248 179 3);
	--font-size: 24px;
	--min-width: 240px;

	@media screen and (max-width: 768px) {
		--padding: 2rem;
		--font-size: 18px;
	}
}

* {
	box-sizing: border-box;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

*::-webkit-scrollbar {
	width: 10px;
}
*::-webkit-scrollbar-track {
	background: transparent;
}
*::-webkit-scrollbar-thumb {
	background-color: #000;
	border-radius: 5px;
	border: 2px solid #fff;
}

body {
	font-size: var(--font-size);
	font-family: "Eurostile", sans-serif;
}

h1,
h2,
h3 {
	font-weight: normal;
	font-family: "Industry Inc Base", sans-serif;
	margin: 0;
	padding: 0;
	text-wrap: balance;
}

h1 {
	font-size: clamp(50px, 10vw, 110px);
	line-height: clamp(60px, 10vw, 110px);
	margin-bottom: var(--padding);
}
h2 {
	font-size: clamp(36px, 6vw, 90px);
	line-height: clamp(36px, 6vw, 90px);
}
h3 {
	font-size: clamp(34px, 4vw, 60px);
	line-height: clamp(34px, 4vw, 60px);
}

main {
    display: flex;
    min-height: 100dvh;
    width: 100%;
    @media screen and (max-width: 768px) {
        flex-direction: column;
    }
}

p{
    text-align: center;
    color: #000;
    &:last-child{
        margin-bottom: 0;
        padding-bottom: 0;
    }
}

a {
    flex: 1;
    padding: 3rem;
    display: flex;
    height: 100dvh;
    width: 100%;
    position: relative;
    overflow: auto;
    text-decoration: none;

    @media screen and (max-width: 768px) {
        padding: 2rem;
    }

    img{
        max-width: 100%;
    }

    &#juiced{
        display: flex;
        flex-direction: column;
        background-image: url("../images/bg.webp");
        background-size: cover;
        background-position: bottom right;
        justify-content: space-between;
        align-items: center;

        h2{
            font-family: "Industry Inc Base";
            color: #000;
            text-align: center;
        }
        .cans{
            display: flex;
            flex-direction: column;
            gap: 1rem;
            justify-content: center;
            align-items: center;
            position: relative;
            transition: transform 0.3s ease-in-out;

            .cta{
                display: flex;
                justify-content: center;
                align-items: center;
                padding: 1rem 2rem 0.8rem 2rem;
                background-color: #000;
                color: #fff;
                text-decoration: none;
                text-transform: uppercase;
            }

            img{

                &.yellow{
                    bottom: 30%;
                    right: 10%;
                    animation: sway 6s linear infinite;
                }

                &.green{
                    bottom: 10%;
                    right: 20%;
                    animation: sway 8s linear infinite;
                }
            }
        }

        &:hover{
            .cans{
                transform: scale(1.1);
            }
        }
    }
    &#shm{
        display: flex;
        flex-direction: column;
        background-image: url("../images/shm.webp");
        background-size: cover;
        background-position: bottom center;
        justify-content: space-between;
        align-items: center;

        h2{
            font-family: "Industry Inc Base";
            color: #FFF;
            text-align: center;
        }
        p{
            color: #FFF;
        }
        .cans{
            display: flex;
            flex-direction: column;
            gap: 1rem;
            justify-content: center;
            align-items: center;
            position: relative;
            transition: transform 0.3s ease-in-out;
            
            .cta{
                display: flex;
                justify-content: center;
                align-items: center;
                padding: 1rem 2rem 0.8rem 2rem;
                background-color: #000;
                color: #fff;
                text-decoration: none;
                text-transform: uppercase;
            }
            img{
                max-width: 80%;
                margin: 2rem;
            }
        }

        &:hover{
            .cans{
                transform: scale(1.1);
            }
        }
    }

    
}

/* Animations */
@keyframes sway {
	0% {
		transform-origin: bottom;
		transform: rotate(-1.5deg);
	}
	50% {
		transform-origin: bottom;
		transform: rotate(1.5deg);
	}
	100% {
		transform-origin: bottom;
		transform: rotate(-1.5deg);
	}
}
