@import url("fonts.css");



@desktop_l:  ~"only screen and (min-width: 1200px)";                            // xl
@desktop:    ~"only screen and (min-width: 992px) and (max-width: 1199px)";     // lg
@tablet:     ~"only screen and (min-width: 768px) and (max-width: 991px)";      // md
@phone_l:    ~"only screen and (min-width: 576px) and (max-width: 767px)";      // sm
@phone:      ~"only screen and (max-width: 575px)";     


@crema: #ffe8c0;
@orange: #ff9e29;
@error_color: #e40327;

.newline() { content:"\000A"; white-space: pre; }
.menu_delimiter() { 
    content: "|"; 
    margin: 0rem 0.3rem 0rem 0.4rem; 
    display: inline-block; 
}


.with_shadow(@x, @y, @b, @s, @color) {
    -webkit-box-shadow: @x @y @b @s @color;
    -moz-box-shadow: @x @y @b @s @color;
    box-shadow: @x @y @b @s @color;
}

.with_inner_shadow(@color) {
    -webkit-box-shadow: inset -3px 5px 9px -7px @color;
    -moz-box-shadow: inset -3px 5px 9px -7px @color;
    box-shadow: inset -3px 5px 9px -7px @color;
}

.transition(@selector, @time) {
    -webkit-transition: @selector @time ease-in-out !important;
    -moz-transition: @selector @time ease-in-out !important;
    -o-transition: @selector @time ease-in-out !important;
    -ms-transition: @selector @time ease-in-out !important;
    transition: @selector @time ease-in-out !important;
}


.border_round(@radius) {
    border-radius: @radius;
    -webkit-border-radius: @radius;
    -moz-border-radius: @radius;
}

.border_round_custom(@tl, @tr, @bl, @br) {
    border-top-left-radius: @tl;
    border-top-right-radius: @tr;
    border-bottom-left-radius: @bl;
    border-bottom-right-radius: @br;
    
    -webkit-border-top-left-radius: @tl;
    -webkit-border-top-right-radius: @tr;
    -webkit-border-bottom-left-radius: @bl;
    -webkit-border-bottom-right-radius: @br;
    
    -moz-border-top-left-radius: @tl;
    -moz-border-top-right-radius: @tr;
    -moz-border-bottom-left-radius: @bl;
    -moz-border-bottom-right-radius: @br;
}


.back_gradient(@top_color, @bottom_color) {
    background: @top_color;
    background: -moz-linear-gradient(top, @top_color 20%, @bottom_color 100%);
    background: -webkit-linear-gradient(top, @top_color 20%, @bottom_color 100%);
    background: linear-gradient(to bottom, @top_color 20%, @bottom_color 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr=@top_color, endColorstr=@bottom_color, GradientType=0 );
}





* {
    margin: 0;
    padding: 0;
}


html, body { 
    width: 100%;
    min-height: 100vh;
    height: auto;
    font-family: 'Engravers';
    font-weight: normal;
    font-size: 16px;
    
    background: url("../images/background_pattern.png") repeat center top;
}

body {
    a { color: #ffffff; }
    color: @crema;
}



#page_wrapper {
    position: relative;
    min-height: 100vh;
    padding-top: 30px;
    padding-bottom: 100px;
    z-index: 2;
    overflow: hidden;
    
    @media @phone { padding-bottom: 50px; }
}

.container-fluid {
    max-width: 1400px;
}

.logo {
    
    img { 
        width: 50%;
        max-width: 325px;
    }
    
}



.description {
    font-size: 1.8rem;
    line-height: 2.2rem;
    text-align: center;
    margin: 3rem auto;
    
    
    @media @phone {
        font-size: 5.5vw; line-height: 6.5vw;
    }
}

.bottle_section {
    
    text-align: center;
    margin: 1.5rem auto;
    
    
    
    span {
        display: block;
        min-height: 70px;
    }
    
    @media @phone {
        margin: 0.5rem auto;
    }
}



.view_btn p, .ag_btn {
    
    display: inline-block;
    padding: 0.25rem 2rem;
    border: 3px solid @orange;
    margin: 1rem auto;
    font-size: 2rem; line-height: 2.2rem;
    text-align: center;
    color: @orange;
    .transition(color, 0.2s);

    &:hover {
        color: @crema;
        text-decoration: none;
    }
    
    @media @phone_l, @phone {
        font-size: 1.5rem; line-height: 1.7rem;
        padding: 0.25rem 1.5rem;
    }
    
    @media @phone {
        font-size: 7vw; line-height: 8vw;
        /*width: 100%;*/
        padding: 0.25rem;
    }
}

.ag_btn {
    padding: 0.5rem 2rem;
    @media @phone { padding: 0.5rem 2rem; }
}



footer {
    
    display: flex;
    align-items: center;
    position: absolute;
    z-index: 1;
    left: 0; right: 0;
    bottom: 0px;
    width: 100%;
    height: 100px;
    text-align: center;
    color: @orange;
    
    @media @phone { height: 50px; }
    
}



.recommendation {
    font-size: 1.3rem; line-height: 1.5rem;
    width: 100%;   
    margin: 0;
    
    @media @phone { font-size: 4vw; line-height: 5vw; }
}






.overlay {
    position: absolute;
    top: 0; bottom: 0;
    left: 0; right: 0;
    height: 100vh;
    /*background-color: rgba(0, 0, 0, 0.5);*/
    padding: 1rem;
    display: none;
    z-index: 10;
    
    
    
    .message_container { width: 100%; height: 100%; }

    .message_container>div {
        position: absolute;
/*        top: 50%;
        transform: translateY(-50%);*/
        /*top: 100px;*/
        left: 0rem; 
        right: 0rem;
        width: 90%;
        max-width: 1000px;
        margin: auto;
        background: url(../images/background_pattern.png) repeat center top;
        .with_shadow(0, 0, 50px, 5px, rgba(0, 0, 0, 0.5));
        text-align: center;
        color: #000000;
        font-size: 1.2rem;
        line-height: 1.4rem;
        font-weight: 400;
        padding: 1rem 0;
        
        span { color: @crema; font-weight: bold; }

        
        .close_modal_btn {
            position: absolute;
            top: 28px;
            right: 25px;
            color: #000000;
            cursor: pointer;
            text-decoration: none;
        }
        
        
        
        .popup_logo {
            width: 35%;
            max-width: 300px;
            margin-top: 3rem;
            margin-bottom: 20px;
        }
        
        .popup_header {
            margin-top: -16px;
        }
        
        .popup_city {
            font-size: 3.5rem; line-height: 3.7rem;
            color: @crema;
            font-weight: bold;
            margin-bottom: 0;
        }
        
        .popup_legend {
            font-size: 2.0rem; line-height: 2.2rem;
            color: @orange;
            font-weight: bold;
        }
        
        .popup_delimiter {
            width: 100px;
            height: 3px;
            margin: 2rem auto;
            background-color: @orange;
        }
        
        .popup_description {
            padding: 0 5rem;
            color: @crema;
        }
        
        .share_btn {
            display: inline-block;
            margin: 2rem auto;
            width: 50vw;
            max-width: 250px;
        }
        
        .recommendation { color: @orange; }
        
        

        @media @phone { 
            font-size: 5vw;
            line-height: 6vw;
            
            .popup_description { padding: 0 5vw; }
            
            .close_modal_btn {
                top: 18px; right: 15px;
                img { width: 85%; }
            }
        }

        @media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
            left: 50%; 
            transform: translate(-50%, -50%);
        }
    }
    
    @media @phone { 
        padding: 0.5rem; 
        .message_container>div { width: 95%; }
    }
}





.container-fluid.coming_soon, .container-fluid.agegate {
    
    max-width: 1600px;
    
    .logo {
        margin-top: 10px;
        max-width: 250px;
    }
    
    .section {
        height: calc(100vh - 400px);
        min-height: 550px;
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        align-items: center;
        margin-top: 3vh;
    }
    
    
    @media (min-width: 1350px) {
        .logo {
            position: absolute;
            left: 30px;
        }
        .section {
            height: calc(100vh - 130px);
            margin-top: 0;
        }
    }
    
    @media @phone {
        .logo { max-width: 50vw; }
        .section { 
            height: calc(100vh - 80vw);
            min-height: 300px;
        }
    }
}


.container-fluid.agegate {
    
    position: relative;
    top: 0;
    left: 0; right: 0;
    width: 100%;
    /*z-index: 1000;*/
    
    .restriction {
        font-size: 2.3rem; line-height: 2.5rem;
        color: @orange;
        text-align: center;
        font-weight: bold;
    }
    
    .birthday_txt {
        font-size: 1.8rem; line-height: 2.0rem;
        /*color: @orange;*/
        text-align: center;
        font-weight: bold;
    }
    

    form {

        position: relative;

        .input_section {
            display: flex;
            justify-content: center;
            flex-direction: column;
            /*max-width: 400px;*/
            margin: 2.5rem auto 0 auto;


            label, .input_age {
                font-weight: bold;
            }

            label { 
                width: 250px;
                display: block; 
                font-size: 1.6rem; line-height: 1.8rem;
                margin: 10px auto;
            }

            .input_age {
                width: 250px;
                margin: 0 auto;
                padding: 0.25rem 0;
                text-align: center;
                font-size: 2rem;
                color: @crema;
                background-color: transparent;
                border: 4px solid @crema;
                outline: none;
            }
        }   
    }
    
    .error_message {
        display: none;
        font-size: 1.2rem; line-height: 1.4rem;
        text-align: center;
        margin-top: 1.5rem;
    }
    
    
    @media @phone {
        .restriction { font-size: 7vw; line-height: 8vw; }
        .birthday_txt { font-size: 5vw; line-height: 6vw; }
        form {
            .input_section {
                label { width: 25vw; margin: 2vw 2vw; font-size: 5vw; line-height: 6vw; }
                .input_age { width: 24vw; margin: 0 2vw; }
                .input_age { font-size: 6vw; line-height: 7vw; border-width: 2px; }
            }
        }
    }
    
}




.clear { clear: both; }