:root {
    --primary-color: #41232b;
    --secondary-color: #fef5ec;
    --white-color: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-size: 24px;
}

html, body {
    padding: 0;
    margin: 0;
    max-height: 100vh;
    min-height: 100vh;
    overflow-x: hidden; 
    overflow-y: hidden;

}


body {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    max-width: 100vw;
    max-height: 100vh;
    overflow-x: hidden;
}

::-webkit-scrollbar{
    width: 40px;
}
::-webkit-scrollbar-thumb{
    background-color: var(--primary-color);
    border-radius: 20px;
}
.main {
    display: flex;
    flex-direction: row;
    position: relative;
    overflow-x: hidden;
}

.main_container {
    display: flex;
    flex-direction: column;
    width: 55%;
    height: 100%;
    align-items: center;
}

.main_links_container {
    display: flex;
    flex-direction: column;
    width: 45%;
    height: 100%;
    padding-right:70px;
}

.main_links_container--column1 {
    display: flex;
    flex-direction: column;
    width: 55%;
    height: fit-content;
    gap: 30px;
}
.main_links_container--column2 {
    display: flex;
    flex-direction: column;
    width: 45%;
    height: fit-content;
    gap: 30px;
}

.main_links_container--row {
    display: flex;
    flex-direction: row;
    width: 100%;
}

.link_element {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    width: 100%;
    height: 104px;
    color: var(--primary-color);
    text-decoration: none;
}

.link_element--circle{
    height: 90px;
    width: 90px;
    min-width: 90px;
    min-height: 90px;
    background-color: var(--primary-color);
    border-radius: 50%;
    color: var(--white-color);
    display: flex;
    align-items: center;
    font-size: 45px;
    justify-content: center;
    
    font-family: 'Next Art';
}
.link_element--text{
    font-size: 35px;
}

.title {
    font-size: 40px;
    font-weight: 600;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    margin-top: 40px;
}

.map-img{
    width: 60%;

}

.main_container__buttons{
    display: flex;
    flex-direction: row;
    gap: 40px;
    margin-top: 40px;
}

.main_container__buttons--button{
    background-color: var(--primary-color);
    padding: 40px 20px;
    border-radius: 30px;
    color: var(--white-color);
    border: none;
    font-size: 45px;
    font-family: 'Next Art';
    text-transform: uppercase;
}

.grape-img{
    width: 10%;
    position: absolute;
    top: 0;
    left: 0;
}

.page{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page_title{
    font-size: 40px;
    font-weight: 600;
    color: var(--primary-color);
    text-align: center;
    font-family: 'Ekaterina Velikaya One';
}
.page_content{
    width: 50%;
}
.page_content p{
    font-size: 36px;
    font-family: 'Source Serif 4';
    text-indent: 70px;
    font-weight: 400;
}
.page_content_image{
    width: 100%;
    object-fit: contain;
    object-position: center;
}
.page_content_video{
    width: 100%;
}
.page_content_grape{
    width: 100%;
}

.back_button{
    position: fixed;
    top: 20px;
    left: 20px;
    background-color: var(--primary-color);
    border: none;
    border-radius: 50%;
    padding: 10px;
    cursor: pointer;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
}

.pdf-iframe{
    width: 100%;
    height: 100%;
}
a{
    text-decoration: none;
}



@media (max-width: 1920px) {
	* {
		font-size: 18px;
	}

    html, body {
        overflow-x: auto;
        overflow-y: auto;
    }

	.main_container {
		width: 58%;
	}
	.main_links_container {
		width: 42%;
		padding-right: 40px;
	}
	.main_links_container--column1 {
		gap: 20px;
	}
	.main_links_container--column2 {
		gap: 20px;
	}

	.link_element {
		height: 84px;
		gap: 10px;
	}
	.link_element--circle {
		height: 70px;
		width: 70px;
		min-width: 70px;
		min-height: 70px;
		font-size: 32px;
	}
	.link_element--text {
		font-size: 24px;
	}

	.title {
		font-size: 32px;
		margin-bottom: 30px;
		margin-top: 30px;
	}

	.map-img {
		width: 65%;
	}

	.main_container__buttons {
		gap: 24px;
		margin-top: 24px;
	}
	.main_container__buttons--button {
		padding: 24px 16px;
		border-radius: 20px;
		font-size: 32px;
	}

	.grape-img {
		width: 10%;
	}

	.page_title {
		font-size: 32px;
	}
	.page_content {
		width: 70%;
	}
	.page_content p {
		font-size: 24px;
		text-indent: 50px;
	}

	.back_button {
		width: 60px;
		height: 60px;
		top: 16px;
		left: 16px;
	}

	::-webkit-scrollbar {
		width: 20px;
	}
}

/* Tablets */
@media (max-width: 1024px) {
	* {
		font-size: 16px;
	}

	.main {
		flex-direction: column;
	}

	.main_container {
		width: 100%;
	}

	.main_links_container {
		width: 100%;
		padding-right: 0;
		margin-top: 24px;
	}

	.main_links_container--row {
		flex-direction: column;
		gap: 20px;
	}

	.main_links_container--column1,
	.main_links_container--column2 {
		width: 100%;
		gap: 16px;
	}

	.link_element {
		height: 72px;
		gap: 10px;
	}
	.link_element--circle {
		height: 56px;
		width: 56px;
		min-width: 56px;
		min-height: 56px;
		font-size: 28px;
	}
	.link_element--text {
		font-size: 20px;
	}

	.title {
		font-size: 28px;
		margin-bottom: 24px;
		margin-top: 24px;
	}

	.map-img {
		width: 80%;
	}

	.main_container__buttons {
		gap: 20px;
		margin-top: 20px;
	}
	.main_container__buttons--button {
		padding: 20px 14px;
		border-radius: 16px;
		font-size: 28px;
	}

	.grape-img {
		width: 12%;
	}

	.page_title {
		font-size: 28px;
	}
	.page_content {
		width: 90%;
	}
	.page_content p {
		font-size: 20px;
		text-indent: 40px;
	}

	.back_button {
		width: 56px;
		height: 56px;
		top: 14px;
		left: 14px;
	}

	::-webkit-scrollbar {
		width: 12px;
	}
}

/* Mobile phones */
@media (max-width: 768px) {

    html, body {
        max-height: 100%;
        min-height: 100vh;
        overflow-x: auto;
        overflow-y: auto;
    }
    .body-mobile {
        padding: 15px;
    }
    
	* {
		font-size: 14px;
	}



	.main_container__buttons {
		flex-direction: column;
		gap: 16px;
		margin-top: 16px;
	}
	.main_container__buttons--button {
		padding: 16px 12px;
		border-radius: 14px;
		font-size: 24px;
	}

	.link_element {
		height: 64px;
	}
	.link_element--circle {
		height: 48px;
		width: 48px;
		min-width: 48px;
		min-height: 48px;
		font-size: 24px;
	}
	.link_element--text {
		font-size: 18px;
	}

	.title,
	.page_title {
		font-size: 24px;
	}

	.map-img {
		width: 100%;
	}

	.page_content {
		width: 92%;
	}
	.page_content p {
		font-size: 18px;
		text-indent: 30px;
	}

	.back_button {
		width: 48px;
		height: 48px;
		top: 12px;
		left: 12px;
	}
}