html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
    line-height: 1;
    background-color: #874848;
    font-family: 'Roboto', sans-serif;
    letter-spacing: 0;
    user-select: none;
    text-decoration: none;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
section{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
}
.test__window{
    background-color: #ffffff;
    width: 600px;
    height: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 5px;
}
.test__window h1{
    position: relative;
    min-width: 320px;
    padding-top: 15px;
    padding-bottom: 15px;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.31;
    word-wrap: break-word;
    color: #232323;
}
.test__window img{
   width: 550px;
   min-width: 200px;
}
.test__window h2{
    font-weight: 300;
    font-size: 34px;
    padding-top: 25px;
}
.test__window h3{
    color: #828282;
    font-size:16px;
    padding-top: 15px;
    padding-bottom: 30px;
}
.buttons a{
    text-decoration: none;
    color: #ffffff ;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    line-height: 1.2;
}
.yes{
    background: #dc3545;
    padding: 18px 30px;
    border-width: 1px;
    border-radius: 5px;
    margin-right: 10px;
}
.no{
    background: #28a745;
    padding: 18px 30px;
    border-width: 1px;
    border-radius: 5px;
}
.yes:hover{
    background: #BE1E2E;
    transition: 0.4s;
}

.no:hover{
    background: #198331;
    transition: 0.4s;
}
.yes__window{
    position: absolute;
    background-color: #ffffff;
    width: 600px;
    height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 5px;
}
.yes__window h1{
    position: relative;
    padding-top: 15px;
    padding-bottom: 15px;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.31;
    word-wrap: break-word;
    color: #232323;
}
.yes__window img{
    width: 140px;
    
}
.yes__window h2{
    font-size: 27px;
    line-height: 1.3;
    font-weight: 400;
    font-style: italic;
    padding-top: 20px;
    padding-bottom: 10px;
}
hr{
     border-top: 1px solid rgba(35, 35, 35, 0.22);
     width: 540px;
} 
.yes__window a{
    text-decoration: none;
    color: #ffffff ;
    font-weight: 700;
    font-size: 18px;
    cursor: pointer;
    line-height: 1.2;
    margin-top: 20px;
}
.ponyal{
    background: #28a745;
    padding: 18px 30px;
    font-size: 16px;
    border-radius: 5px;
    line-height: 1.2;
    font-weight: 400;
}
.ponyal:hover{
    background: #198331;
    transition: 0.4s;
}
/* xs (<=543px) */
@media (max-width: 575px) { 
    .test__window{
        width: 320px;
        height: 370px;
    }
    .test__window img{
        width: 270px;
    }
    .test__window h1{
        font-size: 16px;
        text-align: center;
    }
    .test__window h2{
        font-size: 12px;
        text-align: center;
    }
    .test__window h3{
        font-size: 8px;
        text-align: center;
    }
    .test__window a{
        padding: 12px 20px;
    }
    .yes__window{
        width: 300px;
        height: 250px;
    }
    .yes__window h1{
        font-size: 17px;
    }
    .yes__window img{
        width: 70px;
    }
    .yes__window h2{
        font-size: 14px;
    }
    .yes__window hr{
        width: 270px;
    }
    .yes__window a{
        position: relative;
        padding: 8px 10px;
        font-size: 12px;
    }

}
 
/* sm (>=576 и <=767) */
@media (min-width: 576px) and (max-width: 767px) { 
    .test__window{
        width: 400px;
        height: 450px;
    }
    .test__window img{
        width: 350px;
    }
    .test__window h1{
        font-size: 20px;
        text-align: center;
    }
    .test__window h2{
        font-size: 18px;
        text-align: center;
    }
    .test__window h3{
        font-size: 10px;
        text-align: center;
    }
    .test__window a{
        padding: 16px 26px;
    }
    .yes__window{
        width: 350px;
        height: 280px;
    }
    .yes__window h1{
        font-size: 20px;
    }
    .yes__window img{
        width: 80px;
    }
    .yes__window h2{
        font-size: 16px;
    }
    .yes__window hr{
        width: 315px;
    }
    .yes__window a{
        position: relative;
        padding: 8px 10px;
        font-size: 12px;
    }
    
 }
 
/* md (>=768 и <=991) */
