<!DOCTYPE html>
<html lang="ko">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>법무법인 목현</title>
<style>
*{
margin:0;
padding:0;
box-sizing:border-box;
}
body{
font-family: 'Pretendard', 'Noto Sans KR', Arial, sans-serif;
color:#fff;
overflow-x:hidden;
}
a{
text-decoration:none;
color:#fff;
}
/* 배경 영상 */
.bg-video{
position:fixed;
top:0;
left:0;
width:100vw;
height:100vh;
object-fit:cover;
z-index:-2;
}
/* 어둡게 덮는 오버레이 */
.overlay{
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.5);
z-index:-1;
}
/* 공통 */
.wrap{
width:1200px;
margin:0 auto;
}
/* 헤더 */
.header{
height:80px;
position:relative;
z-index:10;
border-bottom:1px solid rgba(255,255,255,0.2);
background:rgba(0,0,0,0.3);
backdrop-filter:blur(5px);
}
.header .wrap{
height:80px;
display:flex;
justify-content:space-between;
align-items:center;
}
.logo{
font-size:26px;
font-weight:900;
}
/* 메뉴 */
.menu{
display:flex;
gap:40px;
}
.menu a{
font-size:18px;
font-weight:700;
transition:0.3s;
}
.menu a:hover{
color:#8af7ff;
}
/* 검색 */
.search a{
font-size:16px;
opacity:0.8;
transition:0.3s;
}
.search a:hover{
opacity:1;
}
/* 메인 텍스트 (히어로 영역) */
.hero{
height:100vh;
display:flex;
justify-content:center;
align-items:center;
text-align:center;
position:relative;
z-index:10;
}
.hero h1{
font-size:48px;
font-weight:900;
margin-bottom:20px;
}
.hero p{
font-size:20px;
opacity:0.85;
}
/* 반응형 */
@media (max-width:1280px){
.wrap{
width:90%;
}
}
@media (max-width:768px){
.menu{
display:none;
}
.hero h1{
font-size:32px;
}
.hero p{
font-size:16px;
}
}
</style>
</head>
<body>
<!-- 배경 영상 -->
<video class="bg-video" autoplay muted loop playsinline>
<source src="sample.mp4" type="video/mp4">
</video>
<!-- 어둡게 덮기 -->
<div class="overlay"></div>
<!-- 헤더 -->
<header class="header">
<div class="wrap">
<div class="logo">
<a href="#">법무법인 목현</a>
</div>
<nav class="menu">
<a href="#">목현소개</a>
<a href="#">구성원 소개</a>
<a href="#">업부분야</a>
<a href="#">업무사례</a>
<a href="#">미디어센터</a>
<a href="#">상담문의</a>
</nav>
<div class="search">
<a href="#">검색</a>
</div>
</div>
</header>
<!-- 메인 히어로 영역 -->
<section class="hero">
<div>
<h1>신뢰를 기반으로 한 법률 서비스</h1>
<p>법무법인 목현이 함께합니다</p>
</div>
</section>
</body>
</html>
<html lang="ko">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>법무법인 목현</title>
<style>
*{
margin:0;
padding:0;
box-sizing:border-box;
}
body{
font-family: 'Pretendard', 'Noto Sans KR', Arial, sans-serif;
color:#fff;
overflow-x:hidden;
}
a{
text-decoration:none;
color:#fff;
}
/* 배경 영상 */
.bg-video{
position:fixed;
top:0;
left:0;
width:100vw;
height:100vh;
object-fit:cover;
z-index:-2;
}
/* 어둡게 덮는 오버레이 */
.overlay{
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.5);
z-index:-1;
}
/* 공통 */
.wrap{
width:1200px;
margin:0 auto;
}
/* 헤더 */
.header{
height:80px;
position:relative;
z-index:10;
border-bottom:1px solid rgba(255,255,255,0.2);
background:rgba(0,0,0,0.3);
backdrop-filter:blur(5px);
}
.header .wrap{
height:80px;
display:flex;
justify-content:space-between;
align-items:center;
}
.logo{
font-size:26px;
font-weight:900;
}
/* 메뉴 */
.menu{
display:flex;
gap:40px;
}
.menu a{
font-size:18px;
font-weight:700;
transition:0.3s;
}
.menu a:hover{
color:#8af7ff;
}
/* 검색 */
.search a{
font-size:16px;
opacity:0.8;
transition:0.3s;
}
.search a:hover{
opacity:1;
}
/* 메인 텍스트 (히어로 영역) */
.hero{
height:100vh;
display:flex;
justify-content:center;
align-items:center;
text-align:center;
position:relative;
z-index:10;
}
.hero h1{
font-size:48px;
font-weight:900;
margin-bottom:20px;
}
.hero p{
font-size:20px;
opacity:0.85;
}
/* 반응형 */
@media (max-width:1280px){
.wrap{
width:90%;
}
}
@media (max-width:768px){
.menu{
display:none;
}
.hero h1{
font-size:32px;
}
.hero p{
font-size:16px;
}
}
</style>
</head>
<body>
<!-- 배경 영상 -->
<video class="bg-video" autoplay muted loop playsinline>
<source src="sample.mp4" type="video/mp4">
</video>
<!-- 어둡게 덮기 -->
<div class="overlay"></div>
<!-- 헤더 -->
<header class="header">
<div class="wrap">
<div class="logo">
<a href="#">법무법인 목현</a>
</div>
<nav class="menu">
<a href="#">목현소개</a>
<a href="#">구성원 소개</a>
<a href="#">업부분야</a>
<a href="#">업무사례</a>
<a href="#">미디어센터</a>
<a href="#">상담문의</a>
</nav>
<div class="search">
<a href="#">검색</a>
</div>
</div>
</header>
<!-- 메인 히어로 영역 -->
<section class="hero">
<div>
<h1>신뢰를 기반으로 한 법률 서비스</h1>
<p>법무법인 목현이 함께합니다</p>
</div>
</section>
</body>
</html>
#스타일시트 비디오