/*
* FONTS
*/

@font-face {
    font-family: 'Degular';
    src: url('/assets/fonts/Degular/DegularDisplay-Regular.woff2') format('woff2'),
        url('/assets/fonts/Degular/DegularDisplay-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Degular-ItBold';
    src: url('/assets/fonts/Degular/DegularDisplay-BoldItalic.woff2') format('woff2'),
        url('/assets/fonts/Degular/DegularDisplay-BoldItalic.woff') format('woff');
    font-weight: 700;
    font-style: italic;
}

@font-face {
    font-family: 'Degular-Bold';
    src: url('/assets/fonts/Degular/DegularDisplay-Bold.woff2') format('woff2'),
        url('/assets/fonts/Degular/DegularDisplay-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
}

/*
* DEFAULT
*/

body {
    background-color: #ffd522;
    padding: 50px;
    height: 100vh;
    overflow: hidden;
    font-family: 'Degular';
    color: #0F2D1A;
}

body::after {
    content: '';
    background-image: url(/assets/img/vector.png);
    position: absolute;
    width: 1132.47px;
    height: 1216.03px;
    left: calc(50% - 1132.47px / 2 + 0.23px);
    /* top: calc(50% - 1216.03px / 2 + 0.01px); */
    /* background: #F1C91F; */
    background-repeat: no-repeat;
    top: 0;
    background-size: 100% 100vh;
    z-index: -1;
}

h1 {
    font-family: "Degular-Bold";
    font-weight: 700;
    font-size: 78px;
    line-height: 110.00000000000001%;
    letter-spacing: 2px;
    text-align: center;
    text-transform: uppercase;
    /*text-shadow: 5px 5px #0f2d1a;*/
    /*-webkit-text-stroke: 2px #0f2d1a;
    text-shadow: 5px 5px 0 #0f2d1a;*/
    text-shadow: 2px 2px 0px #0f2d1a,
        -2px -2px 0px #0f2d1a,
        2px -2px 0px #0f2d1a,
        -2px 2px 0px #0f2d1a,
        10px 8px 0 #0f2d1a;
    /* decale */
    color: white;
    margin: 0;
}

.page_404 h1 {
    font-size: 150px;
}

a {
    color: #0F2D1A;
    text-decoration: none;
}

/*
* LAYOUT
*/

.container {
    max-width: 800px;
    margin: 50px auto;
    position: relative;
    z-index: 1;
}

.frame {
    border: 3px solid #0F2D1A;
    box-shadow: 15px 15px 0px 0px #0F2D1A;
    padding: 10px 20px;
    display: table;
    text-shadow: none;
    color: #0F2D1A;
    font-style: italic;
    font-weight: 900;
    margin: 0 auto 20px auto;
}

.frame.green {
    background-color: #85BB25;
}

.frame_link {
    text-align: center;
}

.frame_link a {
    font-family: "Degular-Bold";
    border: 2px solid #0F2D1A;
    padding: 20px 40px;
    background-color: white;
    text-decoration: none;
    text-transform: uppercase;
    color: #0f2e1a;
    font-size: 24px;
    letter-spacing: 2px;
    font-weight: 700;
    display: inline-block;
    position: relative;
    margin: auto;
}

.frame_link.green_pink a {
    box-shadow: 10px 12px 0px 0px #85BB25, 22px 25px 0px 0px #FF1BCD;
}

p.subtitle {
    font-weight: 400;
    font-size: 32px;
    line-height: 100%;
    text-align: center;
    margin: 20px 0;
    line-height: 35px;
    letter-spacing: 1px;
}

.cta a {
    font-weight: 700;
    font-size: 12px;
    line-height: 100%;
    text-transform: uppercase;
    text-decoration: none;
}

/*
* HEADER
*/
header .logo {
    max-width: 180px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: white;
    padding: 35px;
    border-radius: 15px;
}

header .logo img {
    width: auto;
    height: 35px;
}

.illustration {
    position: absolute;
}

.left_home {
    left: 0;
    bottom: 0
}

.right_home {
    right: 0;
    bottom: 0;
}

.cloud_home {
    left: 25%;
    top: 25%;
}

.pink_flower_left_404 {
    left: 0;
    bottom: 0;
}

.mushroom_404 {
    left: 18%;
    bottom: 0
}

.cloud_404 {
    left: 25%;
    top: 25%;
}

.leaf_left_404 {
    right: 3%;
    bottom: 0
}

.long_green_flower_404 {
    right: 4%;
    bottom: 0
}

.page_error {
    margin: 100px 0;
}

.page_error p {
    font-weight: 400;
    font-size: 30px;
    text-align: center;
    margin-bottom: 50px
}

@media screen and (max-width: 1600px) {}

@media screen and (max-width: 1440px) and (max-height: 850px) {
    body {
        padding: 40px;
    }

    h1 {
        font-size: 60px;
        line-height: 62px;
    }

    p.subtitle {
        font-size: 26px;
        line-height: 28px;
    }

    .frame_link a {
        font-size: 18px;
    }

    .container {
        margin: 35px auto;
    }
}

@media screen and (max-width: 1400px) {}

@media screen and (max-width: 1300px) {}

@media screen and (max-width: 1200px) {
    body::after {
        width: 100%;
        height: 100%;
        left: 0;
    }

    .right_home {
        right: -80px;
        bottom: 0;
        height: 80vh;
    }

    .left_home {
        left: -80px;
        bottom: 0;
        height: 70vh;
    }

    h1 {
        font-size: 60px;
    }

    p.subtitle {
        font-size: 26px;
        line-height: 30px;
    }

    .cloud_home {
        left: 18%;
        top: 20%;
        width: 100px;
    }
}

@media screen and (max-width: 1100px) {}

@media screen and (max-width: 1024px) {
    .right_home {
        right: 0;
        height: 59vh;
    }

    .left_home {
        height: 61vh;
    }
}

@media screen and (max-width: 912px) {
    .right_home {
        right: 0;
        height: 50vh;
    }

    .left_home {
        height: 52vh;
    }
}

@media screen and (max-width: 767px) {
    h1 {
        font-size: 45px;
    }

    p.subtitle {
        font-size: 20px;
        line-height: 26px;
    }
}


@media screen and (max-width: 635px) {
    h1 {
        font-size: 40px;
    }
}

@media screen and (max-width: 565px) {}


@media screen and (max-width: 500px) {
    h1 {
        font-size: 35px;
        text-shadow: 2px 2px 0px #0f2d1a,
            -2px -2px 0px #0f2d1a,
            2px -2px 0px #0f2d1a,
            -2px 2px 0px #0f2d1a,
            6px 5px 0 #0f2d1a;
    }

    .frame_link a {
        padding: 15px 35px;
        font-size: 13px;
    }

    .frame {
        box-shadow: 15px 15px 0px 0px #0F2D1A;
        padding: 5px 15px;
        margin: 0 auto 15px auto;
    }

    p.subtitle {
        font-size: 18px;
        line-height: 20px;
    }

    .left_home {
        left: -100px;
        height: 50vh;
    }

    .right_home {
        right: 0;
        height: 30vh;
    }

    .cloud_home {
        left: 8%;
        width: 60px;
    }

    header .logo {
        padding: 25px;
    }

    body {
        padding: 25px;
    }

    body::after {
        width: 100%;
        height: 100%;
        left: 0;
        background-size: 100% 100vh;
        z-index: -1;
    }

    .container {
        margin: 35px auto;
    }

    .page_404 h1 {
        font-size: 60px;
    }

    .pink_flower_left_404 {
        height: 30vh;
    }

    .leaf_left_404 {
        height: 20vh;
    }

    .long_green_flower_404 {
        right: 1%;
        height: 60vh;
    }

    .cloud_404 {
        left: 15%;
        top: 25%;
        width: 70px;
    }

    .page_error p {
        font-weight: 400;
        font-size: 18px;
        margin-bottom: 30px;
    }

    .mushroom_404 {
        width: 100px;
    }
}

@media screen and (max-width: 1024px) and (max-height: 600px) {

    h1.big,
    h1 {
        font-size: 35px;
    }

    p.subtitle {
        font-size: 20px;
        line-height: 24px;
    }

    body {
        padding: 30px 50px 0 50px;
    }
}

@media screen and (width: 540px) and (min-height: 720px) {
    .page_404 h1 {
        font-size: 100px;
    }

    .pink_flower_left_404 {
        height: 40vh;
    }

    .leaf_left_404 {
        height: 23vh;
    }
}

@media screen and (width: 1280px) and (height: 800px) {

    h1.big,
    h1 {
        font-size: 60px;
    }
}


@media screen and (max-width: 500px) and (min-height: 800px) {
    .container {
        margin: 100px auto;
    }
}

@media screen and (min-height: 1200px) {
    .left_home {
        height: 60vh;
    }

    .right_home {
        height: 55vh;
    }
}