/*  

Liquitrack.com - Mobile CSS 
    CSS for all pages with a width of 600px or less. 


Globale CSS

*/

/* 1. Header Bar */
#header_bar {
    display: none;
}


/* 2. Menu Bar */
#menu_bar {
    width: 100%;
    background-color: var(--panel-color);
    bottom: 0;
    position: fixed;
    z-index: 4;
}
#menu_bar .container {
    height: 60px;
    width: 100%;
}

/* 2.1. Logo Text */
#header_logo {
    display: none;
}

/* 2.2. Navigation */
#nav {
    height: 100%;
    display: flex;
}
#nav a {
    height: 100%;
    border-radius: 6px 6px 0 0;
    
    font-size: 18px;
    font-weight: 600;

    display: flex;
    align-items: center;
    flex: 1 1 0%;
    min-width: 0;
    
    justify-content: space-around;
}
#nav_title {
    max-width: 100%;
    text-align: center;
    font-size:calc(8px + 2vw);
    overflow: hidden;
    text-overflow: ellipsis;

    padding: 0 4px;
}
#nav a:not(#selected) {
    color: white;
}
#nav a#selected {
    cursor: default;
    color: black;
    background-color: var(--accent-color);

    height: 120%;
    position: relative;
    bottom: 10%;

    box-shadow: 0px 0px 18px 2px rgba(0, 0, 0, 0.26);
}

/* 2.3. Call Us */
#call_us {
    position: fixed;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    background-color: var(--accent-color);
    box-shadow: 0 3px 10px 0 rgba(0, 0, 0, 0.26);

    bottom: 80px;
    right: 20px;
    z-index: 5;
}
#call_us svg {
    width: 24px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
}


/* 3. Footer */
#footer {
    margin-bottom: 60px;
}
#footer_blob {
    overflow: hidden;
    margin-top: 20px;
}
#footer_blob svg {
    display: block;
    fill: var(--accent-color);
    width: 1440px;
    height: 36px;

    position: relative;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
}
#footer {
    padding-top: 20px;
    color: black;
    background-color: var(--accent-color);
}
#footer a {
    color: black;
}
.f_section {
    display: flex;
    flex-direction: column-reverse;
}

/* 3.1. Footer Text Section */
.f_title {
    font-size: 22px;
    font-weight: 700;
}
.f_sub_section {
    margin-top: 12px;
}
.f_sub_title_icon {
    display: flex;
    align-items: center;
}
.f_icon {
    height: 12px;
    width: 12px;
    margin-right: 7px;
}
.f_sub_title {
    font-size: 14px;
    font-weight: 700;
}
.f_sub_description {
    margin-top: 6px;
    font-size: 14px;
    font-weight: 500;
}

/* 3.2. Footer Buttons */
#footer_buttons {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;

    margin-bottom: 30px;
}
#footer_buttons a, #footer_buttons div{
    height: 24px;
    width: 24px;
}
#footer_buttons a {
    margin-right: 6px;
}
#back_to_top {
    display: none;
}

/* 3.3. Credit and Copyright  */
#credit_and_copyright {
    margin-top: 30px;
    padding: 20px 0;
    border-top: solid black 1px;

    font-size: 14px;
    font-weight: 600;
}
#credit {
    margin-top: 14px;
    display: block;
}



/*

Individual Page CSS

*/

/* 1. Index.html - Home */
/* 1.1. Landing */
#landing_section {
    margin-top: 20px;
    height: 200px;
    text-align: center;
    display: flex;
    justify-content: center;
    flex-direction: column;
}
#l_logo {
    background: url("../assets/icon.svg") no-repeat center;
    width: 100%;
    height: 107px;
    position: absolute;
    opacity: 8%;
    -webkit-transform: translateY(-10%);
    transform: translateY(-10%)
} 
#l_title {
    font-size: 27px;
    font-weight: 700;
}
#l_slogan {
    font-size: 10px;
    font-weight: 500;
    color: var(--foreground-color-2);

    margin-top: 2px;
}
#l_cta {
    display: none;
}

/* 1.2. Articles */
#articles {
}



/* 3. contact.html - Contact */
#errordiv {
    width: calc(100% - 16px);
    display: flex;

    padding: 8px;
    margin-top: 6px;
    margin-bottom: 12px;
    
    color: rgb(255, 70, 70);
    background-color: rgba(255, 0, 0, 0.120);

    border: rgb(255, 70, 70) 1px solid;
    border-radius: 6px;
}
#succdiv {
    width: calc(100% - 16px);
    display: flex;

    padding: 8px;
    margin-top: 6px;
    margin-bottom: 12px;
    
    color: rgba(70, 255, 70, 0.800);
    background-color: rgba(0, 255, 0, 0.120);

    border: rgb(70, 255, 70, 0.800) 1px solid;
    border-radius: 6px;
}

#contact_title {
    margin-top: 20px;
    font-size: 24px;
    font-weight: 700;
}
#contact_description {
    margin-top: 10px;
    color: var(--foreground-color-2);
    font-weight: 500;
    font-size: 16px;
}


#contact_form {
    margin-top: 24px;
    max-width: 600px;
    min-width: 150px;
}

#contact_form label {
    font-size: 16px;
    font-weight: 500;
}

.form_section input, .form_section textarea {
    display: flex;
    margin: 0;
    margin-top: 6px;
    margin-bottom: 12px;

    width: calc(100% - 16px);

    background-color: var(--panel-color);
    border: 0;
    border-radius: 6px;
    
    color: white;

    padding: 8px;

    font-size: 14px;
    
    resize: vertical;

    border-bottom: 2px solid var(--panel-color);
}
.form_section input:focus, .form_section textarea:focus {
    border-bottom: 2px solid var(--accent-color);
    border-radius: 6px 6px 0 0;
}
.form_section textarea {
    min-height: 140px !important;
}

#contact_form button {
    appearance: none;
    background-color: var(--accent-color);
    border: 0;
    border-radius: 6px;
    cursor: pointer;
    padding: 10px 20px;
    font-size: 18px;
    font-weight: 600;
}