.content {
    width: 960px;
    font-family: Tahoma, sans-serif;
    margin: auto;
    height: auto;
    direction: rtl;
}

.header, .footer {
    width: 960px;
    margin: auto;
    background-color: black;
    color: red;
    font-size: 30px;
    text-align: center;
}

.header {
    height: 210px;
}

.header .title {
    height: 150px;
}

.header .nav {
    width: 960px;
    height: 60px;
    background-color: darkred;
}

.header .nav a {
    float: right;
    margin: 5px 3px;
    background-color: black;
    color: white;
    height: 50px;
    padding: 0px 3px;
    text-decoration: none;
}

.footer {
    height: 200px;
}

.main {
    text-align: right;
    background-image: url("images/background.jpg");
}

.items {
    width: 960px;
    height: 960px;
}

.category {
    width: 294px;
    height: 294px;
    margin: 90px;
    float: right;
    border: 3px solid red;
    text-align: center;
    border-radius: 10px;
    background-color: black;
}

.category:hover {
    width: 294px;
    height: 294px;
    padding: 10px;
    margin: 80px;
    background-color: darkred;
}

.category a {
    display: block;
    text-decoration: none;
    width: 100%;
    height: 100%;
    color: white;
    font-size: 30px;
}

.category a img {
    border-radius: 6px;
    width: 290px;
    height: 156px;
    border: 2px solid white;
}

.footer .nav {
    float: right;
    height: 160px;
    width: 160px;
    padding: 20px;
    text-align: right;
}

.footer .nav a {
    font-size: 20px;
    color: gray;
    text-decoration: none;
}

form {
    background-color: black;
    border: 3px solid white;
    border-radius: 5px;
    width: 300px;
    margin: auto;
}

label {
    color: red;
}

input {
    margin-top: 5px;
}

input[type="submit"] {
    font-family: Tahoma, sans-serif;;
    background-color: white;
    color: black;
    font-size: 20px;
}

p.about {
    color: red;
    width: 960px;
    height: 300px;
    margin: auto;
    text-align: center;
}