/* GENERAL */

* {
box-sizing: border-box;
}

body {
margin: 0;
background-color: #FFFF82;
color: #171717;
font-family: Arial, 'Segoe UI', Verdana, sans-serif;
}

a {
color: inherit;
text-decoration: none;
}

.site {
max-width: 1280px;
margin: 0 auto;
padding: 24px 42px 12px;
}


/* HEADER */

header {
display: flex;
justify-content: space-between;
align-items: center;
gap: 20px;
min-height: 104px;
}

.logo {
display: block;
width: 200px;
height: 100px;
flex-shrink: 0;
background-image: url("images/antol-logo-sprite.svg");
background-repeat: no-repeat;
background-position: 0 0;
background-size: 400px 100px;
}

.logo:hover {
background-position: -200px 0;
}

nav {
display: flex;
flex-wrap: wrap;
gap: 9px;
}

nav a {
border: 2px solid #171717;
padding: 10px 19px;
font-size: 12px;
font-weight: bold;
text-align: center;
}

nav a:hover,
nav a.active {
background-color: #171717;
color: #FFFF82;
}


/* INTRO */

.intro {
display: flex;
justify-content: space-between;
align-items: center;
gap: 60px;
min-height: 390px;
padding: 32px 0 38px;
}

.heading {
flex: 1;
min-width: 0;
}

.intro h1 {
font-size: 90px;
line-height: 1;
letter-spacing: -4px;
font-weight: bold;
margin: 0;
}

.illustration {
display: block;
width: 32%;
max-width: 350px;
height: auto;
object-fit: contain;
flex-shrink: 0;
}


/* PRODUCT */

.product {
display: flex;
justify-content: space-between;
align-items: center;
gap: 35px;
padding: 15px 0 20px;
}

.product h1 {
font-size: 80px;
line-height: 1;
letter-spacing: -4px;
font-weight: bold;
margin: 0;
}

.photo {
display: block;
width: 40%;
max-width: 450px;
height: auto;
object-fit: contain;
flex-shrink: 0;
}


/* DESCRIPTION */

.description {
padding: 24px 0 45px;
}

.subtitle {
background-color: #171717;
color: white;
padding: 26px 30px;
font-size: 30px;
font-weight: bold;
margin: 0 0 50px;
}

.content p {
font-size: 17px;
line-height: 1.85;
margin: 0 0 20px;
}


/* CONTACT */

#contact {
display: flex;
justify-content: space-between;
align-items: center;
gap: 20px;
padding: 15px 0;
}

#contact h2 {
font-size: 30px;
margin: 0 0 12px;
}

#contact p {
margin: 0;
}

.contact {
display: block;
width: 100px;
height: 100px;
flex-shrink: 0;
background-image: url("images/contact-sprite.svg");
background-repeat: no-repeat;
background-position: 0 0;
background-size: 200px 100px;
}

.contact:hover {
background-position: -100px 0;
}


/* FOOTER */

footer img {
display: block;
width: 100%;
height: auto;
}
