/*
colors: https://coolors.co/palette/f6bd60-f7ede2-f5cac3-84a59d-f28482
#f6bd60
#f7ede2
#f5cac3
#84a59d
#f28482
*/

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

html {
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    height: 100%;
    font-family: 'Tenor Sans', sans-serif;
    scroll-behavior: smooth;
}

body {
    position: relative;
    color: #000;
    min-height: 100%;
    overflow-x: hidden;
    font-size: 22px;
    line-height: 1.2;
    text-align: center;
}

.splash {
    padding: 20px;
}

.splash__img {
    position: relative;
    height: 0;
    padding-bottom: 100%;
    margin-bottom: 40px;
}

.splash__img img {
    position: absolute;
    height: 90%;
    width: 90%;
    top: 10%;
    left: 5%;
}

h1 {
    font-size: 25px;
    margin-bottom: 10px;
    font-family: 'Archivo', sans-serif;
}

a {
    color: #84a59d;
    transition: color .2s;
    text-decoration: none;
}

a:hover {
    color: #f6bd60;
}

.howitsmade__body {
    background: #f7ede2;
    padding: 10px;
}

.howitsmade__body h1 {
    margin-bottom: 60px;
    color: #000;
    font-family: 'Tenor Sans', sans-serif;
    text-transform: uppercase;
}

.logo {
    margin-bottom: 40px;
}

.logo__img {
    width: 80px;
}

.howitsmade__wrapper {
    padding: 15px;
    border: 2px solid #fff;
}

.howitsmade__process {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 50px;
}

.howitsmade__item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    /*background: #fff;*/
    padding: 40px 60px 40px;
    margin-bottom: 20px;
    filter: drop-shadow(-1px 4px 3px rgba(50, 50, 0, .3));
}

.howitsmade__item::before {
    position: absolute;
    z-index: -1;
    top: 0; right: 0; bottom: 0; left: 0;
    background: #fff;
    content: ''
}

.howitsmade__item--stop {
    padding: 40px 20px;
    color: #fff;
}

.howitsmade__item--stop::before {
    background: #84a59d;
}

.howitsmade__step {
    position: absolute;
    bottom: 0;
    right: 0;
    padding: 20px;
    font-family: 'Archivo', sans-serif;
    color: white;
    background: #84a59d;
}

.howitsmade__subtitle {
    font-family: 'Archivo', sans-serif;
    margin-bottom: 10px;
}

.howitsmade__img {
    margin-bottom: 30px;
}

.howitsmade__img--flips {
    max-width: 100%;
    clip-path: polygon(55% 0,99% 2%,100% 44%,99% 98%,48% 100%,1% 98%,0 56%,1% 2%);
}

.howitsmade__img--corn {
    padding: 0 15px;
}

.clip--1::before {
    clip-path: polygon(2% 2%,58% 0,98% 1%,100% 77%,98% 99%,45% 100%,2% 96%,0 25%);
}
.clip--2::before {
    clip-path: polygon(55% 0,99% 2%,100% 44%,99% 98%,48% 100%,1% 98%,0 56%,1% 2%);
}
.clip--3::before {
    clip-path: polygon(64% 0,99% 1%,100% 60%,99% 99%,38% 100%,1% 99%,0 39%,1% 1%);
}

.button-primary {
    position: absolute;
    bottom: 5%;
    right: 5%;
    padding: 25px;
    background: #f6bd60;
    color: #fff;
    clip-path: polygon(64% 0,99% 1%,100% 60%,99% 99%,38% 100%,1% 99%,0 39%,1% 1%);
    transition: all .2s ease;
}

.button-primary:hover,
.button-primary:focus,
.button-primary:active {
    background: #84a59d;
    color: #fff;
}

footer {
    border-top: 1px solid rgba(255,255,255,.8);
    padding: 30px 0;
}

@media screen and (min-width: 760px) {
    .splash__img {
        padding-bottom: 40%;
        margin-bottom: 50px;
    }

    h1 {
        font-size: 40px;
        /*color: #f6bd60;*/
    }

    .howitsmade__body {
        padding: 40px;
    }

    .howitsmade__body h1 {
        color: #000;
        font-size: 42px;
        margin-bottom: 100px;
    }

    .howitsmade__wrapper {
        padding: 60px;
    }

    .howitsmade__img--corn {
        padding: 0 30px;
    }

    .howitsmade__img--flips {
        margin-right: 15px;
    }

    .howitsmade__item {
        width: 400px;
        margin-bottom: 60px;
    }

    .howitsmade__item--stop {
        width: 80%;
    }

    .howitsmade__item--landscape {
        flex-direction: row;
        width: 640px;
    }

    .howitsmade__item--landscape .howitsmade__img {
        width: 300px;
        margin-bottom: 0;
    }

    .logo {
        margin-bottom: 60px;
    }

    .button-primary {
        padding: 50px;
    }

}
