@font-face {
	font-family: 'Beaufort';
    src: url("../../fonts/Beaufort/Beaufort.eot");
	src: local('☺'),   url("../../fonts/Beaufort/Beaufort.woff") format("woff"),
    url("../../fonts/Beaufort/Beaufort.ttf") format("truetype"),
    url("../../fonts/Beaufort/Beaufort.eot?#iefix")format("embedded-opentype");
    font-weight: normal;
}
@font-face {
	font-family: 'Roboto';
    src: url("../../fonts/RobotoRegular/RobotoRegular.eot");
	src: local('☺'),   url("../../fonts/RobotoRegular/RobotoRegular.woff") format("woff"),
    url("../../fonts/RobotoRegular/RobotoRegular.ttf") format("truetype"),
    url("../../fonts/RobotoRegular/RobotoRegular.eot?#iefix")format("embedded-opentype");
    font-weight: 400;
}
@font-face {
	font-family: 'Roboto';
    src: url("../../fonts/RobotoBold/RobotoBold.eot");
	src: local('☺'),   url("../../fonts/RobotoBold/RobotoBold.woff") format("woff"),
    url("../../fonts/RobotoBold/RobotoBold.ttf") format("truetype"),
    url("../../fonts/RobotoBold/RobotoBold.eot?#iefix")format("embedded-opentype");
    font-weight: 700;
}


/* CSS Reset */
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, p {
  margin: 0;
  padding: 0;
  border: 0;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
ol, ul {
  list-style: none;
}
/* End of CSS Reset */
* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
html {
  height: 100%;
  width: 100%;
  overflow-x: hidden;
}
article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary {
  display: block;
}
body {
  width: 100%;
  font-size: 16px;
  line-height: 1.3;
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  color: #361927;
  background-color: #e5dbdd;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
img {
  border: none;
}
h1, h2, h3, h4, h5 {
    font-family: 'Beaufort';
    margin-bottom: 10px;
    line-height: 1;
    display: block;
    color: #c70042;
    text-transform: uppercase;
    transition: all 200ms ease-in-out;
}
h1 { 
    font-size: 42px; 
    color: #ff9dbd;
    text-shadow: 0 0 15px black;
} 
h3 { 
    font-size: 18px;
    font-weight: 700;
    font-family: 'Roboto';
}
.error { 
    display: block;
    border-radius: 23px;
    font-family: 'Beaufort';
    text-transform: uppercase;
    color: #fff;
    background: transparent;
    display: inline-block;
    float: none;
    padding: 0 30px; 
    height: 62px;
    line-height: 62px;
    margin-top: 0px !important;
    margin-bottom: 0 !important;
    font-size:  28px;
    box-shadow: 5px 0 20px #87022e;
    color: #fff;
    position: relative;
    border: none;
}


.clearfix::after {
    display: block;
    content: "";
    clear: both;
}
a {
    text-decoration: none;
    color: #887774;
    transition: all 200ms ease-in-out;
}
a:hover {
    filter: brightness(120%);
}
p {
    margin-bottom: 10px;
}
form { 
    text-align: left;
}
input, textarea {
    background: #fff;
    color: #888;
    font-family: 'Roboto';
    font-size: 20px;
    border: none;
    height: 62px;
    line-height: 62px;
    border-radius: 23px;
    display: block;
    width: 100%;
    margin-bottom: 20px;
    padding: 0 30px;
    outline:none;
}
textarea {
    height: 90px;
    line-height: 1.5;
    padding: 20px 30px;
}
button.btn {
    width: 320px;
    display: inline-block;
    float: none;
    height: 62px;
    line-height: 62px;
    margin: 0;
    font-size:  28px;
    font-weight: 900;
    padding: 0;
    cursor: pointer;
    box-shadow: 5px 0 20px #87022e;
    color: #fff;
    position: relative;
    border: none;
    transition: all 200ms ease-in-out;
}
button.btn:after {
    width: 14px;
    height: 12px;
    position: absolute;
    content: '';
    background: url('../../images/valentines_day/heart-btn.png') center center no-repeat;
    top: 25px;
    left: 20px;
    display: block;
    transition: all 200ms ease-in-out;
}
button.btn:hover:after {
    left: 30px;
}
button.btn:before {
    width: 14px;
    height: 12px;
    position: absolute;
    content: '';
    background: url('../../images/valentines_day/heart-btn.png') center center no-repeat;
    top: 25px;
    right: 20px;
    display: block;
    transition: all 200ms ease-in-out;
}
button.btn:hover:before {
    right: 30px;
}
.message {
    font-size: 14px;
    color: #fff;
    opacity: 0.5;
    text-align: right;
    width: 100%;
    margin-top: -10px;
    padding-right: 30px;
}
        

/*==========PAGES STYLES==========*/
.container {
    width: 1240px;
    margin: 0 auto;
    position: relative;
} 
main {
    background: #2d1120 url('../../images/valentines_day/bg.jpg') top center no-repeat;
    height: 848px;
    text-align: center;
}
header {
    height: 90px;
    margin-bottom: 40px;
}
.go-back {
    display: inline-block;
    padding-left: 45px;
    padding-right: 25px;
    height: 46px;
    line-height: 46px;
    background: rgba(199,0,66,0.2) url('../../images/valentines_day/go-back.png') 10px 50% no-repeat;
    border-radius: 23px;
    font-family: 'Beaufort';
    font-size: 20px;
    color: #590124;
    text-shadow: 0 1px 1px white;
    text-transform: uppercase;
    float: left;
    margin-top: 20px;
}
.logo {
    margin-top: 17px;
    width: 173px;
    height: 50px;
    display: inline-block;
    background: url('../../images/valentines_day/logo.png') center center no-repeat;
}
.btn { 
    display: inline-block;
    float: right;
    font-family: 'Beaufort';
    text-transform: uppercase;
    font-size: 20px;
    color: #fff;
    margin-top: 20px;
    height: 46px;
    line-height: 46px;
    border-radius: 23px;
    background: linear-gradient(to bottom, #ff0084, #900002);
    padding-left: 25px;
    padding-right: 10px;
    transition: all 200ms ease-in-out;
}
.btn:hover {
    filter: brightness(100%);
    background: linear-gradient(to top, #ff0084, #900002);
}
.btn a {
    color: #fff;
} 
.btn:hover a {
    color: #fff;
}
.btn .logout {
    float: right;
    margin-left: 15px;
    line-height: 46px;
    width: 27px;
    height: 46px;
    background: url('../../images/valentines_day/logout.png') center center no-repeat;
}
.btn .logout:hover {
    opacity: 0.5;
}
main .about {
    width: 50%;
    color: #fff;
    text-align: left;
}
main .about p {
    font-weight: 700;
    font-size: 20px;
    margin-top: 10px;
    margin-bottom: 15px;
}

.presents {
    margin-bottom: 10px;
    border-radius: 10px;
    padding: 10px;
    background: rgba(0,0,0,0.4);
    width: auto;
    width: fit-content;
}

.presents label {
    margin: 0 10px;
}

footer {
    padding-top: 30px;
    background: #f7f8fc url('../../images/valentines_day/footer-bg.jpg') top center no-repeat;
}
footer .menus {
    width: 60%;
    float: left;
    display: inline-block;
}
footer .menus .menu {
    float: left;
    width: 25%;
    display: inline-block;
    text-transform: uppercase;
}
footer .menus .menu a {
    font-size: 13px;
    display: block;
    margin: 10px 0;
}
footer .copy {
    width: 37%;
    float: right;
    display: inline-block;
    font-size: 12px;
    color: #887774;
    opacity: 0.6;
}
footer .copy .cop {
    font-weight: 700;
    color: #594843;
}
footer .payments {
    width: 100%;
    text-align: center;
    margin-top: 30px;
    padding: 30px 0;
    border-top: 1px solid #dad5d5;
}
footer .payments .img {
    width: 16.6666%;
    display: inline-block;
    float: left;
    opacity: 0.7;
    transition: all 200ms ease-in-out;
}
footer .payments .img:hover {
    opacity: 1;
}



@media (max-width: 1919px) {
    header {
        margin-bottom: 40px;
    }
    main .about p {
        font-size: 18px;
        margin-top: 25px;
        margin-bottom: 15px;
    }
}


@media (max-width: 1279px) {
    .container {
        width: 980px;
    }
    main .about { width: 60%; }
}

@media (max-width: 1023px) {
    .container {
        width: 90%;
        text-align: center;
    }
    main .about { width: 100%; text-align: center; }
    .message, form, input  { text-align: center; }
    .message { padding: 0; margin-bottom: 10px; }
    header { margin-bottom: 40px; }
    main {
        height: auto;
        padding-bottom: 50px;
        background-size: cover;
        background-position: top left; 
    }
    footer {
        background-size: cover;
        background-position: top left; 
    }
    footer .menus, footer .copy {
        width: 100%;
        float: none;
        text-align: center;
    }
    footer .menus {
        margin-bottom: 20px;
    }
    footer .payments .img {
        width: 33.3333%;
        height: 100px;
    }
}

@media (max-width: 639px) {

    .container {
        width: 100%;
    }
    h1 { font-size: 30px; }
    main .about { padding: 0 20px; }
    button.btn { width: 280px; }
    main {
        
        padding-bottom: 80px; 
    }


    main header {
        text-align: center;
        margin-bottom: 40px;
        background: white;
        height: auto;
        padding-bottom: 15px;
        padding-top: 10px;
    }
    .go-back, header .btn { float: none; margin-top: 5px; }
    .logo { width: 100%; }
    footer .menus .menu ,     footer .payments .img { width: 100%; float: none; margin-bottom: 20px; }

    
}

[type=radio] { 
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}
[type=radio] + img {
    border-radius: 10px;
    cursor: pointer;
}
[type=radio]:checked + img {
    border: 2px solid #ff9dbd;
}
