@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;800&display=swap'); @import url('https://webfontworld.github.io/NexonLv2Gothic/NexonLv2Gothic.css'); @import url('https://webfontworld.github.io/gmarket/GmarketSans.css'); html{ font-size: 62.5%; overflow-x: hidden; scroll-behavior: smooth; scroll-padding-top: 6rem; } *{ box-sizing: border-box; padding: 0; margin: 0; outline: none; border: none; text-decoration: none; text-transform: capitalize; transition:all .1s linear; } body{ width: 100%; } a{ text-decoration: none; } img{ vertical-align: top; } /* Çì´õ¿µ¿ª */ header{ display: flex; justify-content: space-between; margin: 3.5rem 17%; } header .navbar{ display: flex; justify-content: space-between; width: 100%; margin-left: 17rem; } header .navbar a{ font-size: 1.8rem; line-height: 130px; color: #1e1e1e; font-weight: 500; font-family: "GmarketSans"; } header .navbar a:hover{ color: #67cfff; font-family: "GmarketSans"; } #menu-bar{ cursor: pointer; color: #1e1e1e; border-radius: .3rem; padding: 0.5rem 1.5rem; display: none; } /* ¸ÞÀμ½¼Ç */ .first-section{ background-image: url('http://enflow2022.cafe24.com/base/img/main_background1.png'); background-size: 100% 100% cover; height: 902px; } .main-container{ padding-top: 13.8rem; margin-left: 23%; } .main-container h1{ font-size: 14rem; letter-spacing: 3px; color: #ffffff; font-weight: 800; font-family: 'Raleway', sans-serif; } .about-link{ font-size: 3.2rem; letter-spacing: 1px; color: #ffffff; font-weight: 400; font-family: 'Raleway', sans-serif; margin-left: 1rem; } .about-wrap{ margin-left: 1rem; margin-top: 3.5rem; } .about-wrap a img{ width: 4rem; } .text-area{ margin-left: 1rem; margin-top: 4rem; font-size: 1.9rem; letter-spacing: 1px; line-height: 26px; color: #ffffff; font-weight: 500; font-family: "NexonLv2Gothic"; } .text-area p:first-child{ margin-top: 3rem; } .text-area p:nth-of-type(2){ margin-top: 3rem; } .text-area p:nth-of-type(3){ margin-top: 3rem; } .text-area p:last-child{ margin-top: 4.5rem; } .second-section{ z-index: -1000; width: 100%; position: absolute; top: 26%; } .second-section img{ width: 100vw; height: 100vh; } /* ä¿ë°ø°í ¼½¼Ç */ .third-section{ position:relative; text-align: center; } .third-section > img{ margin: 21.5rem auto 50px; width: 100%; height: 500px; } .third-section h2{ font-size: 5.8rem; letter-spacing: 1px; color: #000000; font-weight: bold; font-family: "NexonLv2Gothic"; filter: drop-shadow(0px 2px 2px rgba(0,0,0,0.61)); position:absolute; bottom:30%; left:50%; transform:translate(-50%,-50%); padding-bottom: 3rem; } .third-section a{ position:absolute; bottom:28%; left:50%; transform:translate(-50%,-50%); } /* ǪÅÍ */ footer{ background-color: #eaeaea; } footer > div{ display: flex; justify-content: space-between; width: 100%; height: 308px; background-color: #eaeaea; padding: 0 22%; } footer > div img{ height: 30%; margin-top: 16.5rem; } .footer-container{ padding-top: 6.7rem; } footer p{ font-size: 1.5rem; letter-spacing: 0px; line-height: 25px; color: #000000; font-family: "NexonLv2Gothic"; } footer p:nth-of-type(2){ margin-top: 3rem; } footer p:nth-of-type(4){ margin-top: 3rem; } @media screen and (max-width:1024px){ header{ margin: 3.5rem; } #menu-bar{ font-size: 3.5rem; line-height: 120px; display: block; } header .navbar{ z-index: 100; position: absolute; top: 0; left: 0; right: 0; background-color: #fff; display: flex; flex-direction: column; margin: 0; clip-path: polygon(0 0, 100% 0, 100% 0, 0 0); } header .navbar.active{ clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); } header .navbar a{ margin: .5rem; padding: .8rem; display: block; border: 1rem solid rgba(213, 210, 210, 0.1); font-weight: 600; } .main-container{ margin-left: 10%; } .main-container h1{ font-size: 12rem; } .text-area{ font-size:1.68rem; } .second-section{ top: 95%; } .second-section img{ width: 100%; height: 100%; } footer > div{ padding: 0 10%; } } @media screen and (max-width:768px){ html{ font-size: 50%; } .about-wrap a img{ width: 32px; } .main-container{ margin-left: 5%; } .second-section { top: 85%; } .second-section img{ width: 100%; height: 100%; } .first-section{ height: 800px; } .second-section{ top: 79%; } .third-section h2{ margin-top: 15rem; } .footer-container p{ font-size: 1.9rem; } } @media screen and (max-width:480px){ html{ font-size: 40%; } header{ margin-left: 20%; } header > a{ margin: 0 auto; display: block; } #menu-bar{ margin-left: 10%; } .main-container h1{ font-size: 7rem; } .first-section{ height: 600px; } .text-area{ margin-right: 13%; } .text-area p{ font-size: 2.5rem; } .second-section{ top: 85%; } .third-section{ height: 300px; } .third-section h2{ top: 80%; margin-top: 10rem; } .third-section a{ top: 130%; } footer{ margin-top: 400px; } footer > div{ display: flex; flex-direction: column; } footer > div img{ width:50%; margin: 0 auto; } .footer-container{ text-align: center; } .footer-container p{ font-size: 2rem; } }