@import url('https://fonts.googleapis.com/css2?family=Cormorant:wght@300;400;500;600;700&family=Waterfall&display=swap'); *{ margin: 0; padding: 0; box-sizing: border-box; font-family: 'Cormorant', serif; } /*---------- header ----------*/ header{ z-index: 999; display: flex; position: absolute; top: 0; left: 0; width: 100%; justify-content: space-between; align-items: center; padding: 15px 200px; transition: 0.5s ease; } header .brand{ color: white; font-size: 60px; font-weight: 500; letter-spacing: 2px; font-family: 'Waterfall'; text-decoration: none; } header .nav{ position: relative; } header .nav .nav-items a{ position: relative; color: whitesmoke; font-size: 16px; letter-spacing: 2px; text-transform: uppercase; text-decoration: none; margin-left: 30px; transition: 0.3 ease; } header .nav .nav-items a:before{ content: ''; position: absolute; background: black; width: 0; height: 2px; bottom: 0; left: 0; transition: 0.3s ease; } header .nav .nav-items a:hover:before{ width: 100%; } /*---------- landing page ----------*/ section{ padding: 100px 200px; } .home{ position: relative; width: 100%; min-height: 90vh; display: flex; justify-content: center; flex-direction: column; background-color: aliceblue; } .home:before{ z-index: 777; content: ''; position: absolute; background: rgba(1, 1, 1, 0.5); width: 100%; height: 100%; top: 0; left: 0; } .home .content{ z-index: 888; width: 100%; margin-top: 50px; text-align: center; align-items: center; justify-content: center; display: none; } .home .content.active{ display: block; } .home .content h1{ font-size: 54px; font-weight: 800; letter-spacing: 5px; line-height: 70px; margin-bottom: 50px; color: white; text-transform: uppercase; } .home .content p{ margin-bottom: 100px; font-size: 22px; letter-spacing: 2px; color: white; } .home .content a{ background: rgba(1,1,1,0.2); backdrop-filter: blur(10px); padding: 15px 35px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 4px; text-decoration: none; color: white; } .home video{ z-index: 000; position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; } .slider-nav{ z-index: 888; position: relative; display: flex; justify-content: center; align-items: center; transform: translateY(150px); margin-bottom: 10px; } .slider-nav .nav-btn{ width: 12px; height: 12px; background: white; border-radius: 50%; cursor: pointer; box-shadow: 0 0 2px rgba(255, 255, 255, 0.5); transition: 0.3s ease; } .slider-nav .nav-btn.active{ background-color: #6C5F5B; } .slider-nav .nav-btn:not(:last-child){ margin-right: 20px; } .slider-nav .nav-btn:hover{ transform: scale(1.2); } .video-slide{ position: absolute; width: 100%; clip-path: circle(0% at 0 50%); } .video-slide.active{ clip-path: circle(150% at 0 50%); transition: 2s ease; transition-property: clip-path; } /*---------- content-1 ----------*/ .tab{ display: flex; justify-content: center; flex-wrap: wrap; margin-top: 30px; } .tab-label{ padding: 10px 16px; font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: gray; cursor: pointer; } .tab-radio{ display: none; } .tab-content, .post-gallery{ order:1; width: 100%; display: none; } .tab-radio:checked + .tab-label{ font-weight: bold; color: black; } .tab-radio:checked + .tab-label + .tab-content{ display: initial; } .note .container{ max-width: 100%; background-color: #F3EEEA; } .note-detail{ display: grid; grid-template-columns: repeat(2, 1fr); text-align: center; margin-top: 25px; margin-bottom: 50px; } .note-img img{ width: 100%; height: 100%; object-fit: cover; object-position: center; } .note-text, .note-text-1{ padding: 0 100px; margin-top: 100px; } .note-text-title{ height: 80px; width: 80px; background-color: #765827; border-radius: 50%; display: inline-block; } .note-text-title h2{ margin-top: 30px; font-size: 20px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: white; } .note-text h1{ margin-top: 80px; color: #776b5d; } .note-text p{ margin-top: 30px; font-size: 20px; color: #3F4E4F; } .order-btn{ margin-top: 80px; } .order-btn a{ font-size: 26px; font-weight: 700; text-decoration: underline solid 2px #EAC696; color: #765827; letter-spacing: 2px; } .order-btn a:hover{ color: #3F4E4F; text-decoration: underline solid 2px rgb(103, 103, 103); } .order-btn-1{ margin-top: 80px; } .note-text-title-1{ height: 80px; width: 80px; background-color: #AA3A3A; border-radius: 50%; display: inline-block; } .note-text-title-1 h2{ margin-top: 30px; font-size: 16px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: white; } .note-text-1 h1{ margin-top: 80px; color: #1B4242; } .note-text-1 span{ font-size: 46px; letter-spacing: 2px; color: #AA3A3A; } .note-text-1 p{ margin-top: 30px; font-size: 20px; color: #5C8374; } .order-btn-1 a{ font-size: 26px; font-weight: 700; text-decoration: underline solid 2px #656e57; color: #691919; letter-spacing: 2px; } .order-btn-1 a:hover{ color: #AA3A3A; text-decoration: underline solid 2px #A4B787; } /*---------- content-2 ----------*/ .content-2{ display: block; justify-content: center; text-align: center; align-items: center; } .content-2 h1{ margin-top: 30px; margin-bottom: 80px; font-size: 46px; font-weight: 400; text-transform: uppercase; letter-spacing: 4px; } .con-2 .container{ max-width: 95%; display: block; margin-left: auto; margin-right: auto } .con-2-detail{ display: grid; grid-template-columns: repeat(3, 1fr); grid-gap: 50px; text-align: center; margin-top: 25px; margin-bottom: 50px; } .con-2-img img{ width: 100%; height: 70%; object-fit: cover; object-position: center; } .con-2-text{ margin-top: 30px; text-align: left; } .con-2-text h3{ margin-bottom: 30px; text-transform: uppercase; } .con-2-text p{ margin-bottom: 30px; font-size: 18px; } .con-2-btn{ padding: 10px 12px; outline: 2px solid black; background-color: transparent; border: none; } .con-2-btn:hover{ background-color: black; } .con-2-btn a{ text-decoration: none; color: black; } .con-2-btn a:hover{ color: white; } /*---------- content-3 ----------*/ .content-3{ display: block; } .con-3 .container{ max-width: 90%; } .con-3-detail{ display: grid; grid-template-columns: repeat(3, 1fr); grid-gap: 50px; text-align: center; margin-top: 25px; margin-bottom: 25px; } .con-3-img img{ width: 100%; height: 650px; object-fit: cover; object-position: center; } .con-3-text h1{ text-transform: uppercase; letter-spacing: 2px; font-weight: 400; margin: 10px; } .con-3-text-detail{ text-align: left; margin: 10px; } .con-3-text-detail h3{ margin-bottom: 10px; font-size: 22px; } .con-3-text-detail p{ margin-bottom: 10px; font-size: 18px; } /*---------- content-4 ----------*/ .content-4{ margin: 100px; justify-content: center; align-items: center; text-align: center; } .content-4 h2{ text-transform: uppercase; font-size: 20px; letter-spacing: 2px; } .content-4 h3{ margin-top: 150px; font-size: 66px; font-weight: 500; letter-spacing: 2px; font-family: 'Waterfall'; } .content-4 .con-2-btn{ margin-top: 50px; } .con-4-social{ margin-top: 25px; margin-bottom: 50px; } .con-4-social i{ font-size: 22px; color: black; margin: 5px; } .con-4-social i:hover{ color: #3F4E4F; } .content-4 .con-text-4 a{ text-decoration: none; color: black; margin: 5px; font-size: 14px; } .content-4 .con-text-4 a:hover{ color: #3F4E4F; } footer{ position: relative; text-align: center; align-items: center; justify-content: center; margin-top: -50px; } footer .content-4 p{ position: absolute; padding-bottom: 2.5rem; bottom: 0; } /*------------------------------------------------------------ gallery ------------------------------------------------------------*/ #brand-1{ color: black; } #nav-items-1 a{ color: black; } /*---------- landing page ----------*/ .bakery{ display: flex; align-items: center; justify-content: center; min-height: 80vh; } .wrapper{ display: flex; max-width: 100%; position: relative; } .wrapper i{ top: 50%; height: 44px; width: 44px; color: #343F4F; cursor: pointer; font-size: 1.15rem; position: absolute; text-align: center; line-height: 44px; background: #fff; border-radius: 50%; transform: translateY(-50%); transition: transform 0.1s linear; } .wrapper i:active{ transform: translateY(-50%) scale(0.9); } .wrapper i:hover{ background: #f2f2f2; } .wrapper i:first-child{ left: 20px; display: none; } .wrapper i:last-child{ right: 20px; } .wrapper .carousel{ font-size: 0px; cursor: pointer; overflow: hidden; white-space: nowrap; scroll-behavior: smooth; margin-top: 30px; } .carousel.dragging{ cursor: grab; scroll-behavior: auto; } .carousel.dragging img{ pointer-events: none; } .carousel img{ margin-top: 100px; height: 750px; object-fit: cover; user-select: none; margin-left: 14px; width: calc(100% / 3); } .carousel img:first-child{ margin-left: 0px; } /*---------- hour ----------*/ .hour-bakery{ display: grid; position: relative; place-items: center; align-items: center; justify-content: center; text-align: center; } .hour-baker-detail{ position: absolute; width: 500px; height: 250px; background-color: white; margin-top: -100px; z-index: 2; } .hour-baker-detail h2{ margin: 50px; font-size: 18px; text-transform: uppercase; letter-spacing: 2px; } .hour-baker-detail p{ font-size: 32px; margin-bottom: 10px; } .line{ border-bottom: 1px solid lightgray; margin-top: 120px; } /*---------- gallery ----------*/ .our-gal{ display: grid; justify-content: center; text-align: center; margin-bottom: 100px; } .our-gal h2{ font-size: 36px; font-weight: 500; text-transform: uppercase; letter-spacing: 4px; } .wrapper-gallery{ margin: 100px auto; max-width: 80%; } .wrapper-gallery nav{ display: flex; justify-content: center; } .wrapper-gallery .gallery-items{ display: flex; max-width: 720px; width: 100%; justify-content: space-between; } .gallery-items span{ padding: 7px 25px; font-size: 18px; font-weight: 500; cursor: pointer; color: black; border-radius: 10px; border: 2px solid black; transition: all 0.3s ease; } .gallery-items span.active, .gallery-items span:hover{ color: #fff; background: black; } .gallery{ display: flex; flex-wrap: wrap; margin-top: 30px; } .gallery .image-gal{ width: calc(100% / 4); padding: 7px; } .gallery .image-gal span{ display: flex; width: 100%; overflow: hidden; } .gallery .image-gal img{ width: 100%; vertical-align: middle; transition: all 0.3s ease; } .gallery .image-gal:hover img{ transform: scale(1.1); } .gallery .image-gal.hide{ display: none; } .gallery .image-gal.show{ animation: animate 0.4s ease; } @keyframes animate { 0%{ transform: scale(0.5); } 100%{ transform: scale(1); } } .preview-box{ position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0.9); background: #fff; max-width: 700px; width: 100%; z-index: 5; opacity: 0; pointer-events: none; border-radius: 3px; padding: 0 5px 5px 5px; box-shadow: 0px 0px 15px rgba(0,0,0,0.2); } .preview-box.show{ opacity: 1; pointer-events: auto; transform: translate(-50%, -50%) scale(1); transition: all 0.3s ease; } .preview-box .details-gal{ padding: 13px 15px 13px 10px; display: flex; align-items: center; justify-content: space-between; } .details-gal .title-gal{ display: flex; font-size: 18px; font-weight: 400; } .details-gal .title-gal p{ font-weight: 500; margin-left: 5px; } .details-gal .icon-gal{ color: black; font-style: 22px; cursor: pointer; } .preview-box .image-box-gal{ width: 100%; display: flex; } .image-box-gal img{ width: 100%; height: 850px; object-position: center; object-fit: cover; border-radius: 0 0 3px 3px; } .shadow{ position: fixed; left: 0; top: 0; height: 100%; width: 100%; z-index: 2; display: none; background: rgba(0,0,0,0.4); } .shadow.show{ display: block; } /*------------------------------------------------------------ about ------------------------------------------------------------*/ .about{ width: 100%; display: flex; justify-content: center; align-items: center; min-height: 100vh; } .main-about{ max-width: 80%; width: 1290px; margin-top: 100px; display: flex; flex-wrap: wrap; justify-content: space-around; align-items: center; } .about .main-about img{ width: 580px; height: auto; max-width: 100%; padding: 0 10px; } .all-text{ width: 600px; padding: 0 10px; max-width: 100%; } .all-text h4{ font-size: 20px; font-weight: 400; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 10px; } .all-text h2{ font-size: 42px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 20px; color: #765827; } .all-text p{ font-size: 20px; line-height: 30px; } /*------------------------------------------------------------ contact ------------------------------------------------------------*/ .contact-form{ position: relative; width: 100%; padding: 40px 50px; margin-top: 100px; } .contact-title{ display: flex; justify-content: center; align-items: center; } .contact-title h2{ font-size: 30px; font-weight: 500; text-transform: uppercase; letter-spacing: 4px; } .contact-box{ position: relative; display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 4fr 5fr; grid-template-areas: "form info" "form map"; grid-gap: 20px; margin-top: 50px; } .contact{ padding: 40px; background: white; } .contact p{ font-weight: bolder; font-size: 22px; line-height: 40px; } .contact span{ font-weight: normal; font-size: 20px; } .form{ grid-area: form; } .info{ grid-area: info; } .map{ grid-area: map; } .formbox{ position: relative; width: 100%; margin-top: 50px; } .formbox .row{ display: flex; gap: 20px; } .inputbox{ display: flex; flex-direction: column; margin-bottom: 10px; width: 50%; } .formbox .row1 .inputbox{ width: 100%; } .inputbox span{ font-size: 20px; font-weight: 500; margin-bottom: 5px; } .inputbox input, .inputbox textarea{ padding: 10px; font-size: 20; outline: none; border: 1px solid lightgray; } .inputbox textarea{ min-height: 220px; resize: none; margin-bottom: 10px; } .inputbox input[type="submit"]{ border: 1px solid black; background: transparent; font-size: 20px; font-weight: 700; max-width: 120px; padding: 14px 15px; cursor: pointer; } .info h3{ font-size: 22px; margin-bottom: 20px; } .info .infobox div p{ font-weight: normal; font-size: 20px; } .map{ padding: 0; } .map iframe{ width: 100%; height: 100%; } /*------------------------------------------------------------ respondsive design ------------------------------------------------------------*/ @media (max-width:1200px){ header{ padding: 20px 20px; } section{ padding: 100px 20px; } .menu-btn{ background: url(images/menu.png) no-repeat; background-size: 30px; background-position: center; width: 40px; height: 40px; cursor: pointer; transition: 0.3s ease; } header .nav{ display: none; } header .nav.active{ position: fixed; width: 100%; height: 100vh; top: 0; left: 0; display: flex; justify-content: center; align-items: center; background: rgba(1, 1, 1, 0.1); } header .nav.active .nav-items{ background-color: white; width: 600px; max-width: 600px; margin: 20px; padding: 40px; display: flex; flex-direction: column; align-items: center; box-shadow: 0 5px 25px rgb(1 1 1 1/ 10%); } header .nav .nav-items a{ color: black; font-size: 22px; margin: 20px; } header .nav .nav-items a::before{ background: black; height: 3px; } .menu-btn{ display: block; font-size: 30px; color: black; transition: 0.3s ease; } .menu-btn i{ color: black; } .menu-btn.active{ z-index: 999; background: url(images/close.png) no-repeat; background-size: 25px; background-position: center; transition: 0.3s ease; } .con-2-detail{ grid-gap: 25px; } .con-2-img img{ height: 60%; } .con-3-detail{ grid-template-columns: repeat(2, 1fr); } .con-3-img img{ height: 50%; } /*---------- (gallery)----------*/ .gallery .image-gal{ width: calc(100% / 3); } /*---------- (about)----------*/ .about{ padding: 50px 0; } .all-text{ text-align: center; margin-top: 50px; } } @media (width < 900px) { /*---------- landing page (gallery)----------*/ .carousel img{ height: 650px; width: calc(100% / 2); } .contact-form{ padding: 20px; } .contact-box{ grid-template-columns:1fr; grid-template-rows: auto; grid-template-areas: "form" "info" "map"; grid-gap: 20px; margin-top: 50px; } .formbox .row{ gap: 0; flex-direction: column; } .inputbox{ width: 100%; } .map{ min-height: 300px; padding: 0; } } @media (width < 850px){ .slider-nav .nav-btn{ margin-top: -100px; } .note-detail{ grid-template-columns: repeat(1, 1fr); } .note-text, .note-text-1{ padding: 0 50px; margin-top: -25px; } .note-text p, .note-text p{ margin-top: 50px; } .note-text h1, .note-text-1 h1{ margin-top: 40px; } .note-text p, .note-text-1 p{ margin-top: 20px; } .order-btn, .order-btn-1{ margin-top: 40px; margin-bottom:20px ; } .note .container{ background-color: transparent; } .note-img img{ margin-top: 10px; } .content-2{ background-color: whitesmoke; } .content-2 h1{ margin-top: -10px; } .con-2-detail{ grid-template-columns: repeat(2, 1fr); } /*---------- (gallery)----------*/ .wrapper-gallery nav .gallery-items{ max-width: 600px; } nav .gallery-items span{ padding: 7px 15px; } .gallery .image-gal{ width: calc(100% / 2); } } @media (width < 550px){ .slider-nav .nav-btn{ margin-top: -150px; } .con-2-detail{ grid-template-columns: repeat(1, 1fr); } .con-3-detail{ grid-template-columns: repeat(1, 1fr); } .con-3-img img{ height: 40%; } .con-3-text h1{ text-align: center; margin-left: 20px; } .con-3-text-detail h3{ text-align: center; } .con-3-text-detail p{ text-align: center; } .content-4 h2{ font-size: 16px; } .content-4 h3{ font-size: 46px; } /*---------- landing page (gallery)----------*/ .carousel img{ height: 550px; width: 100%; } .hour-baker-detail{ width: 320px; height: 160px; } .hour-baker-detail h2{ font-size: 16px; } .hour-baker-detail p{ font-size: 26px; } .wrapper-gallery{ margin: 30px auto; } .wrapper-gallery nav .gallery-items{ flex-wrap: wrap; justify-content: center; } nav .gallery-items span{ margin: 5px; } .gallery .image-gal{ width: 100%; } .all-text h2{ font-size: 38px; } }