﻿body {
    position: relative;
    padding-top: 60px;
    padding-bottom: 60px;
    background-color: #F8F8F8;
}

.section {
    background-color: #F8F8F8;
}

.article {
    font-size: 16px;
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
}

.article:not(:last-child) {
    margin-bottom: 40px;
}

.article__title {
    margin: 0;
    font-family: "Rubik Mono One";
    text-transform: uppercase;
    font-size: 32px;
    font-weight: 800;
}

.article__title:not(:last-child) {
    margin-bottom: 20px;
}

.article__content {
    padding: 30px 60px 40px 60px;
}

.article__paragraph {
    text-align: justify;
    text-indent: 30px;
}

.article__paragraph:not(:last-child) {
    margin-bottom: 20px;
}

.separate-line {
    width: 100%;
    height: 2px;
    border: none;
    background-color: #F5F5F5;
    margin: 0;
}

.separate-line:not(:last-child) {
    margin-bottom: 20px;
}

.articles-slider {
    display: flex;
}

.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    z-index: 2;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

.slide {
    width: 100%;
    flex-shrink: 0;
}

.slide-img {
    width: 300px;
}

input[type="radio"] {
    display: none;
}

#slide1:checked ~ .slides {
    transform: translateX(0%);
}

#slide2:checked ~ .slides {
    transform: translateX(-100%);
}

#slide3:checked ~ .slides {
    transform: translateX(-200%);
}

.controls label {
    display: inline-block;
    width: 15px;
    height: 15px;
    background: gray;
    border-radius: 50%;
    margin: 5px;
    cursor: pointer;
}

input:checked + label {
    background: black;
}

.side-bar {
    position: fixed;
    top: 75px;
    max-width: 60px;
    background-color: white;
    border-radius: 5px;
}

.side-bar__links {
    padding: 0;
    margin: 0;
    list-style: none;
}

.side-bar__item {
    cursor: pointer;
}

.add-article-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
    justify-content: center;
    align-items: center;
    /*width: 100%;*/
}

.add-article-modal__form {
    width: 600px;
    padding: 20px;
    background-color: #EEE;
}

.form__title {
    margin-bottom: 10px;
    font-size: 20px;
    font-weight: 600;
    text-align: center;
}

.form__input {
    width: 100%;
}

.form__input:not(:last-child) {
    margin-bottom: 10px;
}

.form__input_title {
    width: 100%;
    box-sizing: border-box;
    padding: 5px;
    font-size: 16px;
}

.form__input_text {
    width: 100%;
    max-width: 100%;
    height: 300px;
    box-sizing: border-box;
    padding: 5px;
    font-size: 16px;
}

.input__label {
    font-size:10px;
    color: #808080;
}

.form__buttons {
    display: flex;
    justify-content: space-between;
}

.add-article-modal__submit {
    font-size: 12px;
}

.form__btn_cancel {
    font-size: 12px;
}
