@import url('https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700,800,900&display=swap');
*
{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}
body
{
    min-height: 100vh;
    overflow-x: hidden;
    background: linear-gradient(#8bcbff,#7597de);
}
header
{
    position: absolute;
    top: 0;
    width: 100%;
    padding: 30px 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 9;
}
#est
{
    font-size: 1em;
    color: black;
    text-align: center;
    font-family: 'copperplate', fantasy;
    opacity: 0;
    transition: opacity 1s;
}
.logo:hover
{
    transition: 0.5s;
}
header ul
{
    display: flex;
    justify-content: center;
    align-items: center;
}
header ul li
{
    list-style: none;
    margin-left: 20px;
}
header ul li a
{
    text-decoration: none;
    padding: 6px 15px;
    color: #fff;
    border-radius: 20px;
}
header ul li a:hover,
header ul li a.active
{
    background: #fff;
    color: #0084ff;
    transition: 0.5s;
}
header ul li hr
{
    display: none;
}
.wrap 
{
	overflow: auto;
    width: 100%;
    height: 100vh;
    scroll-snap-type: y mandatory;
    transition: background-color 0.5s ease;
}
.wrap.dark {
    background-color: rgba(0, 0, 0, 0.5); /* Darken effect */
}
.wrap section
{
    position: relative;
    width: 100%;
    height: 100vh;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    scroll-snap-align: start;
}
#ABOUTUS
{
    font-size: 15vw;
}
#section-1
{
    display: flex;
}
#section-2
{
    display: grid;
    grid-template-columns: 1fr 1fr;
}
#section-3
{
    padding: 3vh;
}
.product
{
    overflow: hidden;
    position: relative;
}
.service
{
    overflow: hidden;
    position: relative;
}
#producttext a
{
    text-decoration: none;
    color: black;
}
#servicetext a
{
    text-decoration: none;
    color: black;
}
.product img
{
    width: 50vw;
    height: 100vh; 
    object-fit: cover;
    pointer-events: none;  
}
.service img
{
    width: 50vw;
    height: 100vh; 
    object-fit: cover;
    pointer-events: none;  
}
#section-4
{
    display: grid;
    background-image: linear-gradient(#acc8d8,#7a7a77);
}
#bottomgrid
{
    display: grid;
    grid-template-areas:
        "products services contact"
        "about map map";
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr 0.2fr;
    gap: 10px;
    width: 100vw;
    height: 90vh;
    padding: 3vh;
}
#bottomgrid a.sectionmain
{
    color: black;
    text-decoration: none;
    transition: color 0.5s ease-in-out;
}
#bottomgrid a.sectionmain:hover
{
    color: white;
}
div.sectionsub
{
    padding-top: 3vh;
    border-radius: 50px;
    line-height: 5vh
}
.sectionsub a
{
    text-decoration: none;
    color: white;
}
.sectionsub a:hover
{
    text-decoration: underline;
}
#productpage
{
    grid-area: products;
    color: white;
    font-size: 2vh;
    height: 100%;
    border: 1px solid #ccc;
    padding: 3vh;
    border-radius: 50px;
}
#servicesandsupport
{
    grid-area: services;
    color: white;
    font-size: 2vh;
    height: 100%;
    vertical-align: top;
    border: 1px solid #ccc;
    padding: 3vh;
    border-radius: 50px;

}
#contactus
{
    grid-area: contact;
    color: white;
    font-size: 2vh;
    height: 100%;
    vertical-align: top;
    border: 1px solid #ccc;
    padding: 3vh;
    border-radius: 50px;

}
#aboutus
{
    grid-area: about;
    color: white;
    font-size: 2vh;
    height: 100%;
    vertical-align: top;
    border: 1px solid #ccc;
    padding: 3vh;
    border-radius: 50px;

}
.vatskamap
{
    grid-area: map;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #ccc;
    height: 100%;
    border-radius: 50px;
    padding: 0%;

}
.vatskamap iframe
{
    border-radius: 50px;
    border: none;
    width: 100%;
    height: 100%;
    align-items: center;
    padding: 0%;
}

#section-1 iframe
{
    border-radius: 10px;
    border: none;
    width: 50vw;
    height: 60vh;
    position: relative;
    z-index: 1;
}
#tagline
{
    text-align: center;
    color: white;
    font-size: 2vh;
    width: 100vw;
    height: 100%;
}
#bottomgrid hr
{
    border: 0;
    height: 1px;
    background: black;
    margin-top: 1vh;
}
@media (max-width: 1100px) and (max-height:1400px)
{
    #section-2
    {
        display: grid;
        grid-template-rows: 1fr;
        grid-template-areas:
        "product"
        "service"
    }
    .product
    {
        grid-area: product;
        width: 100vw;
    }
    .product img
    {
        width: 100vw;
        height: 50vh; 
        object-fit: cover;
        pointer-events: none;  
    }
    .service
    {
        grid-area: service;
        width: 100vw;
    }
    .service img
    {
        width: 100vw;
        height: 50vh; 
        object-fit: cover;
        pointer-events: none;  
    }
    header
    { 
        display: grid;
        grid-template-areas: 
            "menu logo nothing";
        justify-content: center;
        grid-template-columns: 1fr 1fr 1fr;
        width: 100%;
        padding: 0%;
        padding-top: 30px;
    }
    header ul
    {
        display: none;
    }
    .logo{
        grid-area: logo;
        display: grid;
        justify-content: center;
        align-items: center;
        z-index: 3;
    }
    .menu
    {
        background: url(menu.png);
        grid-area: menu;
        position: relative;
        height: 25px;
        background-size: 25px;
        background-position: center;
        background-repeat: no-repeat;
        cursor: pointer;
        z-index: 3;
        transition: 0.5s;
    }
    .menu.expand{
        background: url(close.png);
        background-position: center;
        background-repeat: no-repeat;
        background-size: 25px;
        z-index: inherit;

    }
    header ul.toggle{
        display: grid;
        grid-auto-rows: 10vh;
        padding-top: 30%;
        align-items: center;
        justify-content: center;
        top: 0;
        left: 0;
        width: 70%;
        height: 100%;
        position: fixed;
        background: #dbdbd7;
        max-width: 0%;
        transition: 0.5s ease;
        overflow: hidden;
    }
    header ul.toggle.expand{
        display: grid;
        grid-auto-rows: 10vh;
        padding-top: 30%;
        gap: 2px;
        align-items: end;        /* vertical: bottom of cell */
        top: 0;
        left: 0;
        width: 70%;
        height: 100%;
        position: fixed;
        background: #dbdbd7;
        max-width: 100%;
    }
    header ul li{
        padding: 0%;
        margin: 0%;
        width: fit-content;
        border-bottom:black solid 1px;
        align-self: end;
    }
    header ul li a{
        text-decoration: none;
        font-size: 1.5em;
        padding: 0%;
        color: black;
    }
    header ul li a:hover
    {
        background-color: #8f8f8b;
        color: black;
    }
    header ul li a.active
    {
        background-color: inherit;
        color: #0084ff;
    }
    header ul li hr
    {
        display: block;
        border: 0;
        height: 1px;
        width: inherit;
        background: black;
        margin-top: 1vh;
    }
    #bottomgrid
    {
        display: grid;
        grid-template-areas:
            "products services"
            "contact about"
            "map map";
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr;
        width: 100%;
        height: 90vh;
        padding: 2vh;
    }
}
