* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.clearfix:after {
    content: "";
    display:block;
    clear: both;
}



html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: Arial,sans-serif;
    font-size: 14px;
    line-height: 1.4;
    color: #333;
     /*
    background-color: #fff;
*/
}

.header {
    height: 50px;
    background: #3d3773;
    color: #fff;

}

.footer {
    height: 50px;
    background: #e38de0;
    color: #fff;
    position: absolute;    
    left: 0;
    bottom: 0;
    width: 100%;
    overflow: hidden;
    text-align: center;
}

.content-wrapper {
    margin: 0 auto;
    position: relative;
    min-height: 100%;
 /*
*/
    padding-bottom: 150px;
}

.content {
    width: 100%;
}


/* index бюок fests */

.fests {
    background: #DAE8FD;
    -webkit-box-align: center;
    align-items: center;
    display: flex;
    margin-right: auto;
    margin-left: auto;
    position: relative;
    width: 100%;
    flex-direction: row;
}


@media only screen and (max-width: 1024px) {
    .fests {
        box-sizing: border-box;
        -webkit-box-pack: center;
        justify-content: center;
        padding: 0px 40px;
        width: 100%;
        flex-direction: column;
    }
}





.fests #left {
  margin: 20px;
width: 100%;
    display: block;
    unicode-bidi: isolate;
word-break: break-word;



}
 
.fests #right {
width: 66%;
-webkit-box-align: center;
    align-items: center;
    display: flex;
    flex-direction: column;
    -webkit-box-pack: center;
    justify-content: center;
    width: 100%;
display: block;
    unicode-bidi: isolate;
word-break: break-word;
    display: flex;
    overflow: hidden;
}

@media only screen and (max-width: 1024px) {
    .fests #right {
        max-width: 100%;
        width: 100%;
    }
}@media only screen and (min-width: 1024px) {
    .fests #right {
        padding: 80px 20px;
    }
    .fests #left {
        padding: 80px 20px;
    }
}




.fests h1 {
    display: block;
    font-size: 2em;
    margin-block-start: 0.67em;
    margin-block-end: 0.67em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
    unicode-bidi: isolate;
    color:#AD4DD2;

}
.fests h2 {
    display: block;
    font-size: 1.5em;
    margin-block-start: 0.83em;
    margin-block-end: 0.83em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
    unicode-bidi: isolate;
    color: #333;

}
.fests p {
    display: block;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    unicode-bidi: isolate;
    color: #333;

}


.link{
    border-radius: 50px;
    white-space: nowrap;
    color: rgb(255, 255, 255);
    background-image: linear-gradient(-180deg, rgb(254, 7, 255) 0%, rgb(68, 14, 252) 96%);
    background-position: initial;
    background-size: initial;
    background-attachment: initial;
    background-origin: initial;
    background-clip: initial;
    background-color: initial;
    box-shadow: none;
    width: 100%;
    max-width: 300px;
    padding: 0px 40px;
    overflow: hidden;
    text-overflow: ellipsis;
    box-sizing: border-box;
    text-align: center;
    height: 50px;
    line-height: 50px;
    cursor: pointer;
    font-weight: 400;
    font-size: 14px;
    display: block;
    text-decoration: none !important;
    background-repeat: no-repeat !important;
}

    .link:hover {
        color: rgb(255, 255, 255);
        background: rgb(68, 14, 252);
        box-shadow: none;
    }




ul {
  float: left;
  height: 50px;
}




.Button_block{
  text-align:  center;
}

.Button_block .button {
  text-decoration: none;
  outline: none;
  display: inline-block;
  margin: 10px 10px;
  padding: 10px 10px;
  position: relative;
  border: 2px solid #9e1111;
  color: #9e1111;
  font-family: 'Montserrat', sans-serif; 
  transition: .4s;
  background: #ef7d1b;
  color: white;
}
.Button_block .button:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  margin: auto;
  border: 2px solid rgba(0,0,0,0);
  transition: .4s;
}
.Button_block .button:hover:after {
  border-color: #9e1111;
  width: calc(100% - 10px);
  height: calc(100% + 10px);
}
h1{
 text-align: center;
    color: #000000;
    
}