@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100;200;300;400;500;600;700&family=Poppins:wght@100;200;400;500;600&display=swap');
:root {
    --first : #24252a;
    --second : #0088a9;
    --third : #fdffd6;
    /*Wave color gray - 555970*/
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}
html, body {
    overflow-x: hidden;
    position:relative;
}
html::-webkit-scrollbar {
    width: 0.5vw;
}

html::-webkit-scrollbar-thumb {
    background-color: #24252A;
    transition: ease 0.3s;
}

html::-webkit-scrollbar-thumb:hover {
    background-color: #0088a9;
    transition: ease 0.3s;
}

html::-webkit-scrollbar-track {
    background-color: #3d3d44;
}
            /*GOTOP BTN*/
.gotopbtn {
    position: fixed;
    width: 50px;
    height: 50px;
    background: var(--second);
    bottom: 40px;
    right: 50px;
    z-index: 99;
    text-decoration: none;
    text-align: center;
    line-height: 53px;
    color: var(--first);
    font-size: 22px;

}
                        /*---HEADER---*/
header {
    width:100%;
    height: 15vh;
    min-height: 90px;
    position: fixed;
    z-index: 2;
    font-size: 1.6rem;
    font-weight: 500;
    
}
header.nav-active {
    background-color:rgba(36, 37, 42,0.9);
    box-shadow: 0 0 20px var(--first);
    height: 10vh;
}
header.nav-active .logo img {
    height: 80px;
}

.navigation {
    
    min-height: 90px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15%;
}

.navigation a {
    text-decoration: none;
    color: white
}

.nav-bar {
    display: flex;
    justify-content: space-between;
    transition: 0.5s ease-in;
}
.nav-links {
    list-style: none;
}
.nav-links li {
    display: inline-block;
    padding: 0 20px;
}

.nav-links li a {
    color: white;
    transition: all ease 0.3s;
}
.nav-links li a:hover {
    color: var(--second);
    transition: all ease 0.3s;
}

.contact-button {
    transition: all ease 0.3s;
    padding-left: 40px;
}

.contact-button li {
    list-style: none;
}
.contact-button a {
    background: rgba(0,0,0,0.35);
    
    box-shadow: inset -300px 0 0 0 var(--second),0 0 10px var(--second);
    padding: 9px 25px;
    border: none;
    cursor: pointer;
    transition: all ease 0.3s;
    color: var(--first);
    border: 2px solid var(--second);
}
.contact-button a:hover {
    transition: all ease 0.3s;
    color: white;
    box-shadow: inset 0 0 0 0 var(--second), 0 0 10px var(--second);
}

.logo img {
    position: relative;
    z-index: 2;
    cursor: pointer;
    height: 120px;
    width: auto;
    transition: all ease 0.3s; 
}
.logo img:hover {
    transform: scale(1.2);
    transition: all ease 0.3s;
}
                /*--hamburger--*/
@keyframes navLinkFade{
    from{
        opacity:0;
        transform: translateX(50px);
    }
    to{
        opacity: 1;
        transform: translateX(0px);
    }
}

.navbut {
    position: relative;
    z-index: 2;
    display: none;
    cursor: pointer;
    transition: 0.5s ease-in;
}

.navbut div{
    width: 25px;
    height: 3px;
    background-color: white;
    margin-top: 5px;
 }
.line1 {
    transition: 0.5s ease-in;
}
.line2 {
    transition: 0.5s ease-in;
}
.line3 {
    transition: 0.5s ease-in;
}
.toggle .line1{
    transform: rotate(-45deg) translate(-5px,6px);
    transition: 0.5s ease-in;
}
.toggle .line2{
    opacity: 0;
    transition: 0.5s ease-in;
}
.toggle .line3{
    transform: rotate(45deg) translate(-5px,-6px);
    transition: 0.5s ease-in;
}
                        /*---MAIN---*/
.main {
    width: 100%;
}
            /*--MAINPAGE--*/
.mainpage {
    position: relative;
    z-index: 1;
    width: 100%;
    height: auto;
    min-height: 890px;
    max-height: 950px;
    background: linear-gradient( rgba(36, 37, 42,0.9),rgba(36, 37, 42,0.35) 60%), url(img/background-wave-mainpage.svg), url(img/PJ\ Design\ background.jpg); 
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center, bottom left, center;
}

.main-info {
    width: 80%;
    margin: 0 auto;
    padding-top: 250px;
    text-align: center;
    color: white;
}

.main-info h1 {

    z-index: 2;
    font-size: 4rem;
}
.main-info h2 {
    font-size: 3.5rem;
}

.infotabs {
    color: var(--second);
    font-weight: 600;
    font-size: 1.5rem;
    display: flex;
    justify-content: space-evenly;
}
.infotab {
    width: 25%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.infotab ion-icon {
    height: 30px;
    width: 30px;
    margin-right: 5px;
}

.btns {
    padding-top: 50px;
    margin: 0 auto;
    width: 80%;
    display: flex;
    justify-content: space-evenly;
    font-weight: 700;
}

.btns .btn1 button{
    padding: 10px 0;
    width: 300px;
    cursor: pointer;
    font-size: 1.5rem;
    color: white;
    text-decoration: none;
    font-weight: 500;
    background: rgba(0,0,0,0.35);
    box-shadow: inset 0 0 0 0 var(--second),0 0 10px var(--second);
    border: 2px solid var(--second);
    transition: all ease 0.3s;
}
.btns .btn1 button:hover {
    color: var(--first);
    box-shadow: inset 300px 0 0 0 var(--second),0 0 10px var(--second);
    transition: all ease 0.3s;
}

.btns .btn2 button{
    padding: 10px 0;
    width: 300px;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--first); 
    text-decoration: none;
    background: rgba(0,0,0,0.35);
    font-weight: 500;
    box-shadow: inset -300px 0 0 0 var(--second),0 0 10px var(--second);
    border: 2px solid var(--second);
    transition: all ease 0.3s;
    
}

.btns .btn2 button:hover {
    color: white;
    box-shadow: inset 0 0 0 0 var(--second),0 0 10px var(--second);
    transition: all ease 0.3s;
}


            /*---Main-Cards---*/
.main-cards {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 400px;
    padding-top: 10px;
    background: var(--first);
}

.main-cards h1 {
    color: white;
    text-align: center;
    font-size: 2.5rem;
}
.main-cards .underline {
    height: 4px;
    width: 180px;
    margin: 0 auto;
    border-radius: 2px;
    background-color: var(--second);
    -webkit-box-shadow: 0 0 10px var(--second);
    box-shadow: 0 0 10px var(--second);
}
.main-cards .cards {
    width: 80%;
    margin: 0 auto;
    padding: 50px 0;
    display: flex;
    justify-content: space-evenly;
}
.main-cards .card {
    width: 25%;
    text-align: center;
}
.main-cards .card h2 {
    color: var(--second);
    position: relative;
	padding: 0 0 10px;
	margin-bottom: 10px;
}
.main-cards .card h2:after{
	content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    height: 4px;
    width: 50px;
    border-radius: 2px;
    background-color: var(--second);
    -webkit-box-shadow: 0 0 10px var(--second);
    box-shadow: 0 0 10px var(--second);
}
.main-cards .card p {
    color: white;
    font-size: 1.2rem;
}


                        /*---ABOUT---*/
.about-me {
    background: url(img/wave-aboutme-lower.svg), url(img/wave-aboutme-upper.svg) ;
    background-repeat: no-repeat;
    background-size: cover;
    background-position:bottom right,top right;
    position: relative;
    height: auto;
    min-height: 500px;
    padding-top: 40px;
    padding-bottom: 225px;
}
.about-me h1 {
    color: var(--first);
    text-align: center;
    font-size: 2.5rem;
    padding-top: 150px;
}
.about-me .underline {
    height: 4px;
    margin: 0 auto;
    width: 180px;
    border-radius: 2px;
    background-color: var(--second);
    -webkit-box-shadow: 0 0 10px var(--second);
    box-shadow: 0 0 10px var(--second);
}
.about-me .text {
    width: 50%;
    margin: 0 auto;
    padding-top: 30px;
    color: var(--first);
    font-size: 1.2rem;
    text-align: center;
}

.wave3 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.wave3 svg {
    position: relative;
    display: block;
    width: calc(149% + 1.3px);
    height: 100px;
    transform: rotateY(180deg);
}

.wave3 .shape-fill {
    fill: #24252A;
}
                        /*---OFFERS---*/


.main-offers {
    background: url(img/wave-offers-upper1.svg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top right;
    width: 100%;
    height: auto;
    min-height: 800px;
    position: relative;
    padding-top: 150px;
}
.main-offers h1 {
    color: white;
    text-align: center;
    font-size: 2.5rem;
}
.main-offers .underline {
    height: 4px;
    margin: 0 auto;
    width: 180px;
    border-radius: 2px;
    background-color: var(--second);
    -webkit-box-shadow: 0 0 10px var(--second);
    box-shadow: 0 0 10px var(--second);
}
.offers {
    display: flex;
    justify-content: space-evenly;
    width: 80%;
    margin: 0 auto;
    padding-top: 50px;
}
.box {
    z-index: 1;
    position: relative;
    color: #24252A;
    width: 350px;
    min-height: 500px;
    padding: 50px;
    background: white;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0,0,0,0.5);
    transition: all ease 0.3s;
}
.box:hover {
    transform: scale(1.05);
    transition: all ease 0.3s;
}

.box h1 {
    min-height: 76px;
    font-size: 25px;
    margin-bottom: 20px;
    color: #0088a9;
}

.box b {
    font-weight: 600;
    min-height: 125px;
    display: block;
}
.box p {
    font-size: 14px;
    margin-bottom: 20px;
}
.photo {
    height: 200px;
    margin: 20px 0;
}
.box img {
    width: 100%;
    transition: all ease 0.3s;
}
.box:hover img {
    transition: all ease 0.3s;
    transform: scale(1.2);
}
.offers button {
    background: #24252A;
    box-shadow: inset -300px 0 0 0 #0088a9,0 0 10px #0088a9;
    padding: 9px 25px;
    border: none;
    cursor: pointer;
    transition: all ease 0.3s;
    color: #24252A;
    font-weight: 600;
    font-size: 1.3rem;
    border: 2px solid #0088a9;
}
.offers button:hover {
    transition: all ease 0.3s;
    color: #0088a9;
    box-shadow: inset 0 0 0 0 #0088a9, 0 0 10px #0088a9;
}

.ribbon-wrap {
    width: 150px;
    height: 150px;
    overflow: hidden;
    position: absolute;
    top: -10px;
    left: -10px;
}

.ribbon-wrap::before, .ribbon-wrap::after {
    content: '';
    width: 10px;
    height: 10px;
    background: #005368;
    position: absolute;
    z-index: -1;
}
.ribbon-wrap::before {
    top: 0;
    right: 0;
}
.ribbon-wrap::after {
    bottom: 0;
    left: 0;
}
.ribbon {
    width: 225px;
    font-size: 15px;
    text-align: center;
    padding: 8px 0;
    background-color: #0088a9;
    color: #24252A;
    position: absolute;
    transform: rotate(-45deg);
    right: -17%;
    top: 29%;
}

                        /*---REFERENCE---*/
.reference {
    background: url(img/wave-reference-lower2.svg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom right;
    width: 100%;
    height: auto;
    min-height: 700px;
    position: relative;
    padding-top: 150px;
}
.reference h1 {
    color: #24252A;
    text-align: center;
    font-size: 2.5rem;
}
.reference .underline {
    height: 4px;
    margin: 0 auto;
    width: 180px;
    border-radius: 2px;
    background-color: var(--second);
    -webkit-box-shadow: 0 0 10px var(--second);
    box-shadow: 0 0 10px var(--second);
}
.refs {
    padding-top: 100px;
    width: 80%;
    margin: 0 auto;
    height: 100%;
    display: flex;
    justify-content: space-evenly;
}
.ref {
    display: flex;
    justify-content: space-evenly;
}
.ref a {
    display: flex;
    align-items: center;
    cursor: unset;
}
.ref img {
    width: 70%;
    height: auto;
    margin: 0 auto;
    transition: all ease 0.3s;
}
.ref img:hover {
    cursor: pointer;
    transition: all ease 0.3s;
    transform: scale(1.2);
}
                        /*---KONTAKT---*/
.contacts {
    width: 100%;
    height: auto;
    min-height: 500px;
    background: #24252A;
    /* background-position: bottom left;
    background-repeat: no-repeat;
    background-size: cover; */
    padding-top: 100px;
}
.contacts h1 {
    color: white;
    text-align: center;
    font-size: 2.5rem;
}
.contacts .underline {
    height: 4px;
    margin: 0 auto;
    width: 180px;
    border-radius: 2px;
    background-color: var(--second);
    -webkit-box-shadow: 0 0 10px var(--second);
    box-shadow: 0 0 10px var(--second);
}
.contacts .contact-text {
    text-align: center;
    color: white;
    font-size: 1.6rem;
    font-weight: 500;
    padding: 50px;
}

/*FORM*/
.contacts .contact {
    padding: 20px;
}
.contact-box{
    margin: 0 auto;
	max-width: 850px;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	justify-content: center;
	align-items: center;
	text-align: center;
	background-color: #fff;
	box-shadow: 0px 0px 19px 5px rgba(0,0,0,0.19);
    border-radius: 10px;
}
        /*LEFT*/
.left {
    padding: 25px 40px;
    display: flex;
    flex-direction: column;
}
.left a {
    color: var(--first);
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 0;
    font-size: 1.4rem;
    font-weight: 500;
}
.left ion-icon {
    padding-right: 5px;
}
        /*RIGHT*/
.right{
	padding: 25px 40px;
}
.contact-box h2{
	position: relative;
	padding: 0 0 10px;
	margin-bottom: 10px;
}

.contact-box h2:after{
	content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    height: 4px;
    width: 50px;
    border-radius: 2px;
    background-color: var(--second);
    -webkit-box-shadow: 0 0 10px var(--second);
    box-shadow: 0 0 10px var(--second);
}

.field{
	width: 100%;
	border: 2px solid rgba(0, 0, 0, 0);
	outline: none;
	background-color: rgba(230, 230, 230, 0.6);
	padding: 0.5rem 1rem;
	font-size: 1.1rem;
	margin-bottom: 22px;
	transition: .3s;
}

.field:hover{
	background-color: rgba(0, 0, 0, 0.1);
}

.field:focus{
    border: 2px solid var(--second);
    background-color: #fff;
}

textarea{
	height: 150px;
    width: auto;
}

.btn{
	width: 300px;
	color: #fff;
	font-size: 1.1rem;
    padding: 10px 0;
    cursor: pointer;
    color: var(--first); 
    text-decoration: none;
    background-color: var(--first);
    font-weight: 500;
    box-shadow: inset -300px 0 0 0 var(--second),0 0 10px var(--second);
    border: 2px solid var(--second);
    transition: all ease 0.3s;
}

.btn:hover{
    box-shadow: inset 0 0 0 0 var(--second),0 0 10px var(--second);
    transition: all ease 0.3s;
    color: white;
}


                        /*---FOOTER---*/
footer {
    padding: 20px;
    padding-top: 200px;
    background: url(img/wave-footer.svg);
    background-position: top left;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 400px;
    width: 100%;
    display: flex;
    justify-content: space-around;
    color: var(--first);
}
.footer-contact {
    display: flex;
    justify-content: space-evenly;
    align-items: center;

}
.footer-contact img {
    height:100px;
    width: auto;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    justify-content: center;

}
.footer-nav a {
    color: var(--first);
    text-decoration: none;
    font-size: 1.15rem;
    font-weight: 500;
}
.footer-nav a:hover {
    color: var(--second);
}
.footer-nav ul {
    list-style-type: none;
    padding-left: 20px;
}
.footer-nav li::before {
    content: "•"; 
    color: var(--second);
    display: inline-block; 
    width: 1em;
    margin-left: -1em
}



                        /*---REVEALS*/
.reveal{
  position: relative;
  transform: translateY(150px);
  opacity: 0;
  transition: all 2s ease;
}

.reveal.active{
  transform: translateY(0px);
  opacity: 1;
}
.revealleft{
    position: relative;
    transform: translateX(-150px);
    opacity: 0;
    transition: all 2s ease;
}
  
.revealleft.active{
    transform: translateX(0px);
    opacity: 1;
}
.revealright{
    position: relative;
    transform: translateX(150px);
    opacity: 0;
    transition: all 2s ease;
} 
.revealright.active{
    transform: translateX(0px);
    opacity: 1;
}

                        /*---RESPONSIVITY---*/
@media screen and (max-width:1390px) {
    .main-offers {
        background: url(img/wave-offers-upper2.svg);
        background-repeat: no-repeat;
        background-position: top right;
        background-size: cover;
    }
    .offers {
        flex-direction: column;
        width: 100%;
    }
    .offers .box {
        margin: 30px auto;
    }
    .box h2 {
        margin: 0;
    }
        
    .about-me .text {
        width: 80%;
    }
}                        
@media screen and (max-width:1180px) {
    .navigation {
        padding: 10px 15px;
    }
    .cards-width {
        width: 95%;
    }
    .btns {
        width: 100%;
    }
}
@media screen and (max-width:1100px) {
    .main-cards .cards {
        display: flex;
        flex-direction: column;
        padding-bottom: 110px;
    }
    .main-cards .card {
        padding-top: 30px;
        width: 60%;
        margin: 0 auto;
    }   
}
@media screen and (max-width:860px) {
            /*---NAVIGATION---*/
    header {
        background: rgba(36, 37, 42, 0.7);
        height: 10vh;
    }
    header.nav-active {
        background-color:rgba(36, 37, 42, 0.7);
        box-shadow: none;
        height: 10vh;
    }
    .navigation {
        padding: 10px 10%;
        height: 10vh;
    }

    .logo img {
        height: 80px;
    }
    .nav-bar {
        width: 100%;
        position: absolute;
        z-index: 1;
        right: 0px;
        height: 40vh;
        min-height: 350px;
        top: max(10vh,90px);
        background: linear-gradient(180deg, rgba(36, 37, 42, 0.7), rgba(36, 37, 42, 0.9));
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transform: translateX(100%);
        
    }
    .nav-links {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .contact-button {
        padding-left: 0;
        padding: 15px 0;
        
    }
    .nav-links li {
        padding: 15px;

    }
    .nav-bar li {
        opacity: 0;
    }
    .navbut {
        display: block;
        transition: 0.5s ease-in;
    }
    /*---MAINPAGE---*/
    .main-info {
        padding-top: 135px;
    }
    .main-info .btns {
        display: flex;
        flex-direction: column;
    }
    .main-info .btn2 {
        margin-top: 50px;
    }
    /*---REFERENCE---*/
    .reference .refs {
        display: flex;
        flex-direction: column;
    }
    .reference .refs .ref {
        width: 80%;
        margin: 30px auto;
    }
    /*---FORM---*/
    .contact-box {
        display: flex;
        flex-direction: column;
        
    }
    /*---FOOTER---*/
    footer {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .footer-contact {
        padding-bottom: 50px;
    }
}

@media screen and (max-width:745px) {
    .main-info h1 {
        font-size: 3rem;
    }
    .main-info h2 {
        font-size: 2.5rem;
    }
    .main-info {
        width: 90%;
    }
}


@media screen and (max-width:545px) {
    .mainpage {
        min-height: 750px;
    }
    .main-cards .cards {
        width: 100%;
    }
    .main-cards .cards .card {
        width: 80%;
    }
    /*---REFERENCE---*/
    .reference .refs {
        width: 90%;
    }
    .reference .refs .ref {
        width: 100%;
    }
    .reference .refs .ref img {
        width: 85%;
    }
	/*FORM*/
    .contact-box .left a {
        font-size: 1.2rem;
    }
 }






































.nav-active { /*Musí být na konci!!*/
    transform: translateX(0%);
    transition: 0.5s ease-in;
}