body {
    background-color: whitesmoke;
    font-family: Garamond, "Times New Roman", serif;
    color: #333;
    width: 300px;
}

a {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    transition: color 0.3s;
}

.a_active {
    color: orangered;
    text-decoration-line: none;
}

a:hover {
    color: orangered;
    text-decoration-line: none;
}

a:active {
    color: orangered;
    text-decoration-line: none;
}

a:focus {
    color: orangered;
    text-decoration-line: none;
}

.a-button {
    background-color: whitesmoke;
    color: #333;
    border-radius: 7px;
    border: 1px solid #333;
    font-weight: bold;
    font-family: Garamond, "Times New Roman", serif;
    transition: all 0.3s ease;
    cursor: pointer;
    padding: 4px 7px 4px 7px;
    font-size: 18px;
    text-decoration-line: none;
}

.a-button:hover {
    background-color: #333333;
    color: orangered;
}

.a-button:active {
    background-color: #333333;
    color: orangered;
}

.a-button:focus {
    background-color: #333333;
    color: orangered;
}

button {
    background-color: whitesmoke;
    color: #333;
    border-radius: 7px;
    border: 1px solid #333;
    font-weight: bold;
    font-family: Garamond, "Times New Roman", serif;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 18px;
    padding: 4px 7px 4px 7px;
}

button:hover {
    background-color: #333333;
    color: orangered;
}

button:active {
    background-color: #333333;
    color: orangered;
}

button:focus {
    background-color: #333333;
    color: orangered;
}

h1 {
    margin: 0;
    font-size: 24px;
    line-height: 28px;
}

h2 {
    margin: 0;
    font-size: 21px;
    line-height: 25px;
}

h3 {
    letter-spacing: 1px;
    margin: 0;
    font-size: 18px;
}

p {
    margin: 0;
    font-size: 18px;
    letter-spacing: 1px;
}

strong {
    letter-spacing: -1px;
    font-size: 21px;
}

input {
    background-color: whitesmoke;
    color: #333;
    border-radius: 7px;
    border: 1px solid #333;
    font-weight: bold;
    text-align: center;
    font-family: Garamond, "Times New Roman", serif;
    font-size: 14px;
    height: 31px;
}

select {
    height: 25px;
    border-radius: 7px;
    font-family: Garamond, "Times New Roman", serif;
    font-size: 14px;
}

label {
    visibility: hidden;
    width: 0;
}

hr {
  width: 100%;
  border-top: 1px solid #333;
}

.errors {
    width: 286px;
    border-radius: 7px;
    display: flex;
    justify-content: flex-start;
    color: orangered;
    font-weight: bold;
    margin-top: 14px;
    padding: 7px;
}

.errors ul {
    margin: 0;
}

.errors li {
    margin: 7px 7px 0 7px;
    text-align: left;
}


/* Шаблон */

header {
    width: 300px;
}

header ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

header li {
    margin: 7px 0 7px 0;
}

main div {
    background-color: white;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 7px;
    margin: 7px 0 7px 0;
}

footer {
    width: 300px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 14px;
}

footer img {
    width: 300px;
    border-radius: 7px;
    margin-top: 7px;
}

main {
    display: flex;
    flex-wrap: wrap;
}

/* Главная */

.slogan {
    width: 286px;
    padding: 7px;
    margin-bottom: 7px;
}

.slogan p {
    width: 286px;
}

.networks {
    width: 300px;
    margin-bottom: 7px;
}

.networks img {
    margin: 7px;
    border-radius: 7px;
}

.join {
    width: 286px;
    padding: 7px;
    margin-bottom: 7px;
}

.join h2 {
    margin: 7px;
}

.join p {
    margin: 7px;
}

.form {
    width: 286px;
    padding: 7px;
    margin-bottom: 7px;
    justify-content: space-between;
}

.form input {
    margin: 7px;
}

.form h2 {
    margin: 7px;
}

#login_input {
    width: 122px;
}

.form button {
    margin: 7px auto 7px auto;
    height: 31px;
}

.form textarea {
    margin: 7px;
    border-radius: 7px;
    font-family: Garamond, "Times New Roman", serif;
    letter-spacing: 1px;
    padding: 4px;
}

/* Кабинет */

.account_board {
    width: 300px;
    justify-content: space-between;
    background-color: whitesmoke;
}

#invite_code {
    width: 100px;
}

.line {
    width: 300px;
    margin-bottom: 7px;
}

.line button {
    margin: 7px;
    width: 61px;
    height: 61px;
    font-size: 24px;
}

.line img {
    margin: 7px;
    width: 61px;
    border-radius: 7px;
}

.line p {
    margin: 7px;
    width: 61px;
}

#page_name {
    width: 110px;
}

#page_url {
    width: 286px;
}

#orders_line {
    width: 61px;
}

.check_info {
    padding: 7px;
}

.check_info a {
    margin: 7px;
}

.check_info p {
    margin: 7px;
}

.proof {
    width: 286px;
    padding: 7px;
    justify-content: space-between;
}

.proof input {
    margin: 7px;
    border: none;
    border-radius: 0;
    height: 25px;
    background-color: white;
}

.proof h2 {
    width: 286px;
    margin-bottom: 7px;
}

.proof textarea {
    margin: 7px;
    border-radius: 7px;
    font-family: Garamond, "Times New Roman", serif;
    letter-spacing: 1px;
    padding: 4px;
}

.proof button {
    margin: 7px;
}

.activity button {
    width: 136px;
    margin: 7px;
}

.activity a {
    width: 136px;
}

.activity p {
    width: 61px;
    margin: 7px;
}

.activity button {
    height: 31px;
}

#order_quantity {
    width: 61px;
    height: 31px;
    font-size: 24px;
    font-weight: bold;
}

.proof_order img {
    width: 286px;
    margin: 7px;
    border-radius: 7px;
}

.rules p {
    margin: 7px;
    text-align: left;
}

/* Мобильная */

@media only screen and (max-width: 480px) {
    p {
        font-size: 15px;
    }

    a {
        font-size: 15px;
    }

    .a-button {
        font-size: 15px;
    }

    .login label {
        font-size: 15px;
    }

    button {
        font-size: 15px;
    }

    h1 {
        font-size: 20px;
    }

    h2 {
        font-size: 18px;
    }

    h3 {
        font-size: 15px;
    }

    strong {
        font-size: 18px;
    }

    input {
        font-size: 12px;
    }

    button {
        font-size: 15px;
    }

}