/* FONTS */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@font-face {
    font-family: "Megen";
    src: url("./fonts/Megen.woff2") format('woff2');
    font-weight: normal;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
}
h2 {
    color: var(--pink);
    font-size: 128px;
    font-family: "Megen", serif;
}

:root {
    --white: #fff;
    --black: #000;
    --pink: #FF5794;
    --margin-between-sections: 80px;
}

body {
    height: 100vw;
}

.container {
    max-width: max-content;
    width: 100%;
    margin: 0 auto;
    justify-content: center;
}

.btn {
    padding: 20px 50px;
    font-size: 90px;
    border: 5px solid var(--black);
    color: var(--black)
}

.height {
    height: 345px;
}

/* Header start */
.header {
    margin-top: 50px;
}

.header__block {
    padding: 38px 0;
    border-top: 5px solid var(--black); 
    border-bottom: 5px solid var(--black); 
}

.header__block h1 {
    font-size: 96px;
    color: var(--pink);
    width: 80%;
    font-family: "Megen", serif;
}
/* Header end */


/* Intro start */
.intro {
    margin: var(--margin-between-sections) 0;
    display: flex;
    align-items: center;
    gap: 250px;  
}

.intro__images {
    position: relative;
}

.box-1 {
    position: relative;
    z-index: -1;
}
.intro__img {
    z-index: 1;
    top: 40px;
    position: absolute;
    filter: saturate(0);
}

.intro__btn, .btn {
    display: flex;
    justify-content: end;
    margin-bottom: 40px;
}

.intro__letters {
    font-family: "Montserrat";
    display: flex;
    flex-direction: column;
    align-items: center;
}

.letter {
    font-weight: 100;
    font-size: 170px;
}
/* Intro end */


/* About start */
.about__block {
    margin: var(--margin-between-sections) 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.about__row {
    display: flex;
    align-items: center;
    gap: 50px;
}
.about__row-number {
    font-size: 200px;
}
.about__row-info {
    font-size: 48px;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}   
/* About end */


/* Works start */
.works__block {
    margin-bottom: var(--margin-between-sections);
}
.works__images {
    margin-top: 100px;
    display: flex;
    flex-direction: column;
    gap: 100px;
    filter: saturate(0);
}

.works_1 {
    display: flex;
    align-self: flex-start;
    box-shadow: 22px 22px 1px black;
}

.works_2 {
    display: flex;
    align-self: flex-end;
    box-shadow: -22px 22px 1px black;
}

.works_3 {
    display: flex;
    align-self: flex-start;
    box-shadow: 22px 22px 1px black;
}
/* Works end */


/* Price start */
.price {
    margin-bottom: var(--margin-between-sections);
}
.price__inner {
    display: flex;
    flex-direction: column;
    gap: 50px;
    padding: 40px;
    border-top: 5px solid var(--black);
    border-bottom: 5px solid var(--black);
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}
.price__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #000;
}

.price__row:last-child  {
    border-bottom: 0px;
}

.row-info {
    font-size: 64px;
    width: 40%;
}

.row-price {
    font-size: 64px;
}
/* Price end */


/* Contacts start */
.contacts {
    margin-bottom: var(--margin-between-sections);
}
.contacts__socials {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
}
/* Contacts end */


/* Footer start */
.footer {
    position: relative;
    display: flex;
    margin: 0 auto;
    justify-content: center;
    align-items: center;
}
.footer__title {
    font-size: 80px;
    width: 60%;
    text-align: center;
    z-index: 1;
    position: absolute;
    top: 100px;
    color: var(--white);
}
/* Footer end */

@media (max-width: 2000px) {
    html {
        transform: scale(0.4);
    }
}

@media (max-width: 480px) {
  html {
    transform: scale(0.25) translateX(15%);
    transform-origin: top left;
    width: 1200px;
    margin: 0 auto;
  }
  .intro {
    gap: 100px;
  }
}

@media (max-width: 400px) {
    html {
    transform: scale(0.25) translateX(5%);
    transform-origin: top left;
    width: 1200px;
    margin: 0 auto;
  }
  .intro__images {
    transform: scale(0.95);
  }
  .intro {
    gap: 100px;
  }
}