Загрузка данных
<header>
<div class="logo-group">
<div class="logo"><img src="images/logo.png" alt=""></div>
<div class="address">
<img src="images/map-pin.png" alt="">
<p>Город N</p>
</div>
</div>
<div class="navbar">
<div class="nav-item"><a href="">О компании</a></div>
<div class="nav-item"><a href="">Каталог</a></div>
<div class="nav-item"><a href="">Услуги</a></div>
<div class="nav-item btn"><a href="">Заказать проект</a></div>
<div class="nav-item"><img src="images/profile.png" alt=""></div>
</div>
</header>
<main>
<section class="cover">
<h1>ADAMANTO</h1>
<!-- -->
<p class="caption">Архитектурное бюро</p>
<p class="info">Разрабатываем проекты для малоэтажного строительства.<br>
Создаем пространство для жизни.</p>
<div class="cta-btn">Заказать проект</div>
</section>
<div class="section-heading">Технологии проектов</div>
<section class="technologies">
<div class="card">
<div class="content">
<img src="images/tech1.png" alt="">
<h2>Деревянные дома</h2>
<p>Lorem ipsum dolor sit amet consecte tur adipiscing elit semper dalaracc lacus vel facilisis volutpat est velitolm.</p>
</div>
<div class="btn-learnmore">Смотреть примеры <img src="images/arrow-right.png" alt=""></div>
</div>
<div class="card">
<div class="content">
<img src="images/tech2.png" alt="">
<h2>Кирпичные дома</h2>
<p>Lorem ipsum dolor sit amet consecte tur adipiscing elit semper dalaracc lacus vel facilisis.</p>
</div>
<div class="btn-learnmore">Смотреть примеры <img src="images/arrow-right.png" alt=""></div>
</div>
<div class="card">
<div class="content">
<img src="images/tech3.png" alt="">
<h2>Каркасные дома</h2>
<p>Lorem ipsum dolor sit amet consecte tur adipiscing elit semper dalaracc lacus vel facilisis volutpat est velitolm.</p>
</div>
<div class="btn-learnmore">Смотреть примеры <img src="images/arrow-right.png" alt=""></div>
</div>
</section>
<div class="section-heading">Чем можем похвастаться</div>
<section class="advantages">
<div class="card">
<img src="images/monitor.png" alt="">
<h2>Современные технологии</h2>
<p>Мы применим VR очки с дополненной реальностью для полного погружения.</p>
</div>
<div class="card">
<img src="images/map-pin.png" alt="">
<h2>Удобное расположение</h2>
<p>Наш офис находится по адресу улица Пушкина.</p>
</div>
<div class="card">
<img src="images/dollar-sign.png" alt="">
<h2>Доступные цены</h2>
<p>Совсем немного золотых монет - и проект готов!.</p>
</div>
</section>
<!-- ТВОЙ КОД ЗДЕСЬ -->
</main>
<footer>
<div class="navbar">
<img src="images/logo.png" alt="">
<div class="nav-item btn"><a href="">Заказать проект</a></div>
<div class="nav-item"><a href="">О компании</a></div>
<div class="nav-item"><a href="">Каталог</a></div>
<div class="nav-item"><a href="">Услуги</a></div>
</div>
<div class="contacts">
<div class="contact email"><img src="images/email.png" alt="">example@example.org</div>
<div class="contact"><img src="images/phone.png" alt="">+1 234 567 89 01</div>
<div class="contact"><img src="images/map-pin.png" alt="">Город N</div>
</div>
</footer>
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Playfair+Display+SC&display=swap');
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Montserrat', sans-serif;
font-weight: 300;
font-size: 16px;
width: 100vw;
height: 100vh;
}
/* Разделяющий заголовок */
.section-heading {
font-size: 1.5em;
font-weight: 500;
width: 100vw;
padding: 1em 64px;
margin-top: 3em;
margin-bottom: 2em;
background-color: #FFF2DE;
}
/* Шапка */
header {
width: 100%;
height: 6em;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 64px;
}
.logo-group {
display: flex;
width: fit-content;
height: 100%;
align-items: center;
gap: 16px;
}
.logo-group img {
height: 4em;
}
.address {
display: flex;
align-items: center;
}
.address img {
height: 1.5em;
}
.navbar {
display: flex;
align-items: center;
gap: 24px;
}
.navbar a{
text-decoration: none;
color: black;
cursor: pointer;
}
.navbar a:hover {
text-decoration: underline;
}
.nav-item img {
height: 2.5em;
}
.navbar .btn {
border: 1px solid black;
border-radius: 8px;
padding: 1em 2em;
cursor: pointer;
}
.navbar .btn:hover {
background: rgba(159, 159, 159, 0.177)
}
/* Обложка - cover */
.cover {
width: calc(100% - 128px);
height: calc(100vh - 6em - 2em); /* Чтобы шапка и обложка занимали всю высоту, и 2em снизу */
background: url(images/cover.png);
background-size: cover;
margin-left: 64px;
border-radius: 2em;
padding: 64px 7em;
display: flex;
flex-direction: column;
justify-content: center;
}
.cover h1 {
font-family: 'Playfair Display SC', serif;
font-size: 120px;
font-weight: 400;
margin: 0;
padding: 0;
line-height: 150px;
width: fit-content;
}
.caption {
margin: 0;
padding: 0;
}
.team-caption {
text-align: center;
}
.info {
width: 60%;
font-size: 1.7em;
margin-top: 1em;
font-weight: 500;
}
.cta-btn {
background: white;
border-radius: 8px;
padding: 1.2em 3em;
width: fit-content;
font-size: 1.2em;
margin-top: 3em;
cursor: pointer;
}
/* Технологии - technologies */
.technologies {
width: calc(100vw - 128px);
margin-left: 64px;
display: grid;
grid-template-rows: 1fr;
grid-template-columns: repeat(3, 1fr);
gap: 64px;
}
.technologies .card {
border: 1px solid #763A0B;
padding: 1.5em;
border-radius: 1em;
display: flex;
flex-direction: column;
justify-content: space-between;
}
.technologies .card .content img {
width: 100%;
border-radius: 1em;
}
.technologies .card .content h2 {
font-weight: 600;
margin: .5em 0;
}
.technologies .card .content p {
margin: 1em 0;
}
.btn-learnmore {
display: flex;
align-items: center;
gap: 8px;
color: #763A0B;
cursor: pointer;
text-decoration: underline;
font-weight: 600;
}
.btn-learnmore img {
width: 1.2em;
height: 1em;
flex-grow: 0;
flex-shrink: 0;
}
.btn-learnmore:hover {
text-decoration: none;
}
/* Чем можем похвастаться - advantages */
.advantages {
width: calc(100vw - 128px);
margin-left: 64px;
display: grid;
grid-template-rows: 1fr;
grid-template-columns: repeat(3, 1fr);
gap: 64px;
}
.advantages .card {
background-color: #FFF2DE;
padding: 1.5em;
border-radius: 1em;
display: flex;
flex-direction: column;
justify-content: space-between;
}
.advantages .card img {
width: 40%;
}
.advantages .card h2 {
font-weight: 500;
margin: .5em 0;
}
/* Этапы работы над проектом - steps */
.steps {
width: calc(100vw - 256px);
margin-left: 128px;
}
.steps-grid {
width: 100%;
display: grid;
grid-template-rows: repeat(2, 1fr);
grid-template-columns: repeat(3, 1fr);
grid-template-areas:
"a b c"
"d e e";
background: black;
gap: 1px;
border-radius: 20px;
overflow: hidden;
box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.1);
}
#steps-cell-1 { grid-area: a; }
#steps-cell-2 { grid-area: b; }
#steps-cell-3 { grid-area: c; }
#steps-cell-4 { grid-area: d; }
#steps-cell-5 { grid-area: e; }
.steps-cell {
height: 300px;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
position: relative;
gap: 1.5em;
background: white
}
.steps-cell h2 {
font-weight: 600;
font-size: 1.6em
}
.steps-cell .steps-price {
font-weight: 400;
font-size: 1.8em;
}
.steps-learnmore {
position: absolute;
bottom: 1.5em;
display: flex;
align-items: center;
gap: 8px;
}
.steps-learnmore img {
width: .9em;
}
/* Подвал - footer */
footer {
width: 100%;
background-color: #FFF2DE;
padding: 64px;
margin-top: 6em;
display: flex;
justify-content: space-between;
}
footer .navbar img {
width: 6em;
}
.contacts {
display: flex;
flex-direction: column;
gap: 1em;
}
.contact {
display: flex;
align-items: center;
gap: 1em;
}
.contact img {
width: 1.5em
}
.email {
text-decoration: underline;
}