@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');

* {
    box-sizing: border-box;
    outline: none;
}

body {
    margin: 0;
    background-color: #FFF6F4;
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    line-height: 140%;
    text-transform: uppercase;
}

::-webkit-scrollbar-button {
	background-repeat:no-repeat;
	width: 0;
	height: 0;
}

::-webkit-scrollbar-track {
	background-color: none;
}

::-webkit-scrollbar-thumb {
	background-color: #FFF6F4;
	cursor: pointer;
}

::-webkit-scrollbar-thumb:hover{
	background-color: #9E3039;
}

::-webkit-resizer{
	background-repeat:no-repeat;
	width: 4px;
	height: 4px
}

::-webkit-scrollbar{
	width: 0;
	height: 0;
}

.layout {
    width: 100%;
    height: 100%;
    display:flex;
    flex-direction: column;
    align-items: center;
}

.back_img {
    position: absolute;
    top: auto;
    bottom: 0;
    width: 100%;
    height: auto;
    object-fit: cover;
    z-index: -1;
    max-width: 1200px;
    right: 0;
}

.main {
    height: 100%;
    width: 100%;
    overflow: hidden;
    overflow-y: auto;
    max-width: 974px;
    padding: 0 15px;
}


.logo {
    margin: 40px 0 70px;
    display:inline-block;
}

.columns {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
}

.columns div {
    max-width: 50%;
}

a {
    color: #9E3039;
    text-decoration: none;
    transition: 0.3s ease;
    border-bottom: 1px solid rgba(0,0,0,0);
}

a:hover {
    border-bottom: 1px solid #9E3039;
}

@media screen and (max-width: 974px) {
    .columns {
        flex-direction: column;
        margin-bottom: 0;
    }

    .columns div {
        max-width: unset;
        margin-bottom: 50px;
    }

    .logo img {
        max-width: 80px;
    }

    .logo {
        margin:20px 0 35px;
    }
}

@media screen and (max-width: 768px) {
    .back_img {
        display: none;
    }

    .main {
        padding-bottom: 250px;
        background: url('/in_work/img/back.jpg') no-repeat right bottom/100% auto;
    }
}

@media screen and (max-height: 900px) {
    .back_img {
        width: auto;
        height: 80%;
    }
}