/* Height and Width */
@media screen and (min-width: 1600px) and (min-height: 975px),
screen and (min-height: 975px)
{
    html, body {
        font-size: 28px;
    }

    h1 {
        font-size: 24px;
    }

    #to_garden_text,
    #back_to_top_text,
    .down_arrow_with_text{
        font-size: 24px;
    }

    .button_block,
    a.button_block{
        padding: 15px 22px 15px 22px;
        font-size: 18px;
        line-height: 24px;
        margin-top: 6px;
    }

    .limit_width_thin{
        max-width: 800px;
    }

    .thumbnail_button{
        max-width: 300px;
    }
}

@media screen and (min-width: 1600px) and (min-height: 975px){
    .limit_width_medium{
        max-width: 960px;
    }

    .limit_width_wide{
        max-width: 1300px;
    }

    .thumbnail_small_title{
        font-size: 22px;
    }
}

@media screen and (min-width: 1950px) and (min-height: 1100px),
(min-height: 1100px){
    html, body {
        font-size: 32px;
    }

    h1 {
        font-size: 28px;
    }

    .button_block,
    a.button_block{
        padding: 16px 24px 16px 24px;
        font-size: 20px;
        line-height: 26px;
        margin-top: 11px;
    }

    #to_garden_text,
    #back_to_top_text,
    .down_arrow_with_text{
        font-size: 26px;
    }

    #to_garden_arrow.arrow_switch{
        height: 110px;
    }

    #back_to_top_arrow.arrow_switch{
        height: 110px;
    }

    .thumbnail_button{
        max-width: 350px;
    }

    .thumbnail{
        width: 45%;
        padding-bottom: 45%;
    }
}

@media screen and (min-width: 1950px) and (min-height: 1100px) {
    .limit_width_thin{
        max-width: 900px;
    }

    .limit_width_medium{
        max-width: 1100px;
    }

    .limit_width_wide{
        max-width: 1500px;
    }
}

/* Height */
@media screen and (max-height: 800px){
    #menu_footer{
        bottom: 60px;
    }

    #menu{
        margin-top: 100px;
    }
}

@media screen and (max-height: 750px){
    #menu_footer{
        bottom: 40px;
    }

    #menu{
        margin-top: 90px;
    }

    #copyright{
        margin-top: 20px;
    }
}

@media screen and (max-height: 700px){
    .fixed_down_arrow{
        bottom: 40px;
    }
}

@media screen and (max-height: 650px){

    #moon_container{
        -webkit-transform: translate3d(-50%, -12%, 0) scale(0.931);
        -ms-transform: translate3d(-50%, -12%, 0) scale(0.931);
        transform: translate3d(-50%, -12%, 0) scale(0.931);
    }

    #click_moon{
        -webkit-transform: translate3d(-50%, 11%, 0);
        -ms-transform: translate3d(-50%, 11%, 0);
        transform: translate3d(-50%, 11%, 0);
    }

    .home_panel_content{
        padding-top: 31vw;
    }

    #content_cover{
        padding-bottom: 31%;
    }

    .small_moon .panel_content{
        padding-top: 18vw;
    }

    html, body {
        font-size: 22px;
    }

    h1 {
        font-size: 19px;
    }

    .down_arrow_with_text{
        font-size: 19px;
        padding-bottom: 40px;
        background-size: 60px;
    }

    .arrow{
        background: url("../images/down_arrow.svg") bottom center no-repeat;
    }

    #to_garden_text,
    #back_to_top_text{
        font-size: 19px;
    }

    #back_to_top_text{
        padding-top: 42px;
    }

    #to_garden_arrow.arrow_switch{
        height: 70px;
    }

    #back_to_top_arrow.arrow_switch{
        bottom: 20px;
    }

    .flex_spacer{
        max-height: 5px;
    }

    .thumbnails_container{
        padding-top: 12px;
    }

    .range_image{
        width: 45%;
        padding-bottom: 45%;
    }

    #menu{
        margin-top: 80px;
    }

    #menu_footer{
        bottom: 30px;
    }

    #copyright{
        margin-top: 15px;
    }

    a.menu_button{
        margin-bottom: 30px;
    }

    #social_media_container{
        margin-top: 0px;
    }
}

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

    #menu{
        margin-top: 70px;
    }

    #menu_footer{
        bottom: 20px;
    }

    #copyright{
        margin-top: 10px;
    }

    a.social_media_icon{
        margin-left: 8px;
        margin-right: 8px;
        height: 40px;
        width: 40px;
    }

    a.more_pages{
        font-size: 16px;
    }

    #copyright{
        font-size: 16px;
    }
}

@media screen and (max-height: 575px){

    #moon_container{
        -webkit-transform: translate3d(-50%, -12%, 0) scale(0.8275);
        -ms-transform: translate3d(-50%, -12%, 0) scale(0.8275);
        transform: translate3d(-50%, -12%, 0) scale(0.8275);
    }

    .home_panel_content{
        padding-top: 28vw;
    }

    #click_moon{
        width: 22%;
        padding-bottom: 22%;
        -webkit-transform: translate3d(-50%, 8%, 0);
        -ms-transform: translate3d(-50%, 8%, 0);
        transform: translate3d(-50%, 8%, 0);
    }

    .small_moon #click_moon{
        -webkit-transform: translate3d(-50%, 11%, 0);
        -ms-transform: translate3d(-50%, 11%, 0);
        transform: translate3d(-50%, 11%, 0);
    }

    #content_cover{
        padding-bottom: 28%;
    }
}

@media screen and (max-height: 550px){

    #copyright{
        display: none;
    }

    a.menu_button{
        font-size: 28px;
        margin-bottom: 25px;
    }
}

@media screen and (max-height: 500px){

    #moon_container{
        -webkit-transform: translate3d(-50%, -12%, 0) scale(0.655);
        -ms-transform: translate3d(-50%, -12%, 0) scale(0.655);
        transform: translate3d(-50%, -12%, 0) scale(0.655);
    }

    #click_moon{
        width: 17%;
        padding-bottom: 17%;
        -webkit-transform: translate3d(-50%, 10%, 0);
        -ms-transform: translate3d(-50%, 10%, 0);
        transform: translate3d(-50%, 10%, 0);
    }

    .small_moon #click_moon{
        -webkit-transform: translate3d(-50%, 11%, 0);
        -ms-transform: translate3d(-50%, 11%, 0);
        transform: translate3d(-50%, 11%, 0);
    }

    .home_panel_content{
        padding-top: 22vw;
    }

    #content_cover{
        padding-bottom: 22%;
    }

    .down_arrow_with_text{
        font-size: 14px;
        padding-bottom: 27px;
        background-size: 40px;
    }

    .popup{
        max-width: 40vw;
        padding: 13px 13px 15px 13px;
        font-size: 14px;
        line-height: 18px;
    }

    .fixed_down_arrow {
        bottom: 20px;
    }

    .arrow{
        background-size: 50px;
    }

    #to_garden_text,
    #back_to_top_text{
        font-size: 16px;
    }

    #to_garden_arrow.arrow_switch{
        height: 55px;
    }
}

@media screen and (max-height: 460px){

    html, body {
        font-size: 20px;
        line-height: 1.30em;
    }
}

@media screen and (max-height: 435px){
    #social_media_container{
        display: none;
    }

    .hp_explore_link_container{
        padding-bottom: 20px;
        padding-top: 20px;
    }

    .thumbnail_button{
        margin: 0px auto 20px auto;
        min-width: 50px;
        width: 33.3333%;
    }

    .thumbnail_button h1{
        font-size: 16px;
    }

    .thumbnail{
        width: 40%;
        padding-bottom: 40%;
    }
}

@media screen and (max-height: 400px){

    #menu{
        margin-top: 45px;
    }
}

@media screen and (max-height: 365px){

    a.more_pages{
        font-size: 14px;
        padding-left: 10px;
        padding-right: 16px;
    }

    #menu{
        margin-top: 40px;
    }

    #menu_footer{
        bottom: 15px;
    }

    a.menu_button{
        font-size: 24px;
        margin-bottom: 20px;
    }
}

@media screen and (max-height: 320px){

    #menu{
        margin-top: 30px;
    }
}

@media screen and (max-height: 290px){

    a.menu_button{
        font-size: 22px;
        margin-bottom: 15px;
    }
}

@media screen and (max-height: 260px){

    a.menu_button{
        font-size: 22px;
        margin-bottom: 15px;
    }
}

@media screen and (max-height: 245px){

    #menu{
        margin-top: 25px;
    }

    a.menu_button{
        font-size: 20px;
        margin-bottom: 12px;
    }
}

/* Width */
@media screen and (max-width: 1300px){

    .top_left_coconut_leaf{
        left: -50px;
    }

    .bottom_left_coconut_leaf{
        left: -50px;
    }

    .top_right_coconut_leaf{
        right: -50px;
    }

    .bottom_right_coconut_leaf{
        right: -50px;
    }
}

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

    .border_leaf{
        max-height: inherit;
    }

    .top_left_coconut_leaf{
        left: -100px;
        max-height: inherit;
    }

    .bottom_left_coconut_leaf{
        left: -100px;
        max-height: inherit;
    }

    .top_right_coconut_leaf{
        right: -100px;
        max-height: inherit;
    }

    .bottom_right_coconut_leaf{
        right: -100px;
        max-height: inherit;
    }

    .left_leaf{
        left: -50px;
    }

    .right_leaf{
        right: -50px;
    }
}

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

    .limit_width_medium{
        max-width: 650px;
        margin: auto;
    }

    .top_left_coconut_leaf{
        left: -50px;
    }

    .bottom_left_coconut_leaf{
        left: -50px;
    }

    .top_right_coconut_leaf{
        right: -50px;
    }

    .bottom_right_coconut_leaf{
        right: -50px;
    }

    #large_screen_product_leaves{
        display: none;
    }

    #small_screen_product_leaves{
        display: block;
    }

    .top_left_coconut_leaf{
        height: 50vh;
        top: 20vh;
        left: -100px;
    }

    .bottom_left_coconut_leaf{
        left: -150px;
    }

    .top_right_coconut_leaf{
        height: 50vh;
        top: 20vh;
        right: -100px;
    }

    .bottom_right_coconut_leaf{
        right: -150px;
    }

    .left_leaf{
        left: -40px;
        height: 60vh;
    }

    .right_leaf{
        right: -40px;
        height: 60vh;
    }

    #lightbox .border_leaf{
        display: none;
    }
}

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

    .align_right{
        float: none;
    }

    .align_left{
        float: none;
    }
}

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

    .button_block,
    a.button_block{
        padding: 14px 20px 14px 20px;
        font-size: 14px;
        line-height: 18px;
        margin-top: 5px;
    }
}

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

    #menu_burger{
        top: 2px;
        right: 8px;
    }

    #language_select{
        top: 10px;
        left: 15px;
    }

    a.language,
    .language{
        padding-right: 28px;
    }

    #to_garden_text,
    #back_to_top_text{
        font-size: 18px;
    }

    .close_lightbox{
        bottom: 50px;
    }
}

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

    #contact_column_left,
    #contact_column_right{
        width: 100%;
        float: none;
        padding-right: 0px;
        padding-left: 0px;
    }
}

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

    #moon_container{
        -webkit-transform: translate3d(-50%, -12%, 0) scale(2.06);
        -ms-transform: translate3d(-50%, -12%, 0) scale(2.06);
        transform: translate3d(-50%, -12%, 0) scale(2.06);
    }

    #click_moon{
        width: 54%;
        padding-bottom: 54%;
        -webkit-transform: translate3d(-50%, 9%, 0);
        -ms-transform: translate3d(-50%, 9%, 0);
        transform: translate3d(-50%, 9%, 0);
    }

    .home_panel_content{
        padding-top: 80vw;
    }

    #content_cover{
        padding-bottom: 66%;
    }

    .small_moon #moon_container{
        -webkit-transform: translate3d(-50%, -12%, 0) scale(0.844);
        -ms-transform: translate3d(-50%, -12%, 0) scale(0.844);
        transform: translate3d(-50%, -12%, 0) scale(0.844);
    }

    .small_moon #click_moon{
        width: 22%;
        padding-bottom: 22%;
        -webkit-transform: translate3d(-50%, 9%, 0);
        -ms-transform: translate3d(-50%, 9%, 0);
        transform: translate3d(-50%, 9%, 0);
    }

    .small_moon #content_cover{
        padding-bottom: 25%;
    }

    .small_moon .panel_content{
        padding-top: 30vw;
    }

    .content_inner{
        padding-bottom: 65%;
    }

    .home .content_inner{
        padding-bottom: 20%;
    }

    #menu_burger{
        right: 4px;
    }

    #menu_burger_inner{
        width: 32px;
    }

    #menu_burger_inner span{
        width: 32px;
    }

    .fixed_down_arrow{
        bottom: 40px;
    }

    .thumbnail_button h1 {
        font-size: 0.8em;
        letter-spacing: 0.12em;
    }

    .thumbnail_small_title{
        font-size: 0.7em;
    }

    .thumbnail{
        width: 60%;
        padding-bottom: 60%;
        margin: 0px auto 10px auto;
    }

    .product_container{
        flex-wrap: wrap;
        flex-direction: column;
    }

    .pack_shot{
        margin-right: 0px;
        margin-bottom: 20px;
        height: 30vh;
        width: 100vw;
    }
}

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

    .in_garden #moon_container,
    .in_garden.small_moon #moon_container{
        -webkit-transform: translate3d(-50%, -15%, 0) scale(2.58);
        -ms-transform: translate3d(-50%, -15%, 0) scale(2.58);
        transform: translate3d(-50%, -15%, 0) scale(2.58);
    }

    .in_garden.small_moon #moon_container{
        -webkit-transform: translate3d(-50%, -12%, 0) scale(2.58);
        -ms-transform: translate3d(-50%, -12%, 0) scale(2.58);
        transform: translate3d(-50%, -12%, 0) scale(2.58);
    }

    .in_garden #click_moon{
        display: none;
    }

    h1 {
        font-size: 18px;
    }

    html, body {
        font-size: 20px;
        line-height: 1.30em;
    }

    #small_screen_garden_container {
        display: block;
    }

    .garden_video,
    .garden_foreground,
    .apple_tree,
    #garden_click_grid {
        display: none;
    }

    .mystery_zone {
        width: 35px;
        height: 35px;
    }

    .panel_content {
        padding-top: 20vw;
        padding-bottom: 0vw;
        position: relative;
    }

    .popup{
        max-width: 65vw;
    }

    .coconut_popup{
        bottom: 30%;
    }

    .hp_explore_link_container{
        padding-top: 20px;
        padding-bottom: 0px;
    }

    .home_panel_content{
        min-height: calc(100vh - 150px);
    }

    .down_arrow_with_text {
        font-size: 14px;
        background-size: 40px;
        padding-bottom: 30px;
    }

    .arrow{
        background-size: 50px;
    }

    #to_garden_arrow.arrow_switch{
        height: 60px;
    }

    textarea,
    input:not([type='checkbox']) {
        height: 40px;
        font-size: 16px;
    }

    textarea{
        height: 75px;
        font-size: 16px;
    }

    .form_label{
        padding-top: 9px;
        font-size: 16px;
    }

    .contact_form_input_container{
        margin-top: 12px;
    }

    #gdpr_message{
        font-size: 12px;
        margin-top: 10px;
    }

    #contact_lightbox .lightbox_scroll{
        padding-top: 15px;
        padding-left: 15px;
        padding-right: 15px;
        padding-bottom: 100px;
    }

    #ghost_button_container{
        margin: auto;
        margin-top: 15px;
        display: block;
    }

    .touch_left_right_icon{
        visibility: visible;
    }

    .thumbnail{
        width: 50%;
        padding-bottom: 50%;
    }
}

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

    #moon_container{
        -webkit-transform: translate3d(-50%, -12%, 0) scale(2.5);
        -ms-transform: translate3d(-50%, -12%, 0) scale(2.5);
        transform: translate3d(-50%, -12%, 0) scale(2.5);
    }

    #click_moon{
        width: 64%;
        padding-bottom: 64%;
        -webkit-transform: translate3d(-50%, 8%, 0);
        -ms-transform: translate3d(-50%, 8%, 0);
        transform: translate3d(-50%, 8%, 0);
    }

    .home_panel_content{
        padding-top: 76vw;
    }

    #content_cover{
        padding-bottom: 80%;
    }
}

@media screen and (max-width: 330px) {
    html, body {
        font-size: 16px;
    }

    h1 {
        font-size: 14px;
    }

    .button_block,
    a.button_block{
        padding: 8px 12px 8px 12px;
        font-size: 12px;
        line-height: 20px;
        margin-top: 3px;
    }

    .thumbnail_button h1 {
        font-size: 0.7em;
        letter-spacing: 0.12em;
    }

    textarea,
    input:not([type='checkbox']) {
        height: 30px;
        font-size: 14px;
    }

    textarea{
        height: 55px;
        font-size: 14px;
    }

    .form_label{
        padding-top: 6px;
        font-size: 14px;
    }

    .contact_form_input_container{
        margin-top: 10px;
    }

    #gdpr_message{
        margin-top: 8px;
        font-size: 10px;
    }

    #contact_lightbox .lightbox_scroll{
        padding-top: 15px;
        padding-left: 15px;
        padding-right: 15px;
        padding-bottom: 100px;
    }

    #ghost_button_container{
        margin-top: 14px;
    }

    #ghost_button,
    #try_again{
        padding: 9px 30px 10px 30px;
        border: solid 3px white;
        font-size: 12px;
        line-height: 16px;
        height: 40px;
    }
}

/* Height */
@media screen and (max-height: 400px) {

    .limit_width_medium{
        max-width: 550px;
    }

    .pack_shot{
        margin-right: 0px;
        margin-bottom: 0px;
        height: 60vh;
    }

    .top_left_coconut_leaf{
        left: 0px;
    }

    .bottom_left_coconut_leaf{
        left: 0px;
    }

    .top_right_coconut_leaf{
        right: 0px;
    }

    .bottom_right_coconut_leaf{
        right: 0px;
    }
}