@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700&display=swap');

/* Start modern-css-reset */
/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role="list"],
ol[role="list"] {
  list-style: none;
}
ul li {
    list-style: none; 
}

/* Set core root defaults */
html:focus-within {
  scroll-behavior: smooth;
}

/* Set core body defaults */
body {
    min-height: 100vh;
    text-rendering: optimizeSpeed;
    line-height: 1.5;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
    text-decoration-skip-ink: auto;
}

a {
    text-decoration: none; 
}
                          
a:hover {
    text-decoration: none; 
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}

/* Remove all animations and transitions for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
   scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
/* End */

html, body {
    font-family: Roboto, sans-serif;
    max-width: 1600px;
    margin: 0 auto;
    background-color: rgb(233, 233, 233);
}

/* Header */
#header {
    position: absolute;
    display: flex;
    justify-content: center;
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 140%;
    width: 1600px;
}

#header nav {
margin-right: 40px; 
}

#header nav ul {
    margin-top: 20px;
    display: flex;
    align-items: center;
}

    #header nav ul li:first-child {
        margin-right: 85px; 
    }
    #header nav ul li:nth-child(2) {
        margin-right: 100px; 
    }
    #header nav ul li:nth-child(3) {
        margin-right: 100px; 
        margin-top: 5px;
    }
    #header nav ul li:nth-child(4) {
        margin-right: 85px; 
    }

#header nav ul li img:hover {
    cursor: pointer;
}

#header nav ul li a {
    position: relative; 
    opacity: 0.8;
    color: #fff;
}

#header nav ul li a:after {
    position: absolute;
    right: 0;
    content: " ";
    width: 100%;
    transform: scale(0); 
    padding: 0.5px;
    background-color: #fff;
    bottom: -1px;
}
#header nav ul li a.active {
    opacity: 1; 
}
#header nav ul li a.active:after {
    transform: scale(1); 
}

#header nav ul li a:hover {
    opacity: 1; 
}
#header nav ul li a:hover:after {
    transform: scale(1);
}

#header h1 {
    position: absolute; 
    margin-top: 230px;
    text-align: center;
    font-style: normal;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 64px;
    line-height: 75px;
    letter-spacing: 4.5px;
    color: #fff;
    margin-bottom: 21px;
}

/* Your Life Block */ 
#your-life {
    width: 1600px;
    height: 788px;
    background: url("assets/bg-image.svg") no-repeat 50%/cover; 
}

#your-life h3 {
    padding-top: 325px;
    font-size: 18px;
    line-height: 140%;
    text-align: center;
    color: #fff;
    width: 504px;
    margin: 0 auto;
    font-style: normal;
    font-weight: normal;
    margin-bottom: 30px; 
}

.btn-main {
    width: 184px;
    height: 46px;
    font-size: 14px;
    font-weight: 700;
    line-height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    margin: 0 auto;
    background-color: #00AFDB;
    color: #FFFFFF;
    margin-bottom: 183px;
}

.btn-main:hover {
    background-color: #009CC2;
    cursor: pointer; 
}

.social-icons {
    width: 160px;
    height: 20px;
    display: flex;
    margin: 0 auto;
    justify-content: space-between; }
    
.social-icons a {
    transition: all 0.2s linear; 
}

.social-icons a:hover {
    transform: translateY(-5px);
    cursor: pointer; 
}

/* Rappresent Block */
#rappresent {
    width: 1600px;
    display: flex;
    height: 842px;
    background-color: #fff; 
}

.first-section-info {
      margin: 295px 248px 0 268px;
      width: 407px;
      height: 233px; 
}

.first-section-info .btn-main {
    margin-left: 0; 
}

.first-section-image {
    width: 677px;
    margin-top: 120px; 
}
  
h2 {
    font-size: 24px;
    line-height: 28px;
    letter-spacing: 1px;
    font-weight: 700;
    text-transform: uppercase;
    color: #373737;
    margin-bottom: 20px; 
}
  
p {
    line-height: 19px;
    font-size: 14px;
    margin-bottom: 30px;
    font-weight: 400;
    color: #4E4E4E; 
}

/* Our Community Block */
#our-community {
    width: 1600px;
    display: flex;
    height: 504px;
    background-color: #F5F6F7; 
}

.second-section-info {
    width: 298px;
    margin: 155px 139px 174px 269px; 
}
    
.second-section-info img {
    margin: 0 127px 20px 127px; }
     
.second-section-info h4 {
    padding-left: 1px;
    text-align: center;
    font-weight: 500;
    font-size: 16px;
    line-height: 20px;
    letter-spacing: 2.4px;
    text-transform: uppercase;
    color: #373737;
    margin-bottom: 11px; 
}

.second-section-info p {
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 140%;
    text-align: center; 
}

.slider {
    margin-top: 80px;
    overflow: hidden; 
}
  
.slider-counter {
    margin-right: 269px;
    margin-left: auto;
    display: flex;
    width: 11px;
    height: 18px;
    align-items: center;
    margin-bottom: 20px; 
}

.slider-counter-left {
    position: relative;
    cursor: pointer;
    margin-right: 13px;
    width: 10px;
    height: 14px;
    content: url(assets/arrow-left.svg);

}

.slider-counter-right {
    position: relative;
    cursor: pointer;
    margin-left: 13px;
    width: 10px;
    height: 14px;
    content: url(assets/arrow-right.svg);
}

.slider-counter-left:hover, .slider-counter-right:hover {
    opacity: 0.5;
}
    
.slider-counter-1, .slider-counter-slash, .slider-counter-5 {
    font-style: normal;
    font-weight: normal;
    padding: 2px;
    font-size: 18px;
    line-height: 100%;
    font-size: 18px;
    font-weight: 400;
    color: #373737; 
}
  
.second-section-images {
    display: flex; 
}

.second-section-images img {
    width: 407px;
    height: 244px; 
}

.second-section-images img:not(:last-child) {
    margin-right: 30px; 
}

/* Implement Block */
#implement {
    width: 1600px;
    height: 842px;
    display: flex;
    background-color: #fff; 
}
  
.third-section-image {
    padding: 120px 139px 0 269px; 
}
  
.third-section-info {
    width: 407px;
    height: 184px;
    padding-top: 319px; 
}
    
    
.third-section-info h2 {
    margin-bottom: 21px; 
}

.third-section-info p {
    margin-bottom: 29px; 
}

.third-section-info .btn-main {
    margin-left: 0;
    width: 180px; 
}

/* Subscribe Block */
#subscribe {
    width: 1600px;
    min-width: 100%;
    height: 598px;
    margin: 0 auto;
    padding-top: 217px;
    display: flex;
    justify-content: center;
    align-content: flex-start;
    flex-wrap: wrap;
    background-image: url(assets/section5.jpg);
    background-repeat: no-repeat;
    background-position: center -615px;
}

#subscribe h2 {
    width: 100%;
    height: 28px;
    text-align: center;
    color: #fff; 
}

#subscribe form {
    margin-top: 8px;
    width: 406px;
    height: 46px;
    display: flex; 
}

.subscribe form {
    margin-top: 8px;
    width: 406px;
    height: 46px;
    display: flex; 
}

#subscribe form input {
    height: 46px; 
}

#subscribe form input:first-child {
    width: 340px;
    padding-left: 24px; 
    border: 0;
}

#subscribe form input:first-child:focus {
     outline: none; 
}

#subscribe form input::placeholder {
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 140%;
    color: #373737; 
    opacity: 0.5;
}

#subscribe form input:last-child {
    width: 66px;
    height: 46px;
    background-color: #00AFDB;
    position: relative;
    cursor: pointer;
    background: url("assets/check-icon.svg") no-repeat center #00AFDB;
}

#subscribe form input:last-child:hover {
    background-color: #009CC2;
}

input[type="submit"] {
    margin-left: -2px;
    height: 46px;
    width: 66px;
    border: 0;
    -webkit-appearance: none;
}

/* Download block */
#download {
    width: 1600px;
    height: 468px;
    padding-top: 120px;
    background-color: #F5F6F7; 
}

#download h2 {
    text-align: center; 
}
    
#download p {
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 140%;
    width: 483px;
    text-align: center;
    margin: 0 auto;
    padding: 0 0 30px 1px; }

.btn-store {
    display: flex;
    justify-content: space-between; 
    width: 406px;
    margin: 0px auto 0;
    padding-left: 1px;
}

.btn-store .btn-main {
    margin: 0;
    cursor: pointer;
    width: 188px;
    height: 50px; 
}

.btn-store .btn-main:hover {
    background-color: #009CC2; 
}

.btn-store .btn-name {
    width: 128px;
    text-align: center; 
}

.btn-store .btn-pic {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 50px;
    padding-bottom: 5px;
    background-color: #009CC2;
}

/* Footer */
footer {
    width: 1600px;
    display: flex;
    align-items: center; 
    justify-content: center;
    height: 185px;
    background-color: #000;
}
  
.navigation {
    margin-right: 345px; 
    display: flex;
    flex-direction: row;
}
   
.navigation a {
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 140%;
    line-height: 20px;
    color: #fff;
}

.navigation a:hover {
    color: #00AFDB;
}

.footer-logo {
    margin-right: 445px; 
}

.footer-logo:hover {
    cursor: pointer; 
}
  
.c {
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 140%;
    color: #818181; 
}

.space {
    width: 8px;
    height: 0;
    margin-top: 8px;
    border: 1px solid #4E4E4E;
    transform: rotate(-90deg);
    margin-left: 20px;
    margin-right: 20px;
}