h1,
h2,
h3,
h4,
p {
    margin-top: 0;
    margin-bottom: 0;
}

ul {
    margin-top: 0;
    margin-bottom: 0;
    padding-left: 0;
    list-style: none;
}

a {
    text-decoration: none;
}

img {
    display: block;
}

.list {
    list-style: none;
}

.link {
    text-decoration: none;
}

body {
    font-family: 'Roboto', sans-serif;

}

.container {
    padding-left: 35px;
    padding-right: 35px;
    margin-left: auto;
    margin-right: auto;
    width: 1170px;
}

.header {
    border-bottom: 2px solid #bfbfc7;
    box-shadow: 0px 2px 2px rgba(46, 47, 66, 0.08), 0px 1px 5px rgba(46, 47, 66, 0.16), 0px 1px 6px rgba(46, 47, 66, 0.08);
}

.header-container {
    height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;

}

.hero-img {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    max-width: 100%;

}

.nav-menu {
    display: flex;
    gap: 15px;
}

.nav-link {
    font-weight: 600;
    font-size: 16px;
    line-height: 1.14;
    letter-spacing: -.02em;
    color: grey;
    transition: color .25s cubic-bezier(.4, 0, .2, 1);
}

.nav-link:hover,
.nav-link:focus {
    color: rgb(6, 201, 201)
}

.hero {
    padding-top: 100px;
    padding-bottom: 150px;
    margin-bottom: 50px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-image: linear-gradient(rgba(46, 47, 66, 0.7), rgba(46, 47, 66, 0.7)), url('./images/jason-goodman-Oalh2MojUuk-unsplash.jpg');
}

.hero-title {
    font-weight: 800;
    margin-bottom: 45px;
    font-size: 56px;
    line-height: 1.5;
    max-width: 496px;
    color: aqua;
}

.hero-text {
    font-weight: 600;
    font-size: 28px;
    line-height: 1.5;
    color: aquamarine;
}

.advantages {
    font-weight: 700;
    font-size: 40px;
    line-height: 1.5;
    color: rgb(75, 63, 63);
    text-align: center;
    margin-bottom: 40px;
}

.advantage {
    background: #F4F4FD;
    border-radius: 4px;
    padding: 30px;
}

.advantages-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.advantage-title {
    font-weight: 600;
    font-size: 28px;
    line-height: 1.5;
    color: rgb(66, 64, 64);
    margin-bottom: 15px;
}

.advantage-text {
    font-weight: 400;
    font-size: 17px;
    line-height: 1.5;
    color: rgb(66, 64, 64);
}

.contact-form {
    margin-top: 100px;
}

.contact-title {
    font-weight: 600;
    font-size: 28px;
    line-height: 1.5;
    color: rgb(66, 64, 64);
    margin-bottom: 40px;
}

.label-block {
    margin-bottom: 10px;
}

.label-text {
    font-weight: 600;
    font-size: 15px;
    line-height: 1.5;
}

.label-btn {
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.04em;
    cursor: pointer;
    color: #FFFFFF;
    background-color: rgb(6, 201, 201);
    padding: 10px 25px;
    border-radius: 6px;
    border: none;
    transition-property: background-color;
    transition-duration: 250ms;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.label-btn:hover,
.label-btn:focus {
    background-color: rgb(6, 153, 153)
}

.form-input {
    width: 100%;
    height: 40px;
    color: #000000;
    border: 1px solid rgba(33, 33, 33, 0.2);
    border-radius: 4px;
    padding: 8px 16px 8px 38px;
}

.map {
    margin-top: 50px;
    margin-bottom: 50px;
}

.map-title {
    font-weight: 600;
    font-size: 28px;
    line-height: 1.5;
    color: rgb(66, 64, 64);
    margin-bottom: 20px;
}

.map-text {
    font-weight: 400;
    font-size: 17px;
    line-height: 1.5;
    color: rgb(66, 64, 64);
}



.map-logo {
    display: flex;
    align-items: center;
    font-weight: 400;
    font-size: 17px;
    line-height: 1.5;
    color: rgb(66, 64, 64);
}

.footer {
    background-color: rgb(36, 126, 126);
    padding-top: 50px;
    padding-bottom: 30px;
}

.footer-block {
    display: flex;
    justify-content: space-between;
}

.footer-phone {
    font-weight: 600;
    font-size: 20px;
    line-height: 1.5;
    color: rgb(235, 223, 223);
    transition-property: color;
    transition-duration: 250ms;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-phone:hover,
.footer-phone:focus {
    color: rgb(6, 201, 201)
}

.footer-info {
    margin-top: 80px;
    text-align: center;

}

.footer-text {
    font-weight: 600;
    font-size: 15px;
    line-height: 1.5;
    color: black;
    margin-bottom: 15px;
}

.footer-links {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.footer-lin {
    font-weight: 600;
    font-size: 15px;
    line-height: 1.5;
    color: rgb(235, 223, 223);
    transition-property: color;
    transition-duration: 250ms;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-lin:hover,
.footer-lin:focus {
    color: rgb(6, 201, 201)
}

.cookie-popup {
    position: fixed;
    bottom: 0;
    background-color: #f1f1f1;
    padding: 20px;
    width: 100%;
    display: none;
    text-align: center;
}

.cookie-text {
    font-weight: 600;
    font-size: 15px;
    line-height: 1.5;
    color: rgb(20, 20, 20);
    margin-bottom: 10px;
}

.cookie-btn {
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.04em;
    cursor: pointer;
    color: #FFFFFF;
    background-color: rgb(158, 206, 206);
    padding: 5px 25px;
    border-radius: 6px;
    border: none;

    transition-property: background-color;
    transition-duration: 250ms;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-btn:hover,
.cookie-btn:focus {
    background-color: rgb(126, 145, 145)
}

.like {

    height: 400px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-image: url('./images/like.jpg');
}

.like-title {
    font-weight: 600;
    font-size: 45px;
    line-height: 1.5;
    text-align: center;
    margin-top: 50px;
    color: rgb(4, 194, 194);
    text-shadow: rgb(8, 83, 83) 1px 0 5px;
}

.about-title {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 40px;
    line-height: 1.5;
}

.about-text {
    margin-bottom: 25px;
    font-weight: 500;
    font-size: 18px;
    line-height: 1.5;
}