* {
	padding: 0px;
	margin: 0px;
	box-sizing: border-box;
}

:root {
    --main-background-color: #eeeeee;
    --element-background-color: #ffffff;
    --element-shadow-color: #e8e8e8;
    --image-background-color: #20598a;
    --interactive-background-color: #171920;
    --interactive-background-color-hover: #292b35;
    --footer-copy-background-color: #111218;

    --nav-inactive-color: #3e3e3e;
    --nav-active-color: #141414;
    
    --primary-text-color: #141414;
    --secoundary-text-color: #ffffff;
    --third-text-color: #42c7ff;
    --fourth-text-color: var(--nav-inactive-color);
    
}

article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary {
	display: block;
}

html, body {
    width: 100%;
    height: auto;
}

body {
	font-family: 'Raleway', sans-serif;
    font-display: optional;
    font-size: 16px;
    font-weight: 400;
    color: var(--secoundary-text-color);
    background-color: var(--main-background-color);
    display: flex;
    flex-direction: column;
}

p {
    font-family: 'Raleway', sans-serif;
    color: var(--fourth-text-color);
}

.hidden-element {
    display: none !important;
}

main {
    color: var(--primary-text-color);
}

h1 {
    font-size: 60px;
    line-height: 65px;
    text-transform: uppercase;
}

h2 {
    font-size: 30px;
    font-weight: 700;
}

h3 {
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
}

input {
    width: 350px;
    height: 60px;
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    color: var(--primary-text-color);
    background-color: var(--element-background-color);
    border: 0px;
    padding: 20px;
}

textarea {
    width: 350px;
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    background-color: var(--element-background-color);
    border: 0px;
    padding: 20px;
}

.checkbox {
    width: 24px;
    height: 24px;
    margin-right: 15px;
}

.bold {
    font-weight: 800;
}

/*==========================================================*/
/************************GENERAL*****************************/
/*==========================================================*/

.logo {
    width: 135px;
    height: 156px;
    background-image: url(../img/logo.svg);
    z-index: 5;
}

.nav__mobile {
    display: none;
}

nav .button {
    margin-left: 20px;
}

nav ul {
    list-style-type: none;
    display: flex;
}

nav ul li {
    width: 85px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 10px;
}

nav ul li a {
    font-size: 18px;
    font-weight: 400;
    line-height: 18px;
    text-align: center;
    color: var(--nav-inactive-color);
    text-decoration: none;
}

nav ul li a:hover,
nav ul li a.active {
    font-weight: 800;
    color: var(--nav-inactive-color);
}

.nav {
    width: 100%;
    height: 100px;
    background-color: var(--element-background-color);
    display: flex;
    justify-content: center;
    
}

.nav__center {
    width: 1300px;
    display: flex;
    justify-content: space-between;
    z-index: 3;
}

.nav ul {
    display: flex;
    align-items: center;
}

.li--modify {
    width: 102px;
}


.button {
    width: 380px;
    height: 70px;
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
    color: var(--main-background-color);
    background-color: var(--interactive-background-color);
    border: 0px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.button:hover {
    background-color: var(--interactive-background-color-hover);
}

.button--small {
    width: 215px;
    height: 50px;
    font-size: 18px;
}

.icon {
    width: 25px;
    height: 25px;
    margin-left: 10px;
}

.icon--small {
    background-size: 20px;
    background-repeat: no-repeat;
    background-position: center;
    margin-left: 5px;
}

.icon--send {
    background-image: url(../img/icons/send-white.svg);
}

.link {
    color: #e7b881;
}

.link:hover {
    color: var(--third-text-color);
}
/*=======slider=======*/
/*====================*/

.banner {
    width: 100%;
    height: 681px;
    background-color: var(--image-background-color);
    background-image: url(../img/header-image.jpg);
    display: flex;
    justify-content: center;
    align-items: center;
}

.banner--secoundary {
    height: 350px;
}

.banner__center {
    width: 1300px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.banner__text {
    width: 550px;
    height: 250px;
}

.banner__text--secoundary {
    width: auto;
    height: auto;
}

.banner__text__description {
    font-size: 24px;
    color: var(--secoundary-text-color);
    line-height: 30px;
    margin: 25px 0px 45px 0px;
}

.banner__text__services {
    width: 580px;
    font-weight: 700;
    color: var(--third-text-color);
    display: flex;
    justify-content: space-between;
}

.banner__worker {
    width: 561px;
    height: 681px;
    background-image: url(../img/worker-without-head.png);
}

/*==========================================================*/
/***********************FRONT-PAGE***************************/
/*==========================================================*/

main {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#main__center {
    width: 1300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: -50px;
}

.call-box {
    width: 1300px;
    height: 155px;
    background-color: var(--element-background-color);
    border-bottom: 5px solid var(--element-shadow-color);
    display: flex;
    padding: 20px 45px;
}

.call-box--wide {
    width: 100%;
    justify-content: center;
    border-bottom: 0px;
    margin-top: 75px;
}

.call-box__field {
    display: flex;
    align-items: center;
    margin-right: 100px;
}

.call-box__field:last-child {
    width: 414px;
    margin-right: 0px;
}

.call-box__field--align-right {
    display: flex;
    justify-content: flex-end;
}

.call-box__field__icon {
    width: 50px;
    height: 50px;
    background-size: 55px;
    background-repeat: no-repeat;
    background-position: center;
    margin-right: 25px;
}

.call-box__field__icon--phone {
    background-image: url(../img/icons/phone-call.svg);
}

.call-box__field__icon--mail {
    background-image: url(../img/icons/mail.svg);
    background-size: 45px;
}

.call-box__text a {
    text-decoration: none;
}

.call-box__text__p {
    font-size: 24px;
    text-transform: uppercase;
    margin-top: 2px;
}

.call-box__text__p:hover {
    color: var(--third-text-color);
}

/*======Services======*/
/*====================*/


.services-box {
    width: 1300px;
    height: 260px;
    margin-top: 75px;
}

.services-box__services {
    width: 1300px;
    height: 205px;
    display: flex;
    justify-content: space-between;
}

.service {
    width: 205px;
    height: 210px;
    background-color: var(--image-background-color);
    border-bottom: 5px solid var(--element-shadow-color);
    position: relative;
    margin-top: 20px;
}

.service:hover .overlay {
    width: 100%;
    height: 100%;
    background-color: #42c6ff73;
    display: block;
    position: absolute;
    top: 0px;
    right: 0px;
    z-index: 2;
}

.service__text {
    color: var(--secoundary-text-color);
    position: absolute;
    left: 20px;
    bottom: 15px;
    z-index: 3;
}

.service__fg {
    width: 205px;
    height: 225px;
    position: absolute;
    bottom: 0px;
    right: 0px;
    z-index: 3;
}

.service__bg {
    width: 205px;
    height: 205px;
    position: absolute;
    z-index: 1;
}

/*======About-us======*/
/*====================*/

.about-us-box {
    width: 1300px;
    height: auto;
    display: flex;
    justify-content: space-between;
    margin-top: 75px;
}

.about-us-box__text {
    width: 644px;
    height: auto;
    line-height: 20px;
    background-color: var(--element-background-color);
    border-bottom: 5px solid var(--element-shadow-color);
    padding: 60px;
}

.about-us-box__text__title {
    margin-bottom: 25px;
}

.about-us-box__slider {
    width: 644px;
    height: 467px;
    background-color: var(--image-background-color);
    border-bottom: 5px solid var(--element-shadow-color);
    overflow: hidden;
    position: relative;
}

.slider { 
    width: 644px;
    height: 462px;
    position: relative;
    overflow: hidden;
}

.image__container {
    width: 644px;
    height: 462px;
    float: left;
}

 .image__container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider__buttons {
    width: 100%;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0px 25px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.sliderBtn {
    width: 40px;
    height: 40px;

    background-image: url(../img/icons/next-white.svg);
    background-position: center;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 5px;

    z-index: 2;
    cursor: pointer;
    transition: all 0.5s ease;
 }

.sliderBtn.prevBtn {
    transform: rotate(180deg);
    left: 20px;
}

.sliderBtn.nextBtn {
    right: 20px;
}

.sliderBtn:hover {
    background-color: rgba(0, 0, 0, 0.7)
}

/*======About-us======*/
/*====================*/


/*=======Footer=======*/
/*====================*/

footer {
    width: 100%;
    background-color: var(--interactive-background-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 75px;
}

.modified__footer footer {
    margin-top: 0px;
}

.footer__content {
    width: 1300px;
    display: flex;
    justify-content: space-between;
    padding: 45px 0px;
}

.footer__box {
    width: 290px;
    height: auto;
}

.footer__box__logo {
    width: 266px;
    height: 45px;
    background-image: url(../img/tight-logo.svg);
    background-repeat: no-repeat;
    background-size: contain;
    margin-bottom: 20px;
}

.footer__box__title {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 20px;
}

.footer__box__text {
    color: var(--secoundary-text-color);
    line-height: 20px;
}

.footer__box__text--margin-down {
    margin-bottom: 10px;
}

.footer__box__nav {
    /* display: flex;
    flex-direction: column; */
}

.footer__box__nav ul {
    display: flex;
    flex-direction: column;
}

.footer__box__nav ul li {
    width: auto;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    margin-bottom: 15px;
}

.footer__box__nav ul li a,
.footer__box__nav ul li a:hover,
.footer__box__nav ul li a.active {
    color: var(--secoundary-text-color);
}

.social-media {
    width: 30px;
    height: 30px;
    font-size: 30px;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    background-color: rgba(255, 255, 255, 0.158);
    border-radius: 5px;
    display: block;
    margin-top: 20px;
    padding: 0px 0px 0px 10px;
}

.social-media--facebok {
    color: var(--input-color);
    background-color: rgb(50, 80, 180);
}

.social-media--facebok:hover {
    color: var(--input-color);
    background-color: rgb(67, 99, 204);
}

.letter {
    margin-bottom: -1px;
}

.footer__copyright {
    width: 100%;
    height: 105px;
    background-color: var(--footer-copy-background-color);
    display: flex;
    justify-content: center;
}

.footer__copyright__content {
    width: 1300px;
    height: 105px;
    text-transform: uppercase;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.designer {
    width: 100%;
    height: 50px;
    background-color: var(--image-background-color);
    display: flex;
    justify-content: center;
    align-items: center;
}

footer .designer .designer__content {
    width: 1300px;
}

footer .designer a {
    color: #ffffff;
    font-weight: 800;
}