#allcontent {
    width: 800px;
    background color: white;
    margin:auto;
}

header {margin:0 10px;
height: 170px;}


body {text-align: center;
    font-size: medium;
    font-family: cursive;
    margin: 70px;
}
.title{float: left;
    border: double grey 2px;
    width: 250px;
    height: 120px;
    padding: 5px;
    font-size: 235%;
}

.intro{background-color: gainsboro;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 10px;
    padding-bottom: 10px;}

.main{
width: auto;
height: 500px;}

.mag{
    border: solid grey 2px;
}

#magazine{float: left;
        width: 370px;
        height: 500px;
        }

#description{float: right;
    width: 333px;
    height: 399px;
    background-color: pink;
    margin:40px;
    margin-top: 100px;
    padding-left: 7px;
    padding-right: 7px;
    
}

#footer {
    text-align: center;
    border: double grey 2px;
    clear: inherit;
    margin-right: 100px;
    margin-left: 100px;
    margin-top: 40px;
}

#contact{
    background-color: gainsboro;
    text-align: center;
    padding-left: 10px;
    padding-right: 10px;
    margin-top: 50px;
}


ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid #e7e7e7;
    background-color: #f3f3f3;
    clear: both;
}

li {
    float: left;
    
}

li a {
    display: block;
    color: #666;
    text-align: center;
    padding: 16px 28px;
    text-decoration: none;
}

li a:hover:not(.active) {
    background-color: #e7e7e7;
}

li a.active {
    color: white;
    background-color: pink;
}

.w3-content w3-section{float: right;
    
}

