:root {
    --main-background: rgba(47, 48, 58, 1);
    --akcent-color: rgba(33, 150, 243, 1);
    --nav-color: rgba(33, 33, 33, 1);
    --title-color: rgba(33, 33, 33, 1);
    --text-color: rgba(117, 117, 117, 1);
    --accent2-color: rgba(255, 255, 255, 1);
}

.container {
    width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}

/* header */

nav a.active {
    color: #2196F3;
}

nav a.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -31px;
    border-radius: 2px;
    width: 100%;
    height: 4px;
    background: #2196f3;
    transition-property: content;
    transition-duration: 250ms;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    animation: bounce;
    animation-duration: 2s;
    animation-iteration-count: infinite;
}

.header {
    padding-top: 24px;
    padding-bottom: 25px;
    border-bottom: 1px solid #7575754e;
}

.header-container {
    display: flex;
}

.header-nav {
    display: flex;
    align-items: center;
}

.heder-title {
    color: #000;
    font-family: Raleway;
    font-size: 26px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 0.78px;
}

.span1 {
    color: var(--akcent-color);
    font-family: Raleway;
    font-size: 26px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 0.78px;
}

.header-list {
    display: flex;
    gap: 50px;
    margin-left: 93px;
    /* margin-right: 344px; */
}

.header-link {
    color: var(--title-color);
    font-family: Roboto;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 0.28px;
    position: relative;
}

.header-link:hover {
    color: var(--akcent-color);
    font-family: Roboto;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 0.28px;
    transition-duration: 250ms;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.header-link:hover::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -31px;
    border-radius: 2px;
    width: 100%;
    height: 4px;
    background: #2196f3;
    transition-property: all;
    transition-duration: 250ms;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);

    transition: width 0.3s ease;
}

.address-list {
    display: flex;
    gap: 30px;
}

.address-item {
    display: flex;
    gap: 10px;
    align-items: center;
}

.address-item:hover {
    display: flex;
    gap: 10px;
    align-items: center;
    color: var(--akcent-color);
    transition-duration: 250ms;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);

}

.address-item:hover>.header-envelope {
    fill: var(--akcent-color);
    transition-duration: 250ms;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}


.address-item:hover>.header-smartphone {
    fill: var(--akcent-color);
    transition-duration: 250ms;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}




.address-link {
    color: var(--text-color);
    font-family: Roboto;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 0.28px;
}

.address-link:hover {
    color: var(--akcent-color);
    font-family: Roboto;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 0.28px;
    transition-duration: 250ms;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}



.header-envelope {
    width: 16px;
    height: 12px;
    margin-left: 318px;
    fill: rgb(117, 117, 117);
}

.header-envelope:hover {
    width: 16px;
    height: 12px;
    fill: var(--akcent-color);
    transition-duration: 250ms;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.header-smartphone {
    width: 10px;
    height: 16px;
    fill: rgb(117, 117, 117);
}

.header-smartphone:hover {
    width: 10px;
    height: 16px;
    fill: var(--akcent-color);
    transition-duration: 250ms;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* buttons */
.buttons {
    padding-top: 94px;
    padding-bottom: 50px;
}

.buttons-list {
    display: flex;
    justify-content: center;
    gap: 8px;
    /* width: 73px;
    height: 38px; */
}

.button {
    color: var(--title-color);
    text-align: center;
    font-family: Roboto;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 26px;
    letter-spacing: 0.48px;
    border-radius: 4px;
    background: #F5F4FA;
    padding-left: 22px;
    padding-right: 22px;
    padding-top: 6px;
    padding-bottom: 6px;
}

.button:first-child {
    padding-left: 25px;
    padding-right: 25px;
    padding-top: 6px;
    padding-bottom: 6px;
}

.button:first-child:hover {
    padding-left: 25px;
    padding-right: 25px;
    padding-top: 6px;
    padding-bottom: 6px;
    color: var(--accent2-color);
    text-align: center;
    font-family: Roboto;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 26px;
    letter-spacing: 0.48px;
    border-radius: 4px;
    background: var(--akcent-color);
    box-shadow: 0px 3px 1px 0px rgba(0, 0, 0, 0.10), 0px 1px 2px 0px rgba(0, 0, 0, 0.08), 0px 2px 2px 0px rgba(0, 0, 0, 0.12);
    transition-duration: 250ms;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.button:hover {
    color: var(--accent2-color);
    text-align: center;
    font-family: Roboto;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 26px;
    letter-spacing: 0.48px;
    border-radius: 4px;
    background: var(--akcent-color);
    box-shadow: 0px 3px 1px 0px rgba(0, 0, 0, 0.10), 0px 1px 2px 0px rgba(0, 0, 0, 0.08), 0px 2px 2px 0px rgba(0, 0, 0, 0.12);
    padding-left: 22px;
    padding-right: 22px;
    padding-top: 6px;
    padding-bottom: 6px;
    transition-duration: 250ms;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
animation: headShake 1s;
}


/* projects */

/* .projects {
    padding-bottom: 94px;
} */

.projects {
    padding-bottom: 94px;
}

.projects-list {
    display: flex;
    flex-wrap: wrap;
    flex-basis: calc((100% * 30px) / 3);
    gap: 30px;
}

.projects-title {
    color: var(--title-color);
    font-family: Roboto;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 36px;
    letter-spacing: 1.08px;
    padding-top: 20px;
    margin-bottom: 4px;
    padding-left: 24px;
    padding-right: 24px;
}

.projects-article {
    width: 370px;
    height: 404px;
    border: 1px solid rgba(238, 238, 238, 1);
    background: rgba(255, 255, 255, 1);

}

.projects-article:hover {
    transition-property: box-shadow;
    transition-duration: 250ms;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.12), 0px 4px 4px 0px rgba(0, 0, 0, 0.06), 1px 4px 6px 0px rgba(0, 0, 0, 0.16);
}

.projects-text {
    color: var(--text-color);
    font-family: Roboto;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 30px;
    letter-spacing: 0.48px;
    padding-bottom: 20px;
    padding-left: 24px;
    padding-right: 24px;
}

.projects-article {
    position: relative;
    overflow: hidden;
}

.projects-article:hover .overlay {
    opacity: 1;
    transform: translateY(0);

}


.overlay {
    width: 370px;
    height: 294px;
    background: rgba(33, 150, 243, 0.9);
    position: absolute;
    right: 0;
    bottom: 110px;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    padding-left: 24px;
    padding-right: 24px;
    padding-top: 63px;
    padding-bottom: 63px;
    transform: translateY(100%);
    transition-property: opacity, transform;
    transition-duration: 500ms;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);

}

.overlay1-text {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 18px;
    line-height: 156%;
    letter-spacing: 0.03em;
    color: #fff;
}

/* footer */
.footer {
    padding-top: 60px;
    padding-bottom: 60px;
    background-color: rgba(47, 48, 58, 1);
}

.footer-container {
    display: flex;
}



.footer-list {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.footer-title {
    color: var(--accent2-color);
    font-family: Raleway;
    font-size: 26px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 0.78px;
    margin-bottom: 20px;
    margin-right: 156px;
}

#footer-a {
    color: var(--accent2-color);
    font-family: Roboto;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0.42px;
}

.footer-link {
    color: var(--text-color);
    font-family: Roboto;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0.42px;
}

.footer-box2 {
    padding-top: 12px;
    margin-right: 93px;
}

.footer-subtittle {
    color: #FFF;
    font-family: Roboto;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 0.42px;
    text-transform: uppercase;
}

.footer-svgs {
    display: flex;
    /* justify-content: center;
    align-items: center; */
    gap: 10px;
}

.footer-div {
    margin-top: 16px;
    margin-bottom: 30px;
}

.footer-div:hover {
    width: 44px;
    height: 44px;
    border: solid rgba(33, 150, 243, 1);
    border-radius: 50%;
    background-color: rgba(33, 150, 243, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition-duration: 250ms;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    animation: team-animation 500ms;
}

@keyframes team-animation {
    0% {
        transform: rotate(0deg);
    }


    100% {
        transform: rotate(360deg);
    }

}

.footer-div {
    width: 44px;
    height: 44px;
    background-color: rgba(255, 255, 255, 0.10);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;

}

.footer-svg {
    width: 20px;
    height: 20px;
    fill: rgba(255, 255, 255, 1);
}

.box3-text {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 20px;
    padding-top: 12px;
    margin-right: 10px;
}

.box3-input {
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    width: 358px;
    height: 50px;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.15);
    background: rgba(33, 150, 243, 0);
    padding-left: 16px;
    padding-top: 15px;
    padding-bottom: 15px;
}

.box3-button {
    background-color: #2196F3;
    width: 200px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 4px;
    animation: pulse;
    animation-duration: 1.5s;
    animation-iteration-count: infinite;
    /* padding-left: 28px;
    padding-top: 10px;
    padding-bottom: 10px; */

}

span {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 16px;
    line-height: 187%;
    letter-spacing: 0.06em;
    text-align: center;
    color: #fff;
}

.button-svg {
    fill: rgb(255, 255, 255);
    height: 24px;
    width: 24px;
}

.box3-form {
    display: flex;
    gap: 12px;
}