@import url('https://fonts.googleapis.com/css?family=PT+Sans:400,700&display=swap');

html,body {
    min-width: 100vw;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    font-family: 'PT Sans', sans-serif;
    font-size: 20px;
    line-height: 150%;
    color: gray;
}

input, textarea, button {
    border-radius: 10px;
	border-style: none;
	padding: 15px;
	font-family: 'PT Sans', sans-serif;
    font-size: 20px;
    line-height: 150%;
    color: gray;
}

input, textarea {
    width: 240px;
}

input, textarea:focus {
    outline: none;
}

button {
	background-color: rgba(196, 153, 108, 1.0);
	color: white;
}


.div_main_left {
    width: 70%;
    min-height: 100vh;
    background-image:  url(/img/woodsplash.jpg);
    background-size: cover;
    background-position: right;
    float: left;
}

.div_main_right {
    width: 30%;
    min-height: 100vh;
    background-color: rgba(196, 153, 108, .8);
    float: right;
}

.div_main_left_flex {
    display: flex;
    min-height: 100vh;
    float: right;
    margin-right: 4%;
}

.div_main_right_flex {
    display: flex;
    align-items: center;
    min-height: 100vh;
    justify-content: center;
}

.image_main {
    height: 90vh;
    top: 0;
    right: 0;
}

.desktop {
    display: block;
}

.mobile {
    display: none;
}

@media screen and (max-width: 768px), (orientation: portrait) {


.div_main_left {
    display: block;
    width: 100%;
    min-height: 100vh;
    background-image:  url(/img/woodsplash.jpg);
    background-size: cover;
    background-position: right;
    float: left;
}

.div_main_left_flex {
    display: flex;
    min-height: 100vh;
    float: right;
    margin-right: 10%;
}

.div_main_right {
    //display: none;
    width: 100%;
    min-height: 100vh;
    background-color: rgba(196, 153, 108, .8);
    float: left;
}

.div_main_right_flex {
    display: flex;
    align-items: center;
    min-height: 100vh;
    justify-content: center;
}

.image_main {
    height: 70vh;
    top: 0;
    right: 0;
}



.desktop {
    display: none;
}

.mobile {
    display: block;
}

.mobile_button {
    float: right;
    padding-top: 60px;
}

.button {
    padding: 16px 60px;
    background-color: rgba(196, 153, 108, 1.0);
    color: #ffffff;
    text-decoration: none;
    font-size: 24px;
    font-weight: 600;
    border-radius: 10px;
    position: relative; // Это важно добавить 
    overflow-x: hidden; / Это важно добавить 
}

.button .flare {
    position: absolute;
    top: 0;
    height: 100%;
    width: 45px;
    transform: skewX(-45deg); // Наклон
    animation: flareAnimation;
    left: -150%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.4));
    animation: flareAnimation 3s infinite linear; // Время и тип анимации можно менять
}

@keyframes flareAnimation {
    0% {
        left: -150%;
    }
    100% {
        left: 150%;
    }
}


}