/*
Theme Name: Videomees
Author: Siim Metsmaa
Author URI: https://metsmaa.ee
Description: Videomees Saaremaal
Version: 1.0
*/

body {
    margin: 0;
    font-family: "Roboto", sans-serif;
    font-size: 16px;
}

h1 {
    font-family: "Roboto", sans-serif;
    font-size: 44px;
    line-height: 54px;
    font-weight: 500;
    color: #151515;
}

h2 {
    font-family: "Roboto", sans-serif;
    font-size: 22px;
    font-weight: 500;
    line-height: 32px;
    color: #151515;
}

h3 {
    font-size: 18px;
    font-weight: 700;
}

a:link { color: #4063f4; text-decoration: none; }
a:visited { color: #4063f4; text-decoration: none; }
a:hover { color: #4063f4; text-decoration: none; }
a:active { color: #4063f4; text-decoration: none; }

.mob-categories-button, .mob-categories, .mob-button, .mob-menu {
    display: none;
}


.button {
    display: inline-block;
    margin: 15px 0 0 0;
    padding: 7px 25px;
    color: #000 !important;
    font-size: 14px;
    font-weight: 500;
    border: 2px solid #000;
    text-transform: uppercase;
    transition: all 0.3s;
}

.button:hover {
    color: #fff !important;
    background: #000;
}



/* HEADER */



.header {
    margin: 70px auto 0 auto;
}

.logo {
    margin: px 0 0 0;
    color: #000 !important;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
}



/* MENU */



.mainmenu {
    float: right;
    list-style: none;
    margin: 0;
    padding: 0;
}

.mainmenu li {
    display: inline-block;
    position: relative;
    
}

.mainmenu li a {
    display: block;
    margin: 0 15px;
    color: #000;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    transition: all 0.3s;
}

.mainmenu li.current-menu-item a,
.mainmenu li.current-menu-ancestor a,
.mainmenu li.current-page-ancestor a,
.mainmenu li:hover a {
    opacity: 0.3;
}

.mainmenu li:hover > ul {
    display: block;
    transform: scaleY(1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, .1);
}

.mainmenu li ul {
    min-width: 200px;
    position: absolute;
    left: 0;
    top: 45px;
    padding: 15px 20px;
    transform: scaleY(0);
    transform-origin: top;
    transition: transform .2s ease;
    background: #fff;
    z-index: 9999;
}

.mainmenu li ul li {
    display: block;
    text-align: left;
}

.mainmenu li ul li a {
    margin: 0;
    padding: 6px 0;
    color: #000 !important;
	text-transform: none;
}

.mainmenu li ul li:hover a,
.mainmenu li ul li.current-menu-item a {
    color:#ec3d08!important;
}







/* CONTENT */

.width {
    width: 1100px;
}

.content {
    margin: 100px auto;
}



/* HOME PAGE */



.home-image {
    float: left;
    width: 46%;
    
}

.home-image img {
    border-radius: 5px;
}

.home-content {
    float: right;
    width: 49%;
    color: #707070;
    line-height: 26px;
}



/* LIST */

.list {
    list-style: none;
    margin: 80px 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 50px;
}

.list-img {
    height: 250px;
    background-size: cover;
    transition: all 0.3s;
    border-radius: 8px;
}


.list li:hover .list-img {
    filter: grayscale(0);
}



/* FOOTER */



.footer {
    margin: 200px 0 0 0;
    padding: 50px 0;
    color: #aaa9a5;
    background: url('img/bg-footer.jpg') center;
    background-size: cover;
    clear: both;
}


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



.menu, .content-categories { 
    display: none;
}



.width {
    width: 95%;
}

.mob-button {
    display: block;
    position: absolute;
    top: 15px;
    right: 20px;
    width: 50px; 
    filter: invert(27%) sepia(92%) saturate(1519%) hue-rotate(352deg) brightness(101%) contrast(108%);
    z-index: 9998;
}

.mob-menu {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    padding: 100px 0;
    background: url('img/bg-footer.jpg') center;
    background-size: cover;
    z-index: 9997;
}

.mob-menu li {
    width: 100%;
}

.mob-menu a {
    font-size: 32px !important;
}

.mainmenu li ul {
    min-width: 100%;
}

.mainmenu li ul li {
    text-align: center;
}





.header {
    padding: 40px 20px 80px 20px;
}

.header h1 {
    font-size: 42px;
    text-align: center;
}




.mob-categories-button {
    display: block;
    position: fixed;
    bottom: 0;
    width: 100%;
    padding: 20px 0;
    text-align: center;
    color: #fff;
    font-weight: 700;
    background: #ec3d08;
}

.mob-categories {
    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
    background: url('img/bg-footer.jpg') center;
    background-size: cover;
    overflow-y: auto; 
    z-index: 9999;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.mob-categories::-webkit-scrollbar {
  display: none;
}

.mob-categories h2 {
    color: #fff;
    padding: 0 30px;
}

.mob-categories .subpages {
    margin:  0 0 100px 0;
}

.mob-categories .subpages a {
    font-size: 20px;
    padding: 15px 30px;
}

.content-food {
    width: 95%;
    margin: 50px auto;
    box-sizing: border-box;
    clear: both;
}

.food {
    display: block;
}

.food li {
    margin: 0 0 15px 0;
}

.food-image { 
    float: left;
    width: 35%;
    height: 150px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 10px 10px 0 0;
}

.food-info {
    float: right;
    width: 60%;
}

.price {
    padding: 10px 15px;
}



.restaurant {
    margin: 0 0 80px 0;
    padding: 65% 0 20px 0%;
    box-sizing: border-box;
    line-height: 28px;
    background-position: top center;
    background-size: auto 300px;
    background-repeat: no-repeat;
}



/* FOOTER */



.footer-restaurants {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
}

}