*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root{
    --index: calc(1vw + 1vh);
    --color-header: #f4efec;
    --color-text:#cdc6ec;
    --gallery-gap: calc(var(--index)*10)

}

@import url('https://fonts.googleapis.com/css2?family=Outfit&family=Raleway&display=swap');

h1, h2, h3, h4, h5{
    font-family: Raleway;
}

body{
    background-image: url(img/bg.jpg);
    background-size: 50px;
    color: #fafafa;
    font-family: 'Outfit', sans-serif;
    font-family: 'Raleway', sans-serif;
    overflow-x: hidden;
}

.hero-img{
    width: calc(var(--index) *34);
    left: 47vw;
    top: 8vh;
    position: absolute;
    z-index: -1;
}

.main-header{
    height: 100vh;
}

.container{
    padding: 0 10vw;
}

.main-title{
    font-size: calc(var(--index)*8);
    position: absolute;
    width: min-content;
    bottom: 12vh;
    line-height: .9;
    
}

.gallery{
    display: flex;
    padding: calc(var(--index)*8) 0;

}

.gallery__item{
    max-width: calc(var(--index)*25);
    margin-bottom: var(--gallery-gap);
    max-height: 100vh;
    border-radius: 10px;
}

.gallery > *{
    flex: 1;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.gallery__left {
    margin-top: calc(var(--gallery-gap)*2);
}

.gallery__right .gallery__item{
    margin: 0;
    margin-top: var(--gallery-gap);
}

.text-block{
    color: var(--color-text);
    position: relative;
}

.text-block__h{
    font-size: 2rem;
    line-height: 2.4rem;
    color: var(--color-header);
    margin-bottom: 1.5rem;
    
}

.text-block__p{
    line-height: 2rem;
}