body {
    font-size: 20px;
    color: black;
    line-height: 1.5;
    font-weight: 400;
    background-color: #D8D8D8;
    font-family: 'Inter', sans-serif;
}

a {
    color: black;
    text-decoration: none;
}

.wrap {
    width: 90%;
    display: flex;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    flex-direction: column;
}

.first__img { 
    width: 100%; 
    height: 100vh; 
    background-color: #d8d8d8;
}

canvas { 
    width: 100%; 
    height: 100%; 
}

header {
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.header__logo {
    width: 150px;
}

.header__logo img {
    width: 100%;
}

.header__contacts {
    color: black;
    background-color: white;
    padding: 10px 20px;
    border-radius: 50px;
}

.first {
    width: 100%;
    height: 100vh;
    display: flex;
}

.first__img {
    position: absolute;
    z-index: 1;
}

.first__text {
    z-index: 2;
    position: relative;
    margin-top: auto;
    margin-bottom: 200px;
    line-height: 1.2;
    display: flex;
    flex-direction: column;
    margin-left: auto;
    margin-right: auto;
}

.first__text span:nth-child(1) {
    font-size: 250px;
}

.first__text span:nth-child(2) {
    font-size: 39px;
    text-align: center;
}

.mabout {
    width: 1200px;
    margin-left: auto;
    margin-right: auto;
    font-size: 50px;
    margin-top: 200px;
    margin-bottom: 200px;
}

.mabout span {
    display: inline-block;
    vertical-align: top;
    opacity: 0;
}

.mabout__title {
    display: inline-block;
    font-size: 14px;
    border-radius: 50px;
    vertical-align: top;
    margin-top: 15px;
    margin-right: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* mprojects */
.mprojects {
    color: white;
    padding-top: 300px;
    padding-bottom: 300px;
    margin-top: 200px;
}

.mprojects__top {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.mprojects__toptitle {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: white;
    border-radius: 50px;
    margin-top: 10px;
    opacity: 0;
}

.mprojects__item {
    border-bottom: 1px solid white;
    padding-top: 100px;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    flex-direction: column;
    padding-bottom: 20px;
}

.mprojects__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.mprojects__items {
    margin-top: 0px;
    width: 60%;
    margin-left: auto;
}

.mprojects__imageitem {
    visibility: hidden;
    overflow: hidden;
    position: relative;
    display: flex;
    width: 100%;
}

.mprojects__img {
    width: 100%;
}

.mprojects__content {
    margin-top: 20px;
}

.mprojects__img {
    position: relative;
}

.mprojects__title {
    font-size: 40px;
    opacity: 0;
}

.mprojects__number {
    font-size: 14px;
    opacity: 0;
}

.mprojects__link {
    opacity: 0;
}

.mprojects .wrap {
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    padding-top: 0px;
}

.mprojects hr {
  width: 100%;
  border: none;
  height: 1px;
  background-color: white;
  transform: scaleX(0);
}

/* madv */
.madv {
    margin-top: 200px;
    margin-bottom: 200px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.madv__toptitle {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: black;
    opacity: 0;
}

.madv__items {
    margin-top: 0px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 80%;
}

.madv__item {
    width: 40%;
    margin-top: 0px;
    margin-bottom: 150px;
}

.madv__title {
    font-size: 38px;
    line-height: 1.1;
    margin-top: 20px;
    font-weight: 600;
    opacity: 0;
}

.madv__number {
    font-size: 14px;
    display: inline-block;
    background-color: white;
    padding: 5px 8px;
    border-radius: 50px;
    opacity: 0;
  }

.madv__text {
    margin-top: 20px;
    border-top: 2px solid black;
    padding-top: 20px;
    font-size: 22px;
    opacity: 0;
}

/* mcontacts */
.mcontacts {
    display: flex;
    justify-content: space-between;
    padding-top: 100px;
    padding-bottom: 100px;
}

.mcontacts__title {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: black;
}

.mcontacts__content {
    width: 80%;
    display: flex;
}

.mcontacts__content a {
    width: 250px;
    border-radius: 500px;
    padding: 50px;
    text-align: center;
    margin-bottom: 30px;
    border: 1px solid black;
    font-size: 30px;
}























































































































@media(max-width: 1500px) {
    .mabout {
        width: 1000px;
    }

    .madv__item {
        width: 45%;
    }

    .mcontacts__content a {
        width: 210px;
        font-size: 20px;
        padding: 30px;
    }

    .madv__title {
        font-size: 30px;
    }
}

@media(max-width: 1200px) {
    .mabout {
        width: 100%;
    }

    .mcontacts__content a {
        width: 190px;
        padding: 20px;
    }

    .first__text span:nth-child(1) {
        font-size: 200px;
    }
}

@media(max-width: 1023px) {
    .mabout {
        font-size: 38px;
    }

    .madv {
        flex-direction: column;
    }

    .madv__items {
        margin-top: 50px;
    }

    .mprojects .wrap {
        flex-direction: column;
        border: none;
    }

    .mprojects__items {
        width: 100%;
    }

    .madv__items {
        width: 100%;
    }

    .madv__text {
        font-size: 20px;
    }

    .mcontacts__content {
        flex-direction: column;
        margin-top: 50px;
        width: 100%;
    }

    .mcontacts {
        flex-direction: column;
    }

    .mcontacts__content a {
        width: 100%;
        padding: 0px;
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .header__contacts {
        font-size: 16px;
    }

    .first__text span:nth-child(1) {
        font-size: 180px;
    }
}

@media(max-width: 768px) {
    .mabout {
        font-size: 24px;
    }

    .mabout__title {
        display: none;
    }

    .mprojects__link {
        width: 50px;
    }

    .mprojects__title {
        font-size: 40px;
    }

    .madv__item {
        width: 100%;
    }

    .first__text span:nth-child(1) {
        font-size: 115px;
    }

    .first__text span:nth-child(2) {
        font-size: 24px;
    }
}

@media(max-width: 480px) {
    .first__text span:nth-child(1) {
        font-size: 80px;
    }

    .first__text span:nth-child(2) {
        font-size: 20px;
    }

    .wrap {
        width: 97%;
    }

    .mprojects__title {
        font-size: 30px;
    }
    
    .mprojects__top {
        flex-direction: column-reverse;
    }
}