@import url('https://fonts.googleapis.com/css?family=IBM+Plex+Sans&display=swap');

* { box-sizing: border-box; }

*:focus{ outline: none; }

a{
    text-decoration: none;
    color: inherit;
}

html, body{
    width: 100%;
    height: 100%;
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 14px;
    background-color: #ededed;
    color: #161616;
}

h6{
    margin: -10px 0 20px 4px;
    font-size: 0.4em;
}

b{
    font-weight: bold;
}

footer{
    text-align: center;
    padding: 20px;
    clear: both;
}

footer li{
    display: inline-block;
    font-size: 1.4em;
    text-transform: uppercase;
    cursor: pointer;
}

footer li:last-child:after{
    content: none;
    margin-right: 0;
}

header{
    padding: 0 0 3% 3%;
    position: fixed;
    top: 80px;
}

.logo{
    width: 160px;
}

.product-header-img{
    cursor: pointer;
}

menu{
    float: left;
    width: 33.33%;
    height: 90%;
    text-align: right;
    padding: 10% 5% 0;
}

li{
    font-size: 2.4em;
    height: 50px;
}

section{
    display: inline-block;
    width: 66.66%;
    margin-top: 150px;
}

section article{
    width: 100%;
    padding: 5%;
    position: relative;
}

sup{
    font-size: 55%;
    vertical-align: super;
    margin-left: 5px;
}

.product-index{
    width: 450px;
    height: 450px;
    position: absolute;
    margin: 2%;
}

.single-product-img{
    width: 100%;
    display: block;
    padding: 0 5% 5% 0;
}

.menu-list{
    text-align: left;
    margin: 0 auto 0 50%;
    width: 80%;
    display: block;
    font-weight: 400;
}

.menu-list li{
    text-transform: capitalize;
}

.single-product header{
    position: absolute;
}

.single-product section{
    width: 66.66%;
    display: block;
    margin: 0 auto;
}

.single-product section article{
    padding: 0;
}

.product-header-img{
    width: 100%;
    height: 500px;
    background-size: contain;
}

.product-info div{
    float: left;
}

.half-left{
    width: 60%;
}
    .half-left h2{
        font-weight: 400;
        font-size: 4em;
        margin: 20px 0 40px;
        text-transform: uppercase;
    }

.half-right{
    width: 40%;
    vertical-align: top;
    margin: 5% 0;
    font-size: 1.2em;
    line-height: 20px;
}

.half-right:last-of-type{
    margin: 0;
}

.menu-item{
    display: inline-block;
    cursor: pointer;
}

a:after{
    content: '';
    transform: scaleX(0);  
    transition: transform 250ms ease-in-out;
}

a.menu-item:hover:after{
    display: block;
    content: '';
    border-bottom: solid 3px #161616;
    transform: scaleX(1);
    transform-origin: 0% 50%;
    transition: transform 250ms ease-in-out;
}

.modal{
    background-color: rgba(0, 0, 0, 0.7);
    width: 100%;
    height: 100%;
    display: block;
    top: 0;
    left: 0;
    position: fixed;
    z-index: 1000;
}

.contact-form{
    display: block;
    position: fixed;
    top: 20%;
    left: 27%;
    width: 45%;
    background-color: white;
    z-index: 1001;
    border-radius: 20px;
    padding: 40px;
    font-size: 2em;
    line-height: 33px;
}

.about{
    width: 70%;
    margin: 10% auto 15%;
    padding: 40px;
    font-size: 2em;
    line-height: 33px;
}

.contact-form{
    left: 36%;
    width: 25%;
}

.link-contact, .modal{
    cursor: pointer;
}

.about p{
    margin-bottom: 40px;
}

.about p:last-child{
    margin-bottom: 0;
}

input, textarea{
    width: 100%;
    padding: 4px;
    display: block;
    margin-bottom: 18px;
}

input[type="submit"]{
    width: 40%;
    border: none;
    background-color: #161616;
    color: white;
    padding: 8px;
    font-weight: 600;
    cursor: pointer;
}

textarea{
    height: 200px;
}

.image-container-about{
    width: 200px;
    height: 300px;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
}

/******************************* SERVICES */

.thanks{
    z-index: 1001;
    position: relative;
    background-color: white;
    top: 40%;
    display: block;
    margin: 0 auto;
    border-radius: 25px;
    width: 40%;
    font-size: 2.5em;
    padding: 30px;
}

.show{
    display: block;
}

.hide{
    display: none;
}

.fade-in{
    animation: fadeIn 1s forwards;
}

@keyframes fadeIn{
    from { opacity: 0; margin: 50px 0 0 50px; }
    to { opacity: 1; margin: 0; }
}


/**********************************************************************/

@media (min-width: 320px) and (max-width: 480px){

    header{
        position: relative;
        text-align: center;
        top: 0;
        margin-top: 60px;
    }

    .about{
        width: 100%;
        margin: 0;
        padding: 20px;
        font-size: 1.5em;
        line-height: 30px;
    }

    #oglogo{
        text-align: center;
        display: block;
    }

    menu{
        float: none;
        width: 100%;
    }

    .menu-list{
        text-align: center;
        margin: 0;
        width: 100%;
    }

    section{
        display: block;
        width: 100%;
    }

    section article{
        padding: 0;
    }

    /* .index-products{
        display: none;
    } */

    .single-product section{
        width: 100%;
    }

    .half-left{
        width: 100%;
    }

    .half-left h2{
        margin: 10px;
    }

        .half-left h2, .half-right p{
            margin-left: 20px;
        }

    .half-right{
        width: 100%;
    }

    .product-info div{
        float: none;
    }

    .half-right:last-of-type {
        padding: 20px;
    }

    .single-product-img{
        padding: 0 0 10% 0;
    }

    footer li{
        height: auto;
    }

    .contact-form{
        left: 35px;
        width: 80%;
        padding: 20px;
        top: 55px;
    }

        input[type="submit"] {
            width: 100%;
        }
}