.account {
    margin-bottom: 60px;
}
.account h1 {
    font-family: 'DelaGothicOne', sans-serif;
    font-weight: 400;
    font-size: 48px;
    line-height: 48px;
    margin-bottom: 60px;
}
.account form {
    display: flex;
    column-gap: 30px;
}
.account form h2,
.order-histrory h2 {
    font-family: 'DelaGothicOne', sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 26px;
    margin-bottom: 40px;
}
.account form .left {
    width: 67%;
    border-bottom: 1px solid #e9e9e9;
    padding-bottom: 60px;
}
.account form .input-group {
    display: flex;
    align-items: center;
    column-gap: 20px;
    width: 100%;
    margin-bottom: 30px;
}
.account form .input-group .input {
    max-width: 430px;
}
.account form .input {
    display: flex;
    flex-direction: column;
    width: 100%;
}
.account form .input input {
    max-width: 430px;
    color: var(--black);
}
.account form .input label {
    margin-bottom: 20px;
    font-family: 'RobotoCondensed', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 16px;
}
.account form .input.address {
    margin: 30px 0 40px;
}
.account form .input.address input {
    max-width: 100%;
    margin-bottom: 20px;
}
.account form .input.address span {
    font-family: 'RobotoCondensed', sans-serif;
    font-weight: 400;
    line-height: 16px;
    color: #a4a4a4;
}
.account form .btns {
    display: flex;
    gap: 15px;
    align-items: center;
}
.account form .btns a {
    width: 100%;
    max-width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'DelaGothicOne', sans-serif;
    border-radius: 10px;
    cursor: pointer;
    border: 2px solid var(--main);
    transition: .3s;
    white-space: nowrap;
    background: var(--main);
    color: var(--bg-white);
    border-color: var(--main);
    padding: 20px 30px;
    font-size: 14px;
    line-height: 14px;
}
.account form .btns a:hover {
    background: transparent;
    color: var(--main);
}
.account form input[type="submit"],
.account form .right .input label {
    background: var(--main);
    color: var(--text-white);
    padding: 20px 30px;
    font-size: 14px;
    line-height: 14px;
}
.account form input[type="submit"] {
    max-width: 254px;
    background: transparent;
    color: var(--main);
}
.account form input[type="submit"]:hover {
    background: var(--main);
    color: var(--bg-white);
    border-color: var(--main);
}
.account form .right .input label {
    background: var(--main);
    color: var(--bg-white);
    border-color: var(--main);
}
.account form .right {
    width: 33%;
    border: 2px solid #f5f5f5;
}
.account form .right .box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 85px;
}
.account form .right .box .avatar {
    width: 240px;
    min-width: 240px;
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9f9f9;
    border-radius: 100%;
    margin-bottom: 40px;
}
.account form .right .box .input {
    align-items: center;
}
.account form .right .box .avatar img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    border-radius: 50%;
}
.account form .right input {
    display: none;
}
.account form .right .input label {
    max-width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'DelaGothicOne', sans-serif;
    border-radius: 10px;
    cursor: pointer;
    border: 2px solid var(--main);
    transition: .3s;
    white-space: nowrap;
}
.account form .right .input label:hover {
    background: transparent;
    color: var(--main);
}
.account form .right .box span {
    font-family: 'RobotoCondensed', sans-serif;
    font-weight: 400;
    line-height: 19px;
    color: #a4a4a4;
    text-align: center;
    max-width: 273px;
    width: 100%;
}
.order-histrory {
    margin-bottom: 200px;
}
.order-histrory .order-items {
    display: flex;
    flex-direction: column;
}
.order-histrory .order-items .item {
    border: 1px solid #f0f0f0;
    max-width: 880px;
    width: 100%;
    padding: 40px;
    border-radius: 30px;
    cursor: pointer;
}
.order-histrory .order-items .item:not(:last-child) {
    margin-bottom: 20px;
}
.order-histrory .order-items .item .title {
    font-family: 'DelaGothicOne', sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 31px;
    margin-bottom: 10px;
}
.order-histrory .order-items .item .date,
.order-histrory .order-items .item .sum {
    font-family: 'RobotoCondensed', sans-serif;
    font-weight: 400;
    line-height: 16px;
    color: #8d8d8d;
}
.order-histrory .order-items .item .date {
    padding-right: 10px;
}
@media screen and (max-width: 900px) {
    .account form {
        flex-direction: column-reverse;
    }
    .account form .left {
        width: 100%;
    }
    .account form .right {
        width: 100%;
        margin-bottom: 60px;
    }
}
@media screen and (max-width: 578px) {
    .account {
        margin-bottom: 40px;
    }
    .account h1 {
        display: none;
    }
    .account form .left {
        padding-bottom: 40px;
    }
    .account form h2,
    .order-histrory h2 {
        font-size: 18px;
        line-height: 21px;
    }
    .account form .input-group {
        flex-direction: column;
        margin-bottom: 20px;
    }
    .account form .input-group .input:not(:last-child) {
        margin-bottom: 20px;
    }
    .account form .input label {
        margin-bottom: 15px;
    }
    .account form .input.address {
        margin: 20px 0 30px;
    }
}