body{
    box-sizing: border-box;
    margin: 0 auto;
}
ul{
    list-style: none;
    padding: 0;
    margin: 0;
}
a{
    text-decoration: none;
}
h1, h2, h3, h4, h5, h6, p{
    margin: 0;
}
.container{
    width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}
.header{
    background-color: #6a4040;
    padding: 30px 0;
}
.header-wrap{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo{
    color: #837db2;
    font-size: 30px;
    font-weight: 700;
}
.nav-link{
    font-size: 18px;
    color: black;
}


/* Main */
.main{
    background-color: #837db2;
    padding-top: 80px;
    padding-bottom: 80px;
}
.nav-list{
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 0;
    list-style: none;
    border-radius: 4px;
}
.nav-item{
    padding: 10px;
    border-radius: 4px;
    text-decoration: none;
    color: black;
    background-color: rgb(247, 247, 247);
    box-shadow: 0px 2px 1px -1px rgba(0, 0, 0, 0.2),
            0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 1px 3px 0px rgba(0, 0, 0, 0.12);
    cursor: pointer;
}
.nav-item:hover,
.nav-item:focus{
    background-color: white;
}
.title-wrap{
    background-color: white;
    padding-top: 25px;
    padding-bottom: 25px;
    border: 1px solid gray;
    box-shadow: 0px 1px 1px RGB(0 0 0/12%), 0px 4px 4px RGB(0 0 0/6%), 1px 4px 6px RGB(0 0 0/16%);
    border-radius: 20px;
}
.title{
    font-size: 40px;
    text-align: center;
}
.news{
    background-color: rgb(247, 247, 247);
    padding: 30px;
    margin-top: 50px;
    border: 1px solid gray;
    box-shadow: 0px 2px 1px -1px rgba(0, 0, 0, 0.2),
            0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 1px 3px 0px rgba(0, 0, 0, 0.12);
    border-radius: 20px;
}
.news-list{
    display: flex;
    justify-content: space-between;
}
.new{
    width: 330px;
    padding: 15px;
    background-color: #fff;
    border: 1px solid rgb(224, 223, 223);
    border-radius: 8px;
}
.new:hover,
.new:focus {
    box-shadow: 0px 1px 1px RGB(0 0 0/12%), 0px 4px 4px RGB(0 0 0/6%), 1px 4px 6px RGB(0 0 0/16%);
}
img{
    width: 100%;
    height: 240px;
}
.new-text-wrap{
    margin-top: 30px;
    color: black;
}
.new-text{
    margin-top: 15px;
}



/* Footer */
.footer{
    background-color: #aa43a2;
    padding: 30px 0;
}
.footer-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-list{
    display: flex;
    justify-content: end;
}
.footer-link{
    color: white;
    font-size: 20px;
}
.tel{
    margin-right: 20px;
}



/* Page about cats */
.cat-container{
    background-color: rgb(247, 247, 247);
    padding: 30px;
    border: 1px solid gray;
    box-shadow: 0px 2px 1px -1px rgba(0, 0, 0, 0.2),
            0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 1px 3px 0px rgba(0, 0, 0, 0.12);
    border-radius: 20px;
    font-size: 20px;
}
.cat-text{
    margin-top: 30px;
}
.cat-card{
    margin-top: 50px;
}
.cat-card-title{
    text-align: center;
    font-size: 30px;
}
.cat-card-img{
    margin: 25px auto;
    width: 650px;
    height: 100%;
    display: flex;
    justify-content: center;

}




/* Page about dogs */
.dog-container {
    background-color: rgb(247, 247, 247);
    padding: 30px;
    border: 1px solid gray;
    box-shadow: 0px 2px 1px -1px rgba(0, 0, 0, 0.2),
        0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 1px 3px 0px rgba(0, 0, 0, 0.12);
    border-radius: 20px;
    font-size: 20px;
}
.dog-text{
    margin-top: 30px;
}
.dog-card {
    margin-top: 50px;
}
.dog-card-title{
    font-size: 24px;

}
.dog-card-text{
    margin-top: 25px;
}
.dog-card-img {
    margin: 25px auto;
    width: 650px;
    height: 100%;
    display: flex;
    justify-content: center;
}



/* Page about study */
.study-container {
    background-color: rgb(247, 247, 247);
    padding: 30px;
    border: 1px solid gray;
    box-shadow: 0px 2px 1px -1px rgba(0, 0, 0, 0.2),
        0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 1px 3px 0px rgba(0, 0, 0, 0.12);
    border-radius: 20px;
    font-size: 20px;
}
.study-text {
    margin-top: 30px;
}
.study-img{
    margin: 25px auto;
    width: 900px;
    height: 100%;
    display: flex;
    justify-content: center;
}
.study-list{
    list-style: square;
    margin-left: 20px;
}
.study-item{
    margin-top: 10px;
}


/* Contacts */
.contacts-container {
    background-color: rgb(247, 247, 247);
    padding: 30px;
    border: 1px solid gray;
    box-shadow: 0px 2px 1px -1px rgba(0, 0, 0, 0.2),
        0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 1px 3px 0px rgba(0, 0, 0, 0.12);
    border-radius: 20px;
    font-size: 20px;
    font-size: 30px;
}
.contact-text{
    margin-bottom: 20px;
    margin-top: 20px;
}
.contact-link{
    color: #aa43a2;
}
.contact-link:hover,
.contact-link:focus {
    color: #8a1381;
    font-weight: 700;
}
.contact-img{
    height: 100%;
    border: 1px solid rgb(215, 215, 215);
    border-radius: 20px;
    box-shadow: 0px 2px 1px -1px rgba(0, 0, 0, 0.2),
            0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 1px 3px 0px rgba(0, 0, 0, 0.12);
}
.news-list{
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}