@import url('https://fonts.googleapis.com/css?family=Quattrocento+Sans|Ubuntu|Cinzel+Decorative');

body {
    background: url('http://travelux.fi/images/travelux2.jpg') no-repeat fixed;
    background-size:cover; 
    margin: 0; 
    padding: 0;
    text-align: justify;
    font-family: 'Quattrocento Sans';
    font-size:17px;
    line-height:180%;
    
}

/* kaksi seuraavaa suoraan toisesta css-tiedostosta */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    font-style: normal;
    font-weight: normal;
    font-family: "Montserrat";
}

body {
    background: url(../images/travelux2.jpg) no-repeat fixed;
    background-size: cover;
    display:flex; 
    flex-direction:column; 
    height:100vh; 
    margin:0;
}



/*nav {
    background-color: rgba(20,20,20,1.0);
    top: 0;
    z-index:5;
    width: 100%;
    /*height: 60px;
    line-height: 60px;
    margin-bottom: 60px;*pois
    display:flex;
    flex-wrap:wrap;
    justify-content: space-around;
    
    position:fixed;
}

nav a {
    font-family: Arial; 
    color: #cccccc; 
    font-size: 16px; 
    letter-spacing: 2px; 
    text-decoration:none;
    flex-base: auto;
    margin: 5px 4px 5px 4px;
}

nav a:hover {
    font-family: Arial; 
    color: #f9d29b; 
    font-size: 17px; 
    text-shadow: 0 0 3px #FFFFFF;
}

#navigation {
    top: 0;
    z-index:5;
    width: 100%; 
    background:rgba(20,20,20,1.0); 
    height: 60px; 
    line-height: 60px;
    margin-bottom: 60px;
    text-align: center;
    position:fixed;
    
}

#navigation a {
    margin-left: 25px; 
    margin-right: 25px; 
    font-family: Arial; 
    color: #cccccc; 
    font-size: 16px; 
    height: 64px;
    letter-spacing: 2px; 
    text-decoration:none;
    
}
#navigation a:hover {
    font-family: Arial; 
    color: #f9d29b; 
    font-size: 17px; 
    text-shadow: 0 0 3px #FFFFFF;
    
}*/

#header1 {
    width: 100%; 
    height: 500px; 
    text-align: center; 
    font-family: 'Cinzel Decorative'; 
    color: #FFFFFF; 
    text-shadow: 0 0 4px #f1f1f1;
    font-size: 100px; 
    line-height:500px;
    
}
#first {
    width: 100%;
    background:rgba(210,210,210, 0.95); 
    margin: 0 auto;
    padding: 60px 0 60px;
    color:#333;
    
}
#second {
    width: 100%;
    background:rgba(200,200,200, 0.7); 
    margin: 0 auto;
    padding: 60px 0 60px;
    
}
/*#footer {
    width:100%;
    background:rgba(20,20,20, 1);
    padding-top:45px;
    padding-bottom:45px;
    font-family:Abel;
    font-size: 17px;
    color:#8f8f8f;
    text-align: center;
    line-height:150%;
    
}

.foot {
    font-family: 'Quattrocento Sans';
    font-size: 14px;
    text-align: center;
    color: #cccccc;
    line-height: 180%;
    width: 90%;
    margin:auto;
    
}
.foot td {
    padding: 5px 25px 10px 20px;
    width: 33%;
    
}

.navicontent {
    margin: 0 auto;
    width: 100%;
    
}*/


.content {
    margin: 0 auto;
    width: 65%;
    
}

h1{
    font-family:Ubuntu;
    text-transform:uppercase;
    font-size:28px;
    color:#333333;
    font-weight:normal;
    margin-top:30px;
    text-align:center;
    
}
h2{
    font-family:Ubuntu;
    text-transform:uppercase;
    font-size:28px;
    color:#ffffff;
    font-weight:normal;
    margin-top:30px;
    text-align:center;
    
}
h3{
    font-family:Ubuntu;
    text-transform:uppercase;
    font-size:20px;
    color:#333333;
    font-weight:normal;
    text-align:center;
    
}
h4{
    font-family:Ubuntu;
    text-transform:uppercase;
    font-size:16px;
    color:#333333;
    margin-bottom:0px;
    
}
h5{
    font-family:Ubuntu;
    text-transform:uppercase;
    font-size:24px;
    color:#333333;
    font-weight:normal;
    text-align:center;
    margin: 1.3em;    
}
copy {
    font-family:'Quattrocento Sans';
    text-align:center;
    color:#444;
    margin:auto;
    font-size:14px;
    
}


/*a:link, a:visited {
    color:#bcd4e2;
    text-decoration:none;
    
}
a:active, a:hover {
    color:#6e8999;
    transition: 0.5s;
    
}

a.toinen:link, a.toinen:visited {
    color: #6e8999;
    
}
a.toinen:active, a.toinen:hover {
    color: #bcd4e2;
    transition: 0.5s;
    
}*/

.boxes {
    width:100%;
    font-family:Quattrocento Sans; 
    font-size: 15px;
    margin: auto;
    border-spacing: 20px; 
    border-collapse: separate;
    line-height:160%;
                
}
.boxes td {
    width: 33%;
    padding: 30px;
    background: #dbdbdb; 
    vertical-align: center;
    
}
.mukavuudet {
    width:100%;
    font-family:'Quattrocento Sans'; 
    font-size: 15px;
    background: #dbdbdb;
    margin: auto;
    border-spacing: 20px; 
    border-collapse: separate;
    margin-top:20px;
    margin-bottom:20px;
    margin-right:300px;
    line-height:160%;
}

.mukavuudet p {
    font-size: 1.1em;
}

.varusteet {
    width:100%;
    font-family:'Quattrocento Sans'; 
    font-size: 15px;
    background:none;
    margin: auto;
    border-spacing: 20px; 
    border-collapse: separate;
    margin-top:20px;
    margin-bottom:20px;
    margin-right:300px;
    line-height:160%;
    
}
.varusteet td {
    width: 50%;
    padding: 30px;
    text-align:center;
    
}
.vene {
    width:100%;
    font-family:'Quattrocento Sans'; 
    font-size: 15px;
    background: #dbdbdb;
    margin: auto;
    border-spacing: 20px; 
    border-collapse: separate;
    margin-top:30px;
    margin-bottom:30px;
    line-height:160%;
    
}
.vene td {
    width: 33%;
    padding: 30px;
        
}

.hinta {
    width:75%;
    font-family:'Quattrocento Sans'; 
    font-size: 15px;
    margin: auto;
    border-spacing: 5px; 
    border-collapse: separate;
    margin-top:30px;
    margin-bottom:30px;
    line-height:120%;
    
}
.hinta td {
    background: #dbdbdb;
    width: 33%;
    padding: 5px 30px 5px 30px;
    
}



.venekuva {
    margin-right: 15px;
    border: 4px solid #ccc; 
    width:70%;
    
}

.some {
    padding: 20px;
    margin-right: 5px;
    width: 50px;
    
}

.some2 {
    padding: 15px 0 15px 0;
    margin-right: 6px;
    width: 45px;
    
}

.btn {
    /*background-color: #4980b7;*/
    background-image: linear-gradient(#4980b7, #0a67c4);
    border: none;
    text-decoration: none;
    padding: 15px 30px;
    text-align: center;
    color:#000000;
    font-size: 30px;
    border-radius:10px;
    cursor: pointer;
    box-shadow:2px 3px 4px;
}

.btn:hover {
    background:#151516;
    color:#f9d29b;
    transition:0.05s;
    font-size: 32px;
}

.btn-style{ 
    text-align: center;
    font-family:'Quattrocento Sans';
}

.btn-send{
    background-image: linear-gradient(#4980b7, #0a67c4);
    border: none;
    text-decoration: none;
    padding: 5px 10px;
    font-size: 20px;
    cursor: pointer;
    margin: 5px;
}

.pdf_link:link, .pdf_link:visited {
    color:#162e54;
    text-decoration:none;
}

.pdf_link:hover {
    color: orange;
    transition: 0.1s;
}

.juhlapaketitBeta {
    width:100%;
    font-family:'Quattrocento Sans'; 
    font-size: 15px;
    background: #dbdbdb;
    margin: auto;
    border-spacing: 20px; 
    border-collapse: separate;
    margin-top:30px;
    margin-bottom:30px;
    line-height:160%;
}

.juhlapaketitBeta td {
    width: 100%;
    padding: 30px;
}


/*Navigaatio muilta sivuilta*/
ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.navbar {
    top: auto;
    z-index: 100;
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: rgba(20,20,20, 1);
    height: 111px;
    width: 100%;
    position: fixed;
    float: left;
}
#logo {
    width: 64px;
    height: 76px;
    padding-top: 10px;
    box-sizing: content-box;
    padding-bottom: 10px;
    padding-left: 30px;
    cursor: pointer;
}
#logo1 {
    height: 64px;
    padding-top: 10px;
    box-sizing: content-box;
    padding-bottom: 10px;
    padding-left: 30px;
    cursor: pointer;
}
.nav-links ul {
    list-style: none;
    display: flex;
}
.nav-links li a {
    display: block;
    padding-left: 60px;
    color: #e1e4eb;
    cursor: pointer;
    z-index: 998;
}
.toggle-button {
    position: absolute;
    right: 6%;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    border: none;
    background-color: transparent;
    outline: none;
    font-size:50px;
}
#toggle {
    font-size: 50px;
    color: #e1e4eb; 
    box-sizing: content-box;
}



.desktop {
    display: block;
}
.mobile {
    display: none;
}
.mobile55on {
    display: none;
}

.nopee-container {
    width: 70%;
    z-index:100000;
    background: #dbdbdb;
    margin-bottom: 20px;
}

footer {
    background:rgba(20,20,20, 1);
    width: 100%;
    font-family: 'Quattrocento Sans';
    font-size: small;
    text-align: center;
    color: #cccccc;
    line-height: 180%;
    padding: 1.3em 0 1.3em 0;
    margin-top: auto;
}

.footer-box {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    justify-items: center;
    align-items: center;
    grid-template-areas: ". in  mid last .";
    grid-gap:1em;
}

.footer-in {
    justify-items: end;
    grid-area: in;
}

.footer-mid {
    grid-area: mid;
}

.footer-end {
    grid-area: last;
}
.logos {
    width:50px;
}

@media (max-width: 1400px) {
    .desktop{
        display: none;
    }
    
}

@media (max-width: 900px) {
    .nav-links li a {
        padding-left: 35px;
    }
}

@media (max-width: 750px) {
    .navbar {
        height: 80px;
        justify-content: space-between;
    }
    #logo {
        width: 46px; 
        height: 55px;
    }
    .mobile{
        display: block;
    }
    .nav-links ul {
        top: 80px;
        padding-bottom: 111px;
        position: fixed;
        background: rgba(20,20,20, 1);
        height: 100vh;
        width: 100%;
        flex-direction: column;
        justify-content: center;
        clip-path: circle(0 at 90% -50%);
        -webkit-clip-path: circle(0 at 90% -50%);
        transition: all 1s ease-out;
        pointer-events: none;
        flex-wrap: wrap;
        right: 0;
    }

    .nav-links ul li {
        padding-bottom: 1em;
        opacity: 0;
    }

    .nav-links li a {
        font-size: 1.4em;
        color: #e1e4eb;
    }

    .nav-links ul li:nth-child(1) {
        transition: all 0.5s ease 0.2s;
    }

    .nav-links ul li:nth-child(2) {
        transition: all 0.5s ease 0.2s;
    }

    .nav-links ul li:nth-child(3) {
        transition: all 0.5s ease 0.2s;
    }

    .nav-links ul li:nth-child(4) {
        transition: all 0.5s ease 0.2s;
    }

    .nav-links ul li:nth-child(5) {
        transition: all 0.5s ease 0.2s;
    }

    .nav-links ul li:nth-child(6) {
        transition: all 0.5s ease 0.2s;
    }

    .nav-links ul li.fade {
        opacity: 1;
    }

    .nav-links ul.active {
        clip-path: circle(calc(150vh + 150vw) at 90% -50%);
        -webkit-clip-path: circle(calc(150vh + 150vw) at 90% -50%);
        pointer-events: all;
    }

    .toggle-button {
        display: flex;
        border:none;
        background-color: transparent;
        outline:none;
        width: 60px;
        height: 60px;
        z-index: 999;
        cursor: pointer;
        align-items: center;
        justify-content: center;
    }
    .logos {
        width:40px;
    }

}
@media (max-width: 550px) {
    .mobile55 {
        display: none;
    }
    .mobile55on {
        display: block;
    }
    .footer-box {
        display: flex;
        justify-content: space-evenly;
    }
}

@media (max-width: 1500px){
    .content {
    margin: 0 auto;
    width: 80%;
    }
    
}

@media (max-width: 1150px){
    /*Ota yhteyttä boksit ja veneet speksitaulukko*/
    .vene td {
        width: 50%;
        padding: 25px;
    }
    
    .boxes {
        width: 60%;
    }
}
@media (max-width: 850px){
    /*Navigaatiopalkki (pudotusvalikko) ja Jettihinnasto ja kuva*/
    
}

@media (max-width: 750px){
    
}