@font-face {
    font-family: "HeliosCond";
    src: url("./fonts/helioscondc-webfont.woff2") format("woff2");
    font-style: normal;
    font-weight: normal;
}

body {
    font-family: "HeliosCond";
    color: #747474;
    text-align: center;
}

hr {
    width: 75%;
}

.hr-in-news {
    width: 100%;
}

.slider {
    width: 100%;
    margin: 10px auto;
    top: 0;
    position: relative;
}

.slides {
    width: 75%;
    margin: 0 auto;
    display: none;
}

#fisrt {
    width: 75%;
    margin: 0 auto;
    display: block;
}

.fade {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 1.5s;
    animation-name: fade;
    animation-duration: 1.5s;
  }
  
  @-webkit-keyframes fade {
    from {opacity: .4} 
    to {opacity: 1}
  }
  
  @keyframes fade {
    from {opacity: .4} 
    to {opacity: 1}
  }

  @media only screen and (min-width:1070px) {
    .prev, .next {
        cursor: pointer;
        position: absolute;
        top: 35%;
        width: auto;
        font-weight: bold;
        font-size: 3rem;
        transition: 0.6s ease;
    }
}

@media only screen and (min-width:767px) and (max-width:1069px){
    .prev, .next {
        cursor: pointer;
        position: absolute;
        top: 30%;
        width: auto;
        font-weight: bold;
        font-size: 2rem;
        transition: 0.6s ease;
    }
}

@media only screen and (min-width:451px) and (max-width:1069px){
    .prev, .next {
        cursor: pointer;
        position: absolute;
        top: 25%;
        width: auto;
        font-weight: bold;
        font-size: 1.75rem;
        transition: 0.6s ease;
    }
}

@media only screen and (max-width:450px) {
    .prev, .next {
        cursor: pointer;
        position: absolute;
        top: 30%;
        width: auto;
        font-weight: bold;
        font-size: 1.75rem;
        transition: 0.6s ease;
    }
}

.prev {
    left: 5%;
    border-radius: 0 3px 3px 0;
}
.next {
    right: 5%;
    border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
    color: #cacaca;
}

.slider img{
    width: 75%;
    margin: 0 auto;
}

.news {
    width: 75%;
    margin: 20px auto;
}

.news h3 {
    text-align: left;
    float: left;
    margin-bottom: 5px;
}

.news h4 {
    float: right;
    display: inline-block;
    width: auto;
    margin-bottom: 5px;
}

.main-news {
    width: 100%;
    margin: 0 auto;
    text-align: left;
}

.main-news img {
    width: 100%;
    margin: 0 auto;
}

.news-title {
    justify-content: space-between;
    align-content: flex-end;
    margin: 0 auto;
}