a,
abbr,
acronym,
address,
applet,
article,
aside,
audio,
b,
big,
blockquote,
body,
canvas,
caption,
center,
cite,
code,
dd,
del,
details,
dfn,
div,
dl,
dt,
embed,
fieldset,
figcaption,
figure,
footer,
form,
h1,
h2,
h3,
h4,
h5,
h6,
header,
hgroup,
html,
i,
iframe,
img,
ins,
kbd,
label,
legend,
li,
mark,
menu,
nav,
object,
ol,
output,
p,
pre,
q,
ruby,
s,
samp,
section,
small,
span,
strike,
strong,
sub,
summary,
sup,
table,
tbody,
td,
tfoot,
th,
thead,
time,
tr,
tt,
u,
ul,
var,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline
}

em {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  vertical-align: baseline
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block
}

body {
  line-height: 1
}

ol,
ul {
  list-style: none
}

html {
  width: 100%;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale
}

*,
:after,
:before,
html {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box
}
@font-face {
    font-family: 'Work Sans';
    src: url('../fonts/WorkSans-Black.ttf') format('ttf'), url('../fonts/WorkSans-BlackItalic.ttf') format('ttf'), url('../fonts/WorkSans-Bold.ttf') format('ttf'), url('../fonts/WorkSans-BoldItalic.ttf') format('ttf'), url('../fonts/WorkSans-ExtraBold.ttf') format('ttf'), url('../fonts/WorkSans-ExtraBoldItalic.ttf') format('ttf'), url('../fonts/WorkSans-ExtraLight.ttf') format('ttf'), url('../fonts/WorkSans-ExtraLightItalic.ttf') format('ttf'), url('../fonts/WorkSans-Italic.ttf') format('ttf'), url('../fonts/WorkSans-Light.ttf') format('ttf'), url('../fonts/WorkSans-LightItalic.ttf') format('ttf'), url('../fonts/WorkSans-Medium.ttf') format('ttf'), 
   /* url('../fonts/WorkSans-Light.ttf') format('ttf'), url('../fonts/WorkSans-Light.ttf') format('ttf'), url('../fonts/WorkSans-Light.ttf') format('ttf'), */
}
body {
    font-family: 'Work Sans', sans-serif;
}
:root {
    --ui-block-title-color-light: #fff;
    --ui-brand-color: #81C747;
    --ui-brand-accent-color: #FFAB00;
    --ui-block-title-color: #2c2e38;
}
/* HEADER */
.hero-background {
    background-position: center;
    background-image: url('../img/background.jpeg');
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}
.hero-background-gradient{
    background: linear-gradient(90deg, rgba(146, 200, 62, 0.85) 0%, rgba(6, 172, 61, 0.8) 100%);
}
.header {
    height: 110px;
    padding: 30px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo{
    color: var(--ui-block-title-color-light);
    font-size: 25px;
    text-decoration: none;
    padding: 10px 0;
    z-index: 3;
    text-transform: uppercase;
    transition: color 0.3s ease;
}
.logo:hover,
.logo:focus {
    color: var(--ui-brand-accent-color)
}
@media screen and (min-width: 768px) {
    .header {
        height: 110px;
        padding: 30px 32px;
   }
}
@media screen and (min-width: 1024px) {
    .header {
        height: 110px;
        padding: 30px 40px;
        width: 944px;
        margin: 0 auto;
   }
}
@media screen and (min-width: 1424px) {
    .header {
        height: 110px;
        padding: 30px 40px;
        width: 1200px;
        margin: 0 auto;
   }
}
.header__navigation {
    display: none;
    width: 400px;
}
.header__navigation-list{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.header__navigation-link {
    color: rgba(255, 255, 255, 0.85);
    font-size: 16px;
    padding: 10px 0;
    text-transform: capitalize;
    text-decoration: none;
    position: relative;
    font-family: Hind, sans-serif;
    transition: color 0.3s ease;
}
.header__navigation-link:hover, .header__navigation-link:focus {
    color: var(--ui-brand-accent-color);
}
@media screen and (min-width: 1024px){
    .header__navigation-link {
        font-size: 20px;
   }
}
.header__navigation-link::after {
    content: '';
    position: absolute;
    left: -15%;
    bottom: -5px;
    width: 130%;
    height: 1px;
    background-color: transparent;
    transition: background-color 0.3s ease;
}
.header__navigation-link:hover::after {
    background-color: var(--ui-brand-accent-color);
}
.header__burger{
    z-index: 3;
    color: var(--ui-block-title-color-light);
}
.ham {
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: transform 0.3s ease;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    transition: color 0.3s ease;
}
.hamRotate.active {
    transform: rotate(45deg);
}
.hamRotate180.active {
    transform: rotate(180deg);
}
.line {
    fill:none;
    transition: stroke-dasharray 300ms ease, stroke-dashoffset 300ms ease;
    stroke: var(--ui-block-title-color-light);
    stroke-width:5.5;
    stroke-linecap:round;
}
.header__burger:hover .line,
.header__burger:focus .line {
    stroke: var(--ui-brand-accent-color);
}
.ham .top {
    stroke-dasharray: 40 121;
}
.ham .bottom {
    stroke-dasharray: 40 121;
}
.ham.active .top {
    stroke-dashoffset: -68px;
}
.ham.active .bottom {
    stroke-dashoffset: -68px;
}
.mobile-menu{
    display: none;
    position: fixed;
    height: 100vh;
    width: 100vw;
    top: 0;
    left: 0;
    z-index: 2;
    background-color: var(--ui-brand-color);
    color: white;
}
.mobile__navigation{
    padding-top: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.mobile__navigation-list{
    width: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}
.mobile__navigation-link{
    text-decoration: none;
    color: inherit;
    line-height: 1.3;
    font-size: 18px;
    text-transform: capitalize;
    transition: color 0.3s ease;
}
.mobile__navigation-link:hover,
.mobile__navigation-link:focus {
    color: var(--ui-brand-accent-color)
}
.slogan__container{
    padding: 50px 24px 110px 24px;
}
.slogan__text{
    font-size: 56px;
    line-height: 1.3;
    color: var(--ui-block-title-color-light);
    font-family: "Work Sans", sans-serif;
}
@media screen and (min-width: 768px) {
    .slogan__container{
        padding: 50px 32px 180px 32px;
   }
    .slogan__text{
        font-size: 67px;
        line-height: 1.2;
        width: 680px;
   }
}
@media screen and (min-width: 991px){
    .header__navigation {
        display: block;
   }
    .header__burger {
        display: none;
   }
    .mobile-menu{
        display: none;
   }
}
@media screen and (min-width: 1024px) {
    .slogan__container{
        padding: 50px 40px 245px 40px;
        width: 944px;
        margin: 0 auto;
   }
    .slogan__text{
        font-size: 70px;
        width: 100%;
   }
}
@media screen and (min-width: 1424px) {
    .slogan__container{
        width: 1200px;
        margin: 0 auto;
   }
}
/* ABOUT */
.about{
    padding: 70px 24px;
}
.about__title{
    font-size: 38px;
    line-height: 1.3;
    font-family: "Work Sans", sans-serif;
    color: var(--ui-block-title-color);
    font-weight: 700;
    text-align: center;
    margin-bottom: 45px;
}
.about__text{
    font-size: 30px;
    line-height: 1.3;
    font-family: "Work Sans", sans-serif;
    color: var(--ui-block-title-color);
    letter-spacing: 0.07cap;
}
@media screen and (min-width: 768px) {
    .about{
        padding: 70px 32px 50px;
    }
    .about__title{
        font-size: 48px;
   }
    .about__text{
        font-size: 38px;
   }
}
@media screen and (min-width: 1024px) {
    .about{
        padding: 70px 40px 40px;
   }
    .about__title{
        font-size: 56px;
   }
    .about__text{
        font-size: 48px;
   }
}
@media screen and (min-width: 1424px) {
    .about{
        width: 1200px;
        margin: 0 auto;
   }
}
/* PROJECTS */
.projects{
    padding: 0 24px 70px;
    width: 100%;
}
.projects__title{
    font-size: 38px;
    line-height: 1.3;
    font-family: "Work Sans", sans-serif;
    color: var(--ui-block-title-color);
    font-weight: 700;
    text-align: center;
    margin-bottom: 45px;
}
.projects__list{
    width: 100%;
	height: 100%;
    display: flex;
    flex-direction: column;
    gap: 25px;
}
.projects__item{
    background-color: #fff;
    border-radius: 5px;
    padding: 35px;
    box-shadow: 0 1.4rem 2.4rem rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    outline-offset: 0.6rem;
    display: flex;
    justify-content: center;
    align-items: center;
}
.projects__item > a {
    cursor: pointer;
    text-decoration: none;
}
.projects__item:hover, .projects__item:focus{
    box-shadow: 0 1.4rem 3rem rgba(0, 0, 0, 0.4);
    transform: scale(1.17) ;
    outline: 2px solid var(--ui-brand-accent-color);
    border-radius: 10px;
}
.cart {
    width: 200px;
    height: 90px;
    border-radius: 6px;
    object-fit: cover;
    object-position: 50% 50%;
    border: 0.5px black solid;
}
.projects__label{
    font-size: 22px;
    text-align: center;
    margin-top: 20px;
    font-weight: 600;
    color: black;
}
@media screen and (min-width: 480px) {
    .projects__list{
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    .projects__item{
        flex-basis: calc((100% - 15px) / 2);
        width: 208px;
    }
    .cart {
        width: 180px;
        height: 80px;
    }
}
@media screen and (min-width: 600px) {
    .projects__list{
        gap: 30px;
    }
    .projects__item{
        flex-basis: calc((100% - 60px) / 3);
        width: 180px;
    }
    .cart {
        width: 160px;
        height: 70px;
    }
}
@media screen and (min-width: 768px) {
    .projects{
        padding: 30px 32px 90px;
   }
   .projects__list{
        gap: 30px;
    }
    .projects__title{
        font-size: 48px;
   }
   .projects__item{
        flex-basis: calc((100% - 60px) / 3);
    }
    .cart {
        width: 200px;
        height: 80px;
    }
    .projects__label{
        font-size: 28px;
        margin-top: 20px;
    }
}
@media screen and (min-width: 1024px) {
    .projects{
        padding: 40px 40px 90px;
   }
    .projects__title{
        font-size: 56px;
    }
    .cart {
        width: 230px;
        height: 110px;
    }
}
@media screen and (min-width: 1424px) {
    .projects{
        width: 1200px;
        margin: 0 auto;
    }
    .cart {
        width: 220px;
        height: 120px;
    }
}
/* FOOTER */
.footer {
    padding: 60px 24px 55px;
    background-color: var(--ui-brand-color);
}
.footer__container {
    display: flex;
    flex-direction: column;
    color: white;
    gap: 50px;
}
.footer__main-question{
    font-size: 40px;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.3;
}
.footer__main-text{
    font-size: 58px;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 10px;
}
.footer__main-extra{
    font-size: 24px;
    line-height: 1.3;
}
.footer__additional{
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.footer__additional > a {
    cursor: pointer;
}
.footer__additional > a:hover,  
.footer__additional > a:focus {
    color: var(--ui-brand-accent-color);
}
.footer__additional-text{
    text-decoration: none;
    font-size: 16px;
    line-height: 1.3;
    color: inherit;
    display: block;
    
}
.footer__phrase{
    text-align: center;
    font-size: 18px;
    line-height: 1.3;
    max-width: 380px;
    margin: 0 auto;
}
@media screen and (min-width: 750px) {
    .footer {
        padding: 60px 32px 55px;
   }
    .footer__container{
        gap: 30px;
        flex-wrap: wrap;
        flex-direction: row;
        justify-content: space-between;
   }
    .footer__main-question{
        font-size: 48px;
        margin-bottom: 20px;
   }
    .footer__main-text{
        font-size: 68px;
        margin-bottom: 10px;
   }
    .footer__additional{
        gap: 20px;
        width: 250px;
   }
    .footer__phrase{
        font-size: 24px;
        max-width: 550px;
        margin-top: 30px;
   }
}
@media screen and (min-width: 1024px) {
    .footer {
        padding: 60px 40px 60px;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
   }
    .footer__main-question{
        font-size: 48px;
        margin-bottom: 20px;
   }
    .footer__main-text{
        font-size: 68px;
        margin-bottom: 10px;
   }
    .footer__additional{
        gap: 20px;
        width: 450px;
   }
    .footer__additional-text{
        font-size: 20px;
   }
    .footer__phrase{
        font-size: 28px;
        max-width: 650px;
        margin-top: 50px;
   }
}
@media screen and (min-width: 1424px) {
    .footer {
        padding: 0;
   }
    .footer__container{
        width: 1200px;
        padding: 60px 40px 60px;
        margin: 0 auto;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
   }
    .footer__main-question{
        font-size: 48px;
        margin-bottom: 20px;
   }
    .footer__main-text{
        font-size: 68px;
        margin-bottom: 10px;
   }
    .footer__additional{
        gap: 20px;
        width: 450px;
   }
    .footer__additional-text{
        font-size: 20px;
   }
    .footer__phrase{
        font-size: 28px;
        max-width: 650px;
        margin-top: 50px;
   }
}
