* {
    /* Сброс CSS */
    margin:0;
    padding:0;
}

body {
    /* Данные стили предназначены для оформления демонстрационной страницы */
    background:url(/static/img/fon3.jpg) 0 0 no-repeat;
    background-size: 100% 100%;
    background-attachment: fixed;
    padding:35px 0 0;
    margin:auto;
    text-align:center;
}

.ribbon {
    display:inline-block;
}

.ribbon:after, .ribbon:before {
    margin-top:0.5em;
    content: "";
    float:left;
    border:1.5em solid #fff;
}

.ribbon:after {
    border-right-color:transparent;
}

.ribbon:before {
    border-left-color:transparent;
}

.ribbon a:link, .ribbon a:visited {
    color:#000;
    text-decoration:none;
    float:left;
    height:3.5em;
    overflow:hidden;
    font-family: Georgia;
    font-weight: bold;
    font-size: 14px;
    color: blueviolet;
}

.ribbon span {
    background:#fff;
    display:inline-block;
    line-height:3em;
    padding:0 1em;
    margin-top:0.5em;
    position:relative;

    -webkit-transition: background-color 0.4s, margin-top 0.4s;  /* Saf3.2+, Chrome */
    -moz-transition: background-color 0.4s, margin-top 0.4s;  /* FF4+ */
    -ms-transition: background-color 0.4s, margin-top 0.4s;  /* IE10 */
    -o-transition: background-color 0.4s, margin-top 0.4s;  /* Opera 10.5+ */
    transition: background-color 0.4s, margin-top 0.4s;
}

.ribbon a:hover span {
    background: greenyellow;
    margin-top:0;
}

.ribbon span:before {
    content: "";
    position:absolute;
    top:3em;
    left:0;
    border-right:0.5em solid #9B8651;
    border-bottom:0.5em solid #fff;
}

.ribbon span:after {
    content: "";
    position:absolute;
    top:3em;
    right:0;
    border-left:0.5em solid #9B8651;
    border-bottom:0.5em solid #fff;
}


.info {
    background-color: rgba(86,216,86,0.55);
    filter: alpha(opacity=55);
    margin: 2.5em auto 1em;
    padding: 20px 40px 20px 40px;
    text-align: justify;
    font-size: 16px;
    border: 1px solid rgba(156,156,156,0.55);
    box-shadow: 20px -15px 10px 5px rgba(0, 0, 0, .2);
    display: block ;
    height: auto;
    overflow: auto;
}


@font-face {
    font-family: romul; /* Имя шрифта */
    src: url(/static/fonts/romul/romul.ttf); /* Путь к файлу со шрифтом */
}

.head {
    font-size: 20px;
    font-family: romul;
}

.head:hover {
    color: #245269;
    cursor: pointer;
}

#button {
    float:right;
    margin-top: -20px;
    margin-right: -20px;
}

.footer {
    left: 0;
    bottom: 0 !important;
    padding: 10px;
    margin-top: 50px;
    background-color: rgba(156,126,0,0.55);
    filter: alpha(opacity=55);
    color: #fff;
    font-weight: bold;
    font-size: 10px;
    text-align: center;
    width: 100% !important;
}


.my-image {
    float: left;
    margin: 15px;
}

.text {
    text-indent: 30px;
}

.reviews {
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -o-transition: all 1s ease;
    -ms-transition: all 1s ease;
    transition: all 1s ease;
    -webkit-filter: grayscale(90%);
    cursor: pointer;
}

.reviews:hover {
    -webkit-filter: grayscale(0%);
}

.review {
    font-weight: 700;
    color: white;
    text-decoration: none;
    padding: .8em 1em calc(.8em + 3px);
    border-radius: 3px;
    background: rgb(64,199,129);
    box-shadow: 0 -3px rgb(53,167,110) inset;
    transition: 0.2s;
}

.review:hover {
    background: rgb(53, 167, 110);
    text-decoration: none;
    color: orange;
}

.review:active {
    background: rgb(33,147,90);
    box-shadow: 0 3px rgb(33,147,90) inset;
}

@font-face {
    font-family: Classica;
    src: url(/static/fonts/Classica.ttf);
}

.title {
    font-size: 50px;
    font-family: Classica;
}

.photo-text {
    line-height: 12px;
    font-size: 14px;
    letter-spacing: 3px;
    font-weight: bolder;
    font-family: romul;
    color: blue;
}