*{
    margin: 0;
    padding: 0;
    text-decoration: none;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    box-sizing: border-box;
}

html{
    scroll-behavior: smooth;
}

body{
    background-color: rgb(255, 255, 255);
}

.navbar{
    background-color: #0077b6;
    padding-right: 5%;
    padding-left: 5%;
}

.navdiv{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo{
    scale: 115%;
    margin: 3%;
}

li{
    list-style: none;
    display: inline-block;
}

header .navbar .navdiv ul li a{
    color: whitesmoke;
    font-size: 140%;
    font-weight: bold;
    padding: 30px;
    transition: transform 0.3s ease;
    display: block;
}

header .navbar .navdiv ul li a:hover{
    transform: translateY(-7px);
}

.container{
    padding: 20px 10%;
}

.container .nazev{
    text-align: center;
    padding-bottom: 20px;
    color: #000000;
    font-size: 225%;
}

.container .box-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap:  25px;
}

.container .box-container .box{
    border-radius: 5px;
    background: #0077b6;
    text-align: center;
    padding: 50px 30px;
}

.container .box-container .box img{
    height: 100px;
}

.container .box-container .box h3{
    color: whitesmoke;
    font-size: 140%;
    padding: 10px 0;
}

.container .box-container .box p{
    color: rgb(221, 221, 221);
    font-size: 17px;
    line-height: 1.3;
    margin-bottom: 15px;
}

.container .box-container .box a{
    color: whitesmoke;
    background: none;
    padding-top: 10px;
    display: inline-block;
    font-size: 20px;
    border-radius: 25px;
    border: 2px solid whitesmoke;
    padding: 6px 20px;
}

.container .box-container .box a:hover{
    letter-spacing: 1px;
    background: whitesmoke;
    color: #0077b6;
    transition: 1s;
}

.container .box-container .box:hover{
    transform: scale(1.02);
    transition: 0.5s;
}

.aboutus{
    width: 100%;
    height: 500px;
    background-color: #0077b6;
    margin-top: 50px;
}

.aboutus .nazev2{
    text-align: left;
    padding-top: 3%;
    padding-left: 5%;
    color: whitesmoke;
    font-size: 225%;
}

.aboutus p{
    width: 50%;
    box-sizing: border-box;
    margin-left: 5%;
    padding-top: 15px;
    color: rgb(221, 221, 221);
    font-size: 22px;
    float: left;
    line-height: 1.4;
}

.aboutus p a{
    color: rgb(27, 27, 27);
}

.aboutus p a:hover{
    color: #000000;
}


.aboutus img{
    display: flex;
    float: right;
    padding-right: 10%;
    margin-top: -240px;
}

.container2{
    padding: 20px 10%;
    
}

.container2 .nazev3{
    text-align: center;
    margin-top: 20px;
    padding-bottom: 10px;
    color: #000000;
    font-size: 225%;
}

.container2 .box-container2{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap:  25px;
}

.container2 .box-container2 .box2{
    border-radius: 0px;
    
    text-align: center;
    padding: 50px 30px;
}

.container2 .box-container2 .box2 img{
    height: 300px;
}

.container2 .box-container2 .box2 h3{
    color: rgb(0, 0, 0);
    font-size: 140%;
    padding: 10px 0;
}

.container2 .box-container2 .box2 p{
    color: rgb(27, 27, 27);
    font-size: 17px;
    line-height: 1.3;
    margin-bottom: 15px;
}

.container2 .box-container2 .box2:hover{
    transform: scale(1.07);
    transition: 0.5s;
}

.gallery{
    width: 100%;
    height: 1000px;
    background-color: #0077b6;
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gallery .nazev3{
    text-align: center;
    padding-top: 3%;
    color: whitesmoke;
    font-size: 225%;
}

.gallery .galleryFlex{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1200px;
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    padding-left: 4%;
    padding-top: 20px;
}

.gallery img{
    width: 300px;
    padding: 20px;
    object-fit: cover;
    object-position: bottom;
}

.gallery img:hover{
    transform: translateY(-15px);
    transition: 0.5s;
}

.references .nazev4{
    text-align: center;
    margin-top: 20px;
    padding-bottom: 10px;
    color: rgb(0, 0, 0);
    font-size: 225%;
}

.references{
    padding: 40px 0;
    text-align: center;
}

.references .inner{
    max-width: 1200px;
    margin: auto;
    overflow: hidden;
    padding: 0 20px;
}

.references .inner .row{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.references .inner .row .col{
    flex: 33.33%;
    max-width: 33.33%;
    box-sizing: border-box;
    padding: 15px;
}

.references .inner .row .col .feedback{
    background: #0077b6;
    padding: 30px;
    border-radius: 5px;
}

.references .inner .row .col .feedback img{
    width: 200px;
    height: 200px;
    border-radius: 50%;
}

.references .inner .row .col .feedback .name{
    font-size: 20px;
    text-transform: uppercase;
    margin: 10px 0;
    color: whitesmoke;
}

.references .inner .row .col .feedback p{
    color: rgb(221, 221, 221);
}

.contactUs .nazev5{
    text-align: center;
    padding-top: 50px;
    padding-bottom: 10px;
    color: whitesmoke;
    font-size: 225%;
}

.contactUs{
    background: #0077b6;
    width: 100%;
    height: 600px;
}

.contactUs .containerContact{
    width: 50%;
    margin: 50px auto;
}

.contactUs .containerContact .contactBox{
    background: white;
    display: flex;
    border: #000000 solid 5px;
}

.contactUs .containerContact .contactBox .contactLeft{
    flex-basis: 50%;
    padding: 40px 60px;
}

.contactUs .containerContact .contactBox .contactRight{
    flex-basis: 50%;
    padding: 40px;
    background: #ffffff;
}

.contactUs .containerContact .contactBox .contactRight h3{
    font-size: 130%;
}

.contactUs .containerContact .contactBox .contactLeft h3{
    font-size: 130%;
}

tr td:first-child{
    padding: 20px;
    color: rgb(27, 27, 27);
}

.clock{
    background: #0077b6;
    justify-content: center;
    align-items: center;
    display: flex;
}

.clock .datetime{
    color: whitesmoke;
    width: 340px;
    padding: 15px 10px;
    border: 5px solid whitesmoke;
    border-radius: 5px;
}

.clock .datetime .date{
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    letter-spacing: 3px;
}

.clock .datetime .time{
    font-size: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.clock .datetime .time span:not(:last-child){
    position: relative;
    margin: 0 6px;
    font-weight: 600;
    text-align: center;
    letter-spacing: 3px;
}

.clock .datetime .time span:last-child{
    font-size: 30px;
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 10px;
    padding: 0 5px;
}

.clock .datetime:hover{
    color: #0077b6;
    background: whitesmoke;
}

.creator{
    background: #0077b6;
}

.creator p{
    color: whitesmoke;
    text-align: center;
    font-size: 150%;
    padding: 5%;
}

@media (max-width:768px){
    .navdiv {
        flex-direction: column;
        align-items: center;
    }

    .logo {
        margin: 0;
    }

    .navdiv ul {
        padding: 0;
        margin: 10px 0;
    }

    .navdiv ul li {
        display: block;
        margin: 5px 0;
    }
    
    .container{
        padding: 20px;
    }

    .container2{
        padding: 20px;
    }

    .aboutus{
        padding: 10%;
        height: auto;
    }

    .aboutus p{
        width: 100%;
        font-size: 100%;
    }

    .aboutus img{
        float: none;
        margin-top: 20px;
        padding-right: 0;
    }

    .aboutus .nazev2{
        text-align: center;
    }

    .gallery{
        height: 450px;
    }

    .gallery img{
        width: 100%;
        padding: 10px;
    }

    .references .inner .row .col{
        flex: 100%;
        max-width: 100%;
    }

    .references .inner .row .col .feedback img{
        width: 150px;
        height: 150px;
    }

    .contactUs .nazev5 {
        font-size: 180%;
    }

    .contactUs {
        height: auto;
        padding: 20px 10px;
    }

    .contactUs .containerContact {
        width: 90%;
    }

    .contactUs .containerContact .contactBox {
        flex-direction: column;
        align-items: center;
    }

    .contactUs .containerContact .contactBox .contactLeft,
    .contactUs .containerContact .contactBox .contactRight {
        padding: 20px;
        width: 100%;
    }

    .contactUs .containerContact .contactBox .contactRight img {
        width: 100%;
        height: auto;
    }

    .contactUs .creator p {
        font-size: 120%;
    }
}

@media only screen and (max-width: 1440px) and (max-height: 1024px) {
    .container {
        padding: 10px 5%;
    }

    .container .nazev, 
    .container2 .nazev3, 
    .gallery .nazev3, 
    .references .nazev4, 
    .contactUs .nazev5 {
        font-size: 200%;
    }

    .aboutus p {
        width: 100%;
        margin-left: 0;
        text-align: center;
    }

    .aboutus img {
        margin: 20px auto;
    }

    .contactUs .containerContact {
        flex-direction: column;
    }

    .gallery img {
        width: 100%;
    }
}