* {
    margin: 0 auto;
    padding: 0;
    border: 0;
    font-family: arial;
    scroll-behavior: smooth;
}

body {
    max-width: 100%;
    width: 100%;
    margin: auto;
    line-height: 1.5;
}

img {
    max-width: 100%;
    height: auto;
}

.offwhite {
    text-decoration: none;
    color: white;
}

.offblack {
    text-decoration: none;
    color: black;
}

.whitetext {
    color: #ffffff;
}

h1 {
    font-size: 3.4375em;
    margin-bottom: 20px;
}

h3 {
    text-align: center;
    font-weight: 600;
    margin: 10px 0;
}

.singlecenter {
    text-align: center;
}

.mrgn-left {
    margin-left: 50px;
}

.eighty {
    width: 80%;
}

/* /////////////////////header/////////////////////////////////////////////////////////////////// */
header {
    width: 100%;
}

#navi {
    width: 100%;
    height: 180px;
    display: flex;
    flex-direction: row;
    background-color: #FFFFFF;
    justify-content: center;
    align-items: center;
    position: fixed;
    z-index: 1;
    
}

.list {
    text-align: center;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.li {
    display: inline;
}

.navodkaz {
    text-decoration: none;
    color: black;
    font-size: 1.5em;
    padding: 77px 24px;
}

.navodkaz:hover {
    background-color: black;
    color: white;
    transition: ease-in;
    transition-duration: 0.2s;
    
}

#logo {
    width: auto;
    height: 115px;
    margin-top: 0px;
    margin-right: 15px;
    margin-left: 0px;
    float: left;
}

#bigtitle{
    font-weight: 700;
    font-size: 2.1875em;
}

#logo_and_type{
    display: flex;
    align-items: center;
    text-align: center;
    flex-direction: row;
}

/* /////////////////////header/////////////////////////////////////////////////////////////////// */
/* /////////////////////main/////////////////////////////////////////////////////////////////// */
main {
    width: 100%;
    max-width: 100%;
    background-color: #FFFFFF;
    position: relative;
    max-height: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding-top: 180px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

/* /////////////////////main/////////////////////////////////////////////////////////////////// */
/* /////////////////////home/////////////////////////////////////////////////////////////////// */
#home {
    width: 100%;
    background-image: url("images/prvyparallax.png");
    position: relative;
    max-height: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    padding: 380px 0px;
}

#welcome {
    font-size: 5em;
    color: #ffffff;
}

#emotion {
    font-size: 2.5em;
    color: #ffffff;
}

/* /////////////////////home/////////////////////////////////////////////////////////////////// */
/* /////////////////////our services/////////////////////////////////////////////////////////////////// */
#services {
    width: 80%;
    background-color: #ffffff;
    margin: auto;
    text-align: center;
    padding: 20px 0px 50px;
    margin-bottom: 50px;
    margin-top: 80px;
}

.rektang {
    width: 70%;
    height: auto;
}

/* /////////////////////partners/////////////////////////////////////////////////////////////////// */
#partners {
    width: 100%;
    background-color: #000000;
    margin: auto;
    text-align: center;
    padding: 20px 0px 50px;
    margin-bottom: 50px;
    margin-top: 80px;
}

.partnertitle{
    color: #FFFFFF;
    font-size: 2.7em;
}
/* /////////////////////partners/////////////////////////////////////////////////////////////////// */
/* /////////////////////placehold/////////////////////////////////////////////////////////////////// */
.row {
    padding: 10px 10px;
    margin-top: 5%;
    display: flex;
    justify-content: space-evenly;
    border-radius: 25px;
}

.column {
    display: flex;
    flex-direction: column;
}

.coolcell {
    flex-basis: 42%;
    background: #000000;
    margin: 0px 20px 0px;
    box-sizing: border-box;
    transition: 0.5s;
    margin-bottom: 3px;
    position: relative;
    overflow: hidden;
}


.coolcell img {
    width: 100%;
    display: block;
}

.layer {
    background: transparent;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: 0.2s;
    color: #ffffff;
    text-decoration: none;
}

.layer:hover {
    background: #000000;
}

.layer h3 {
    width: 100%;
    font-weight: 500;
    color: #ffffff;
    font-size: 26px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    position: absolute;
    opacity: 0;
    transition: 0.5s;
}

.layer:hover h3 {
    bottom: 45%;
    opacity: 1;
}

/* /////////////////////placehold/////////////////////////////////////////////////////////////////// */
/* /////////////////////kontakt/////////////////////////////////////////////////////////////////// */
#kontakt {
    width: 100%;
    background-image: url("images/prvyparallax.png");
    position: relative;
    max-height: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    padding: 50px 0px;
    color: #FFFFFF;
}

article{
    font-size: 1.375em;
    line-height: 60px;
}

/* ///////////////////////kontakt/////////////////////////////////////////////////////////////////// */
/* ///////////////////////lokalita/////////////////////////////////////////////////////////////////// */
#lokalita {
    width: 80%;
    background-color: #ccd7fe;
    margin: auto;
    text-align: center;
    padding: 20px 0px 50px;
    margin-bottom: 50px;
    margin-top: 80px;
}

/* //////////////////////lokalita/////////////////////////////////////////////////////////////////// */
/* //////////////////////footer//////////////////////////////////////////////////////////////////////////// */
footer {
    width: 100%;
    height: 120px;
    background-color: black;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 0px;
}

#footerlist {
    display: block;
    list-style-type: square;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    padding-inline-start: 40px;
}

#footerlist li {
    color: white;
    font-size: 14px;
    list-style-type: none;
    margin: 10px 0px;
}

#email {
    list-style-image: url(images/mail.png);
}

#tel {
    list-style-image: url(images/phone.png);
}

#email:hover {
    text-decoration: underline;
}

#tel:hover {
    text-decoration: underline;
}

/* //////////////////////////footer/////////////////////////////////////////////////////////////////// */

@media (max-width:1200px) {
    #navi {
    height: 160px;
    }

    #logo {
    width: auto;
    height: 100px;
    margin-top: 0px;
    margin-right: 30px;
    margin-left: 0px;
    float: left;
    }

    #bigtitle{
    font-size: 1.5em;
    }

    .navodkaz {
        padding: 72px 12px;
        font-size: 1.1em;
    }

    #welcome {
    font-size: 3em;
    }

    #emotion {
    font-size: 2em;
    }

    p{
        font-size: 0.9em;
    }

    h1{
        font-size: 2.4em;
    }

    h3{
        font-size: 1.125em;
    }

    #home {
    padding: 210px 0px;
    }
}

@media (max-width:835px) {
    #navi {
    height: 160px;
    }

    #logo {
    width: auto;
    height: 100px;
    margin-top: 0px;
    margin-right: 20px;
    margin-left: 0px;
    float: left;
    }

    #bigtitle{
    font-size: 1.3em;
    }

    .navodkaz {
        padding: 72px 12px;
        font-size: 1em;
    }

    #welcome {
    font-size: 2.7em;
    }

    #emotion {
    font-size: 1.975em;
    }

    p{
        font-size: 0.9em;
    }

    h1{
        font-size: 2.4em;
    }

    h3{
        font-size: 1.125em;
    }

    #home {
    padding: 210px 0px;
    }
}

@media (max-width:760px) {
    #navi {
    height: 160px;
    }

    #logo {
    width: auto;
    height: 100px;
    margin-top: 0px;
    margin-right: 20px;
    margin-left: 0px;
    float: left;
    }

    #bigtitle{
    font-size: 1.2em;
    }

    .navodkaz {
        padding: 72px 12px;
        font-size: 0.9em;
    }

    #welcome {
    font-size: 2.5em;
    }

    #emotion {
    font-size: 1.9em;
    }

    p{
        font-size: 0.8em;
    }

    h1{
        font-size: 2.1em;
    }

    h3{
        font-size: 1em;
    }

    #home {
    padding: 210px 0px;
    }
}

@media (max-width:700px) {
    .row {
        flex-direction: column;
    }

    #navi {
    height: 160px;
    }

    #logo {
    width: auto;
    height: 100px;
    margin-top: 0px;
    margin-right: 7px;
    margin-left: 0px;
    float: left;
    }

    #bigtitle{
    font-size: 1.275em;
    }

    .navodkaz {
        padding: 72px 12px;
        font-size: 0.9em;
    }

    #welcome {
    font-size: 2em;
    }

    #emotion {
    font-size: 1.5em;
    }

    p{
        font-size: 0.75em;
    }

    h1{
        font-size: 2.1em;
    }

    h3{
        font-size: 1em;
    }

    #home {
    padding: 210px 0px;
    }
}

@media (max-width:650px) {
    
    #navi {
    height: 160px;
    }

    #logo {
    width: auto;
    height: 90px;
    margin-top: 0px;
    margin-right: 7px;
    margin-left: 0px;
    float: left;
    }

    #bigtitle{
    font-size: 1.2em;
    }

    .navodkaz {
        padding: 72px 12px;
        font-size: 0.7em;
    }

    #welcome {
    font-size: 1.9em;
    }

    #emotion {
    font-size: 1.4em;
    }

    p{
        font-size: 0.7em;
    }

    h1{
        font-size: 2em;
    }

    h3{
        font-size: 0.9em;
    }

    #home {
    padding: 210px 0px;
    }
}

@media (max-width:650px) {
    
    #navi {
    height: 160px;
    }

    #logo {
    width: auto;
    height: 70px;
    margin-top: 0px;
    margin-right: 7px;
    margin-left: 0px;
    float: left;
    }

    #bigtitle{
    font-size: 1.1em;
    }

    .navodkaz {
        padding: 72px 12px;
        font-size: 0.6em;
    }

    #welcome {
    font-size: 1.8em;
    }

    #emotion {
    font-size: 1.3em;
    }

    p{
        font-size: 0.6em;
    }

    h1{
        font-size: 1.9em;
    }

    h3{
        font-size: 0.8em;
    }

    #home {
    padding: 180px 0px;
    }
}

@media (max-width:540px) {
    
    #navi {
    height: 130px;
    }

    #logo {
    width: auto;
    height: 70px;
    margin-top: 0px;
    margin-right: 7px;
    margin-left: 0px;
    float: left;
    }

    #bigtitle{
    font-size: 1em;
    }

    .navodkaz {
        padding: 59px 12px;
        font-size: 0.6em;
    }

    #welcome {
    font-size: 1.8em;
    }

    #emotion {
    font-size: 1.3em;
    }

    p{
        font-size: 0.6em;
    }

    h1{
        font-size: 1.9em;
    }

    h3{
        font-size: 0.8em;
    }

    #home {
    padding: 180px 0px;
    }

    .layer h3 {
    font-size: 0.7em;
    }

    article{
        font-size: 0.9em;
        line-height: 30px;
    }

    footer{
        height: 125px;
        padding: 32px 0px;
    }

    #footerlist li {
        font-size: 0.8em;
        margin: 10px 0px;
    }
}

@media (max-width:480px) {
    
    #navi {
    height: 130px;
    }

    #logo {
    width: auto;
    height: 40px;
    margin-top: 0px;
    margin-right: 7px;
    margin-left: 0px;
    float: left;
    }

    #bigtitle{
    font-size: 0.8em;
    }

   .navodkaz {
        padding: 59px 12px;
        font-size: 0.6em;
    }

    #welcome {
    font-size: 1.6em;
    }

    #emotion {
    font-size: 1.1em;
    }

    p{
        font-size: 0.55em;
    }

    h1{
        font-size: 1.4em;
    }

    h3{
        font-size: 0.7em;
    }

    #home {
    padding: 120px 0px;
    }

    .layer h3 {
    font-size: 0.4em;
    }

    article{
        font-size: 0.8em;
        line-height: 30px;
    }

    footer{
        height: 125px;
        padding: 32px 0px;
    }

    #footerlist li {
        font-size: 0.7em;
        margin: 10px 0px;
    }
}

@media (max-width:386px) {
   
    #navi {
    height: 80px;
    }

    #logo {
    width: auto;
    height: 40px;
    margin-top: 0px;
    margin-right: 1px;
    margin-left: 0px;
    float: left;
    }

    #bigtitle{
    font-size: 0.575em;
    }

    .navodkaz {
        padding: 33px 5px;
        font-size: 0.495em;
    }

    #welcome {
    font-size: 1em;
    }

    #emotion {
    font-size: 0.8em;
    }

    p{
        font-size: 0.75em;
    }

    h1{
        font-size: 2.1em;
    }

    h3{
        font-size: 1em;
    }

    #home {
    padding: 100px 0px;
    }

    .layer h3 {
    font-size: 0.6em;
    }

    article{
        font-size: 0.8em;
        line-height: 30px;
    }

    footer{
        height: 120px;
        padding: 32px 0px;
    }

    #footerlist li {
        font-size: 0.7em;
        margin: 10px 0px;
    }
}