/* Common Styles */ * { margin: 0; padding: 0; font-family: "Vollkorn", serif; list-style-type: none; text-decoration: none; box-sizing: border-box; outline: none; } html { font-size: 62.5%; } :root { --primary-color: #2b81e4; --secondary-color: #eee; --white-color: #fff; --grey-color: #555; --light-grey-color: #777; } .center { display: flex; justify-content: center; align-items: center; } .container { background-color: var(--secondary-color); margin: 3.5rem; box-shadow: 0 1rem 3rem var(--grey-color); overflow: hidden; } /* End of Common styles */ /* Navbar */ .navbar-icon { width: 5.5rem; height: 5.5rem; background-color: var(--white-color); border-radius: 50%; cursor: pointer; flex-direction: column; } .open-navbar-icon { position: fixed; top: 6.5rem; left: 6.5rem; z-index: 200; } .navbar-icon .line { height: 0.2rem; width: 3.5rem; background-color: var(--light-grey-color); } .open-navbar-icon .line { margin: 0.3rem 0; } .navbar-wrapper { width: 100vw; height: 100vh; background-color: rgba(255, 255, 255, 0.7); position: fixed; left: 0; bottom: -100%; opacity: 0; z-index: 300; padding: 3.5rem 5.5rem 3.5rem 3.5rem; transition: bottom 0.5s, opacity 0.2s; } .change .navbar-wrapper { bottom: 0; opacity: 1; transition: bottom 0.5s, opacity 0.2s 0.25s; } .navbar { width: 100%; height: 100%; background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3)), url(images/bg-banner.jpg) center no-repeat; background-size: cover; position: relative; overflow-y: hidden; } .close-navbar-icon { position: absolute; top: 2.5rem; right: 3rem; z-index: 300; } .close-navbar-icon .line { position: absolute; } .line-1 { transform: rotate(40deg); } .line-2 { transform: rotate(-40deg); } .nav-list { height: 100%; display: flex; } .nav-link { font-size: 3rem; font-weight: 700; color: var(--white-color); text-transform: uppercase; width: 100%; opacity: 0.8; position: relative; top: -100%; transition: all 0.3s; } .change .nav-link { top: 0; } .nav-link:hover { opacity: 1; color: var(--primary-color); } .change .nav-link:nth-child(1) { transition: top 1s 0.4s, opacity 0.3s, color 0.3s; } .change .nav-link:nth-child(2) { transition: top 1s 0.6s, opacity 0.3s, color 0.3s; } .change .nav-link:nth-child(3) { transition: top 1s 0.8s, opacity 0.3s, color 0.3s; } .change .nav-link:nth-child(4) { transition: top 1s 1s, opacity 0.3s, color 0.3s; } .change .nav-link:nth-child(5) { transition: top 1s 1.2s, opacity 0.3s, color 0.3s; } /* End of Navbar */ /* Header */ .header { width: 100%; height: calc(100vh - 7rem); background: linear-gradient(rgba(18, 113, 255, 0.5), rgba(18, 113, 255, 0.3)), url(images/bg-banner.jpg) center no-repeat; background-size: cover; position: relative; perspective: 100rem; } .header-text { text-align: center; text-transform: uppercase; letter-spacing: 0.1rem; text-shadow: 0 0.3rem 0.5rem var(--grey-color); } .heading { font-size: 8rem; color: var(--Orange-color); } .header-paragraph { font-size: 3rem; font-weight: 500; color: var(--secondary-color); max-width: 70rem; margin: auto; } .logo { position: absolute; top: 4rem; right: 4rem; } .logo h1 { display: flex; } .logo h1 span { font-size: 2rem; font-weight: 900; color: var(--primary-color); text-transform: uppercase; background-color: var(--white-color); width: 3.5rem; height: 3.5rem; margin: 0.5rem; border-radius: 50%; } .logo h1 span:nth-child(1) { animation: drop-letters 5s 0.1s infinite; } .logo h1 span:nth-child(2) { animation: drop-letters 5s 0.2s infinite; } .logo h1 span:nth-child(3) { animation: drop-letters 5s 0.3s infinite; } .logo h1 span:nth-child(4) { animation: drop-letters 5s 0.4s infinite; } .logo h1 span:nth-child(5) { animation: drop-letters 5s 0.5s infinite; } .logo h1 span:nth-child(6) { animation: drop-letters 5s 0.6s infinite; } .logo h1 span:nth-child(7) { animation: drop-letters 5s 0.7s infinite; } @keyframes drop-letters { 0% { transform: translateY(0); } 10% { transform: translateY(0); } 15% { transform: translateY(-100%); } 20% { transform: translateY(0); } 100% { transform: translateY(0); } } .header-image { width: 35%; animation: image-float 150s infinite; } @keyframes image-float { 0% { transform: translateZ(40rem); opacity: 1; } 40% { transform: translateZ(-500rem) translateX(150rem); opacity: 0.8; } 70% { transform: translateZ(-1500rem) translateX(800rem); opacity: 0.6; } 80% { transform: translateZ(-50rem) translateX(100rem); opacity: 0.8; } 100% { transform: translateZ(40rem); opacity: 1; } } /* End of Header */ /* Popular tours */ .popular-tours { padding: 5rem 0 10rem 0; } .popular-tours-heading { font-size: 8rem; text-align: center; margin-bottom: 8rem; color: var(--primary-color); text-shadow: 0 0.1rem 0.2rem var(--primary-color); } .cards-wrapper { display: flex; justify-content: space-evenly; } .card { width: 35rem; position: relative; perspective: 150rem; } .card-image { width: 100%; border-radius: 0.3rem 0.3rem 0 0; } .front-side { text-align: center; background-color: var(--white-color); border-radius: 0.3rem; position: relative; z-index: 10; opacity: 0.9; transition: opacity 0.4s, transform 0.4s, box-shadow 0.4s; } .change > .front-side { transform: translateZ(-5rem) translateX(3rem); box-shadow: 0 2rem 4rem #777; opacity: 0.5; z-index: 0; } .tour-name { font-size: 2rem; font-weight: 700; text-transform: uppercase; position: absolute; top: 30%; right: 1.5rem; color: var(--white-color); text-shadow: 0 0 1rem #000; } .card-list { width: 80%; margin: 3rem 3rem; padding: 2rem 0 3rem 0; } .card-list-item { font-size: 1.6rem; font-weight: 500; color: var(--light-grey-color); margin: 2rem 0; border-bottom: 0.1rem solid var(--primary-color); padding-bottom: 1.5rem; } .back-side { position: absolute; top: 0; background-color: var(--primary-color); width: 100%; height: 100%; border-radius: 0.3rem; box-shadow: 0 2rem 4rem #777; flex-direction: column; transform: translateZ(-5rem) translateX(3rem); opacity: 0.5; transition: opacity 0.4s, transform 0.4s, box-shadow 0.4s; } .change > .back-side { transform: translateZ(0) translateX(0); box-shadow: 0 0.5rem 2rem #aaa; opacity: 0.9; } .tour-price { font-size: 5rem; font-weight: 300; color: var(--white-color); margin-bottom: 3rem; } .card-button { color: var(--primary-color); background-color: var(--white-color); border: none; font-size: 2.5rem; padding: 1rem 2rem; letter-spacing: 0.2rem; border-radius: 5rem; cursor: pointer; } .navigation-button { position: absolute; top: 0.5rem; left: 0.5rem; padding: 0.5rem; background-color: rgba(255, 255, 255, 0.8); color: var(--light-grey-color); border-radius: 0.3rem; border: none; font-size: 1.5rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.2rem; cursor: pointer; } /* End of Popular tours */ /* Stories */ .stories { padding: 10rem 0; position: relative; } .video-container { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0.4; } .bg-video { width: 100%; height: 100%; object-fit: cover; } .stories-wrapper { display: flex; flex-direction: column; align-items: center; } .story-bg { background-color: rgba(238, 238, 238, 0.85); padding: 5rem; margin: 5rem; width: 70%; box-shadow: 0 2rem 5rem rgba(51, 51, 51, 0.4); transform: skewX(20deg); } .story { transform: skewX(-20deg); display: flex; } .story-image { width: 20rem; height: 20rem; border-radius: 50%; object-fit: cover; margin-right: 5rem; } .story-text { letter-spacing: 0.1rem; } .story-heading { font-size: 2.5rem; text-transform: uppercase; color: var(--orange-color); margin-bottom: 1rem; } .story-paragraph { font-size: 1.8rem; color: var(--light-orange-color); } .story-paragraph::first-letter { margin-left: 1rem; } /* End of Stories */ /* Contact */ .contact { padding: 15rem 0 20rem 0; text-align: center; background: url(images/newcastle.jpg) center no-repeat; background-size: cover; animation: contact-bg 35s infinite; } .contact-heading { font-size: 7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5rem; color: var(--white-color); text-shadow: 0 1rem 2rem #000; margin-bottom: 8rem; } .contact-form { width: 70rem; height: 50rem; background-color: rgba(255, 255, 255, 0.95); margin: auto; flex-direction: column; border-radius: 0.5rem; box-shadow: 0 1rem 3rem #000; padding: 5rem; } .input-group { width: 100%; display: flex; flex-direction: column; margin: 1rem 0; position: relative; } .input-groups { width: 100%; display: flex; justify-content: space-between; } .input-groups .input-group { width: 48.5%; } .input-group input, .input-group textarea { padding: 3rem 1rem 1rem 1rem; background-color: var(--secondary-color); border: 0.1rem solid var(--secondary-color); font-size: 1.4rem; color: var(--light-grey-color); letter-spacing: 0.1rem; border-radius: 0.5rem; transition: border 0.3s; } .input-group input:focus, .input-group textarea:focus { border: 0.1rem solid #ccc; } .input-group label { font-size: 1.2rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1rem; color: var(--grey-color); position: absolute; top: 1rem; left: 1rem; } .form-btn { width: 100%; padding: 1rem; font-size: 1.6rem; letter-spacing: 0.1rem; margin-top: 1rem; background-color: var(--light-grey-color); color: var(--white-color); border-radius: 0.5rem; border: none; cursor: pointer; transition: background-color 0.4s; } .form-btn:hover { background-color: var(--grey-color); } .input-group textarea { max-height: 15rem; max-width: 100%; } @keyframes contact-bg { 0% { background-color: #3d3d3d; } 25% { background-color: #ced8e4; } 50% { background-color: #1e81f3; } 75% { background-color: #ff7842; } 100% { background-color: #3d3d3d; } } /* End of Contact */ /* Footer */ .footer { background-color: var(--grey-color); padding: 4rem 0 2rem 0; } .footer-list { display: flex; justify-content: center; } .footer-link { font-size: 2rem; color: var(--white-color); margin: 0 2rem; background-color: var(--grey-color); padding: 0.3rem 3rem; letter-spacing: 0.3rem; transition: all 0.2s; } .footer-link:hover { transform: rotate(-10deg); box-shadow: 0 2rem 3rem #000; } .footer-paragraph { text-align: center; font-size: 1.5rem; color: var(--secondary-color); letter-spacing: 0.2rem; margin-top: 5rem; } /* End of Footer */ @media (max-width: 1200px) { .cards-wrapper { flex-direction: column; align-items: center; } .card { margin: 3rem 0; } .story-bg { width: 85%; } } @media (max-width: 1000px) { .nav-list { flex-direction: column; } .nav-link { flex-grow: 1; } .header-text { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 10; } .heading { font-size: 6rem; } .header-paragraph { font-size: 2.5rem; } .popular-tours-heading { font-size: 6rem; } .story-bg { transform: skewX(0); } .story { transform: skewX(0); flex-direction: column; align-items: center; } .story-image { margin-bottom: 3rem; } .footer-link { padding: 0.3rem 2rem; margin: 0 1rem; } } @media (max-width: 800px) { .header-paragraph { display: none; } .popular-tours-heading { font-size: 5rem; } .contact-form { width: 90%; } .footer-list { flex-direction: column; align-items: center; } .footer-link { margin: 1rem 0; } } @media (max-width: 650px) { .container { margin: 0; } .open-navbar-icon { top: 2.5rem; left: 2.5rem; } .navbar-wrapper { padding: 0; } .close-navbar-icon { right: 4rem; } .header { height: 100vh; } .contact-heading { font-size: 6rem; } .contact-form { padding: 2rem; height: 40rem; } } @media (max-width: 500px) { html { font-size: 45%; } } /* Section 2 */ .section-2 { width: 100%; height: 100vh; background-color: #222020; display: flex; align-items: center; padding: 0 10rem; position: relative; } .section-heading { font-size: 10rem; font-family: "Oswald", sans-serif; font-weight: 300; color: rgb(231, 153, 8); margin-right: 4rem; } .section-heading-line { width: 15rem; height: 0.2rem; background-color: #ddd; } .video-wrapper { width: 100rem; height: 50rem; position: absolute; top: 5rem; right: 15rem; box-shadow: 3rem 3rem 6rem rgba(0, 0, 0, 0.7); overflow: hidden; } .video-wrapper:hover .controls { transform: translateY(0); } .video { width: 100%; height: 100%; object-fit: cover; opacity: 0.3; transition: opacity 0.3s; } .controls { width: 100%; position: absolute; bottom: 0; background-color: rgba(0, 0, 0, 0.7); transform: translateY(calc(100% - 0.4rem)); transition: transform 0.4s; } .video-bar-wrapper { width: 100%; height: 0.7rem; background-color: #000; position: absolute; top: 0; left: 0; } .video-bar { height: 100%; width: 0; background-color: #d30819; transition: width 0.2s linear; } .buttons { padding: 2rem 1rem 1rem 1rem; } .buttons button { background: none; border: none; cursor: pointer; } .buttons i { width: 3rem; height: 3rem; font-size: 2.8rem; color: #fff; } .section-2-paragraph { width: 100rem; position: absolute; bottom: 8rem; right: 15rem; font-size: 2rem; line-height: 1.5; color: #ddd; border-top: 0.3rem double #aaa; border-bottom: 0.3rem double #aaa; padding: 2rem; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: justify; text-shadow: 1rem 1rem 2rem rgba(0, 0, 0, 0.7); } .fa-quote-left { align-self: flex-start; font-size: 5rem; color: #bbb; margin-bottom: 2rem; } .fa-quote-right { align-self: flex-end; font-size: 5rem; color: #bbb; } /* End of Section 2 */ .team { display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 0 5rem 20rem 5rem; } .cards-wrapper { display: flex; justify-content: space-evenly; margin-top: 8rem; width: 100%; } .card { width: 37rem; height: 45rem; box-shadow: 0 1rem 4rem rgba(0, 0, 0, 0.4); border-radius: 0.5rem; position: relative; } .card-img-wrapper { width: 100%; height: 100%; background-color: #262626; border-radius: 0.5rem; } .card-img-wrapper img { width: 100%; height: 100%; object-fit: cover; opacity: 0.8; border-radius: 0.5rem; transition: opacity 0.3s; } .card:hover .card-img-wrapper img { opacity: 0.5; } .card-info { position: absolute; bottom: 0; padding: 2rem; text-shadow: 0 0.2rem 0.5rem rgba(0, 0, 0, 0.4); opacity: 0; visibility: hidden; transition: all 0.3s; } .card:hover .card-info { bottom: 2rem; opacity: 1; visibility: visible; } .card-info h2 { font-family: "Baloo Da 2", serif; font-size: 3rem; line-height: 2.5rem; font-weight: 300; color: rgb(197, 13, 13); } .card-info h3 { font-family: "Muli", serif; font-size: 2rem; font-weight: 500; color: #a52a2a; margin-bottom: 1rem; } .card-info p { font-family: "Baloo da 2", serif; font-size: 1.4rem; line-height: 1.6rem; font-weight: 300; color: #eee; width: 80%; margin-bottom: 2rem; } .card-info button { width: 10rem; height: 3rem; background-color: #c29525; border: none; font-family: "Baloo Da 2", serif; font-size: 1.4rem; line-height: 1.5rem; color: #eee; border-radius: 0.3rem; box-shadow: 0 0.1rem 0.8rem rgba(0, 0, 0, 0.4); } .services { width: 100%; height: 100%; display: grid; grid-template-columns: repeat(16, 1fr); grid-template-rows: repeat(6, 6rem); grid-row-gap: 4rem; } .service { width: 100%; margin-bottom: 2rem; } .service:nth-child(1) { grid-column: 4 / 7; grid-row: 1 / 3; } .service:nth-child(2) { grid-column: 3 / 6; grid-row: 3 / 5; } .service:nth-child(3) { grid-column: 4 / 7; grid-row: 5 / -1; } .service:nth-child(4) { grid-column: 11 / 14; grid-row: 1 / 3; } .service:nth-child(5) { grid-column: 12 / 15; grid-row: 3 / 5; } .service:nth-child(6) { grid-column: 11 / 14; grid-row: 5 / -1; } .service-header { display: flex; align-items: center; margin-bottom: 1rem; } .service-header i { font-size: 4rem; color: #4b4b4b; margin-right: 2rem; } .service-header h3 { font-family: "Baloo Da 2", serif; font-size: 2.6rem; line-height: 2.6rem; font-weight: 400; margin-bottom: 2rem; } .service-text { font-family: "Josefin Slab", serif; font-size: 1.6rem; text-align: justify; } .about-us-img-wrapper { grid-column: 7 / 11; grid-row: 2 / 6; width: 100%; } .about-us-img-wrapper img { width: 100%; object-fit: cover; opacity: 0.8; } .section-header { display: flex; flex-direction: column; align-items: center; padding: 7rem 0 10rem 0; } .section-heading { font-family: "Muli", serif; font-size: 10rem; font-weight: 300; color: #4b4b4b; margin-bottom: 6rem; } .underline { width: 12rem; height: 0.3rem; background-color: #c29525; } .contact-details { display: flex; margin-bottom: 8rem; } .contact-details div { width: 25rem; text-align: center; margin: 4rem; } .contact-details i { font-size: 5rem; color: #7a1010; } .contact-details h3 { font-family: "MADE Soulmaze", serif; font-size: 2.5rem; margin: 2rem 0; color: #ccc; } .contact-details p { font-size: 1.6rem; color: #aaa; } body { background: #035266; } .tilesWrap { padding: 10; margin: auto auto; list-style: none; text-align: center; } .tilesWrap li { display: inline-block; width: 80%; min-width: 200px; max-width: 230px; padding: 80px 20px 40px; position: relative; vertical-align: top; margin: 10px; font-family: 'helvetica', san-serif; min-height: 25vh; background: #262a2b; border: 1px solid #252727; text-align: left; } .tilesWrap li h2 { font-size: 114px; margin: 0; position: absolute; opacity: 0.2; top: 50px; right: 10px; transition: all 0.3s ease-in-out; } .tilesWrap li h3 { font-size: 20px; color: #b7b7b7; margin-bottom: 5px; } .tilesWrap li p { font-size: 16px; line-height: 18px; color: #b7b7b7; margin-top: 5px; } .tilesWrap li button { background: transparent; border: 1px solid #b7b7b7; padding: 10px 20px; color: #b7b7b7; border-radius: 3px; position: relative; transition: all 0.3s ease-in-out; transform: translateY(-40px); opacity: 0; cursor: pointer; overflow: hidden; } .tilesWrap li button:before { content: ''; position: absolute; height: 100%; width: 120%; background: #b7b7b7; top: 0; opacity: 0; left: -140px; border-radius: 0 20px 20px 0; z-index: -1; transition: all 0.3s ease-in-out; } .tilesWrap li:hover button { transform: translateY(5px); opacity: 1; } .tilesWrap li button:hover { color: #262a2b; } .tilesWrap li button:hover:before { left: 0; opacity: 1; } .tilesWrap li:hover h2 { top: 0px; opacity: 0.6; } .tilesWrap li:before { content: ''; position: absolute; top: -2px; left: -2px; right: -2px; bottom: -2px; z-index: -1; background: #fff; transform: skew(2deg, 2deg); } .tilesWrap li:after { content: ''; position: absolute; width: 40%; height: 100%; left: 0; top: 0; background: rgba(255, 255, 255, 0.02); } .tilesWrap li:nth-child(1):before { background: #C9FFBF; background: -webkit-linear-gradient(to right, #FFAFBD, #C9FFBF); background: linear-gradient(to right, #FFAFBD, #C9FFBF); } .tilesWrap li:nth-child(2):before { background: #f2709c; background: -webkit-linear-gradient(to right, #ff9472, #f2709c); background: linear-gradient(to right, #ff9472, #f2709c); } .tilesWrap li:nth-child(3):before { background: #c21500; background: -webkit-linear-gradient(to right, #ffc500, #c21500); background: linear-gradient(to right, #ffc500, #c21500); } .tilesWrap li:nth-child(4):before { background: #FC354C; background: -webkit-linear-gradient(to right, #0ABFBC, #FC354C); background: linear-gradient(to right, #0ABFBC, #FC354C); } /* Section 3 */ .section-3 { background-color: #333; padding: 5rem 0; } .gallery { display: flex; flex-wrap: wrap; align-items: right; justify-content: space-evenly; margin-top: 10rem; } .gallery-link { position: relative; margin: 4rem 1rem; } .gallery-link::before { content: ""; position: absolute; top: 2vw; left: 80%; width: 0.2rem; height: 0; background-color: #fff; z-index: 10; transition: height 0.5s; } .gallery-link::after { content: ""; position: absolute; top: 30%; left: 2rem; width: 0; height: 0.2rem; background-color: #fff; transition: width 0.5s; } .gallery-link:hover::before { height: 80%; } .gallery-link:hover::after { width: 90%; } .food-img { width: 24vw; height: 15vw; object-fit: cover; box-shadow: 0.3rem 0.3rem 0.1rem #e92929, 0.5rem 0.5rem 0.1rem #a2e946, 0.7rem 0.7rem 0.1rem #297ce9, 0.9rem 0.9rem 0.1rem #e92999; transition: all 0.5s; } .gallery-link:hover .food-img { box-shadow: 1rem 1rem 0.1rem #e92929, 2rem 2rem 0.1rem #a2e946, 3rem 3rem 0.1rem #297ce9, 4rem 4rem 0.1rem #e92999; transform: scale(1.1); filter: blur(0.5rem); opacity: 0.5; } .food-name { position: absolute; top: 3rem; left: 3rem; font-size: 2rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1rem; color: #fff; width: 0; overflow: hidden; transition: width 0.3s; } .gallery-link:hover .food-name { width: 100%; transition: width 1.5s 0.5s; } .food-description { position: absolute; bottom: 3vw; left: 2rem; width: 70%; font-size: 1.5rem; font-weight: 300; letter-spacing: 0.1rem; text-transform: uppercase; color: #fff; opacity: 0; visibility: hidden; transition: opacity 0.3s; } .gallery-link:hover .food-description { opacity: 1; visibility: visible; transition: opacity 1s 1s; } /* End of Section 3 */ * { box-sizing: border-box; } body { font-family: Arial, Helvetica, sans-serif; } /* Float four columns side by side */ .column { float: left; width: 2505%; padding: 0 10px; } /* Remove extra left and right margins, due to padding in columns */ .row {margin: 0 5px;} /* Clear floats after the columns */ .row:after { content: ""; display: table; clear: both; } /* Style the counter cards */ .card { box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2); /* this adds the "card" effect */ padding: 16px; text-align: center; background-color: #f1f1f1; } /* Responsive columns - one column layout (vertical) on small screens */ @media screen and (max-width: 600px) { .column { width: 100%; display: block; margin-bottom: 20px; } } p22 { margin: 10px 0; padding: 12px; border: 1px solid #999; }