@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

:root {
    --background: rgba(255, 255, 255, 0.85);
    --boxshadow: 0 .5rem 1rem rgba(0,0,0,.1);
}
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
header {
    background: var(--background);
    box-shadow: var(--boxshadow);
    text-align: center;
    position: fixed;
    z-index: 999;
    width: 100%;
}
nav {
    position: absolute;
    text-align: left;
    top: 100%;
    left: 0;
    background: var(--background);
    width: 100%;
    transform: scale(1, 0);
    transform-origin: top;
    transition: transform 400ms ease-in-out;
}
nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
nav li {
    margin-bottom: 1em;
    margin-left: 1em;
}
nav a {
    color: rgb(0, 0, 0);
    text-decoration: none;
    font-size: 1rem;
    font-family: montserrat;
    text-transform: uppercase;
    opacity: 0;
    transition: opacity 150ms ease-in-out;
}
nav a:hover {
    color: #000;
}
.nav-toggle:checked ~ nav {
    transform: scale(1, 1);
}
.nav-toggle {
    display: none;
}
.nav-toggle-label {
    position: absolute;
    top: 0;
    left: 0;
    margin-left: 1em;
    height: 100%;
    display: flex;
    align-items: center;
}
.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
    display: block;
    background-color: black;
    height: 2px;
    width: 2em;
    border-radius: 2px;
    position: relative;
}
.nav-toggle-label span::before,
.nav-toggle-label span::after {
    content: '';
    position: absolute;
}
.nav-toggle-label span::before {
    bottom: 7px;
}
.nav-toggle-label span::after {
    top: 7px;
}
.nav-toggle:checked ~ nav a {
    opacity: 1;
    transition: opacity 250ms ease-in-out 250ms;
}
.iko {
    display: none;
}
.home {
    min-height: 100dvh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    background:url(images/salon_1920.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.sluzby{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-items: center;
    padding-top: 65px;
}
.sluzby h1{
    align-items: center;
    font-family: 'Roboto', sans-serif;
    text-align: center;
    color: #000000;
    text-transform: uppercase;
    font-weight: 300;
    padding-bottom: 20px;
}
.sl-wrapper{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1800px;
    margin-top: 20px;
}
.sl-card{
    width: 300px;
    min-height: 250px;
    max-height: 260px;
    padding: 10px;
    margin:2px;
    margin-top: 20px;
}
.sl-card-stred{
    width: 300px;
    max-height: 220px;
    padding: 10px;
    margin:2px;
    margin-top: 25px;
}
.sl-card-image{
    display: flex;
    width: 320px;
    max-height: 280px;
    margin:2px;
    align-items: center;
    justify-content: center;
}
.sl-card-title{
    font-family: 'Roboto', sans-serif;
    margin-top: 0;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}
.sl-card-content{
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    letter-spacing: 0.5px;
    line-height: 1.5;
}
.kontakt{
    display: flex;
    justify-content: center;
    margin-top: 100px;
}
.kontakt h1{
    justify-items: center;
    font-family: 'Roboto', sans-serif;
    text-align: center;
    color: #000000;
    text-transform: uppercase;
    font-weight: 300;
    padding-bottom: 20px;
}
.kontakt-container{
    display: flex;
    flex-direction: column;
    justify-items: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 10px;
}
.adresa-container{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    min-width: 400px;
    min-height: 280px;
}
.adresa{
    display: grid;
    grid-template-columns: 40px 450px;
    grid-template-rows: 40px 27px 27px 27px 27px 27px 27px 27px;
    background-color: rgb(228, 225, 222);
    font-family: "Roboto";
    font-weight: 300;
    font-style: normal;
    font-size: 1em;
    height: 280px;
    padding-top: 20px;
    padding-left: 70px;
    padding-right: 50px;
}
.adresa a{
    font-family: "Roboto";
    font-weight: 300;
    font-style: normal;
    font-size: 1em;
    text-decoration: none;
}
.nazev {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
}
.jmeno {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
}
.ico {
    grid-column: 2 / 3;
    grid-row: 3 / 4;
}
.iko_misto {
    grid-column: 1 / 2;
    grid-row: 4 / 5;
}
.misto {
    grid-column: 2 / 3;
    grid-row: 4 / 5;
}
.iko_tl {
    grid-column: 1;
    grid-row: 5 / 6;
    align-self: center;
}
.tl {
    grid-column: 2 / 3;
    grid-row: 5 / 6;
}
.iko_email{
    grid-column: 1 / 2;
    grid-row: 6 / 7;
}
.email {
    grid-column: 2 / 3;
    grid-row: 6 / 7;
}
.iko_fcbk{
    grid-column: 1 / 2;
    grid-row: 7 / 8;
    align-self:center ;
}
.fcbk{
    grid-column: 2 / 3;
    grid-row: 7 / 8;
}
.iko_insta{
    grid-column: 1 / 2;
    grid-row: 8 / 9;
    align-self:center ;
}
.insta{
    grid-column: 2 / 3;
    grid-row: 8 / 9;
}
.mapa{
    margin-left: 50px;
    margin-top: 10px;
}
.footer{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
    width: 100%;
    background-color: rgb(255, 255, 255);
    margin-top: 20px;
}
@media screen and (min-width: 1150px) {
    .nav-toggle-label {
        display: none;
    }
    header {
        display: grid;
        grid-template-columns: 1fr 400px auto minmax(385px, 3fr) 1fr;
    }
    .logo {
        grid-column: 2 / 3;
    }
    .tel {
        grid-template-columns: 3 / 4;
        display: flex;
        justify-content: flex-end;
        align-items: center;
        font-family: "Roboto";
        font-weight: 300;
        font-size: 1.2em;
    }
    nav {
        all: unset;
        grid-column: 4 / 5;
        display: flex;
        justify-content: flex-end;
        align-items: center;
    }
    nav ul {
        display: flex;
        justify-content: flex-end;
     }
    nav li {
        margin-left: 3em;
        margin-bottom: 0;
    }
    nav a {
        opacity: 1;
        position: relative;
    }
    nav a::before {
        content: '';
        display: block;
        height: 5px;
        background: black;
        position: absolute;
        bottom: -.75em;
        left: 0;
        right: 0;
        transform: scale(0, 1);
        transition: transform ease-in-out 250ms;
    }
    nav a:hover::before {
        transform: scale(1, 1);
    }
    .iko {
        all: unset;
        grid-column: 5 / 6;
        display: flex;
        justify-content: flex-start;
        align-items: center;
        margin-left: 2em;
    }
    .iko ul { 
        margin: 0;
        padding: 0;
        list-style: none;
    }
    .iko li {
        display: inline-block;
        margin-left: 5px;
        margin-bottom: 0;
    }
    .adresa-container{
        display: flex;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        min-width: 600px;
        min-height: 280px;
    }
    .adresa{
        display: grid;
        grid-template-columns: 40px 550px;
        grid-template-rows: 40px 27px 27px 27px 27px 27px 27px 27px;
        background-color: rgb(228, 225, 222);
        font-family: "Roboto";
        font-weight: 300;
        font-style: normal;
        font-size: 1.2em;
        height: 280px;
        padding-top: 20px;
        padding-left: 70px;
        padding-right: 50px;
    }
    .adresa a{
        font-family: "Roboto";
        font-weight: 300;
        font-style: normal;
        font-size: 1em;
        text-decoration: none;
    }
}