/* Reset default margin and padding */
body, h1, h2, h3, p {
    margin: 0;
    padding: 0;
    line-height: 17pt;
}

/* Global styles */
body {
    font-family: Arial, sans-serif;
    line-height: 17.2pt;
    
}

.category-home-images img:hover   {
  transform: scale(.90);
  cursor: hand;
}





.categories img:hover   {
  transform: scale(.90);
  cursor: hand;
  opacity: .50;
}


.img img:hover   {
  transform: scale(.90);
  cursor: hand;
  opacity: .50;
}


.view-btn {
    background: lightgrey;
    border: 2px none;
    width:auto;
    padding-left: 10px;
    padding-top: 7px;
    padding-bottom: 7px;
    border-radius: 7px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}


.view-btn:hover {
    
    background: #c1bebe;
    width:auto;
    padding-left: 10px;
    padding-top: 7px;
    padding-bottom: 7px;
    border-radius: 7px;
    border-bottom: 4px grey;
    border: 2px solid #c1bebe;
    cursor: hand;
    
}

.view-btn a {
    color: #454242;
}

.view-btn a:hover {
    background: #c1bebe;
    color: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1)
    }

#view-btn:hover {
   color: yellow;
}

header {
    background-color: #fff;
    color: #666e78;
    padding: 10px 0;
    text-align: center;
}


.top-menu {
    display:flex;
    text-align: center;
    justify-content: center;
    height: 8vh;
}

.top-menu {
    margin-left: 15.7px;
    display:flex;
    text-align: center;
    justify-content: center;
    height: 8vh;
}

.suggested-categories {
    display:flex;
    height: 20vh;
    background: darkgrey;
    text-align: center;
    justify-content: center; 
    padding: 2px 2px;
    margin: 2px 2px;
    border: 2px solid teal;
    border-radius:12.5px;
    
}

.suggested-categories .top-image-menu {
    display:flex;
    background: grey;
    align-items:center;
    justify-content: center;
    text-align: center;
    padding: 5px 5px;
    margin: 7px 7px;
    border:none;
    border-radius:12.5px;
    box-shadow: 0 3px 7px rgba(1, 2, 3, 0.5);
}



nav ul {
    list-style: none;
}

nav li {
    display: inline;
    margin-right: 20px;
}

nav a {
    padding-top: 7.5px;
    padding-left: 10.5px;
    color: teal;
    text-decoration: none;
    font-weight: bold;
    padding: 12.5px 16.5px;
    border: 2.5px solid teal;
    border-radius: 4.5px;
}


nav a:hover {
    
    color: white;
    text-decoration: none;
    font-weight: bold;
    background: #794040;
    padding: 12.5px 16.5px;
    border: 2.5px solid black;
    border-radius: 4.5px;
}


main {
    max-width: 1600px;
    margin-left: 60px;
    margin-right: 60px;
    margin-top:5px;
    margin-bottom: 40px;
    padding: 0px;
    align-items: center;
    justify-content: center;
}


.trending {
    margin-top:10px;
    background: none;
    border: 2px none;
    width:auto;
    padding-left: 5px;
    padding-top: 5px;
    padding-bottom: 5px;
    border-radius: 7px;
}


.categories{
    margin-left: 0.1px;
    align-items: center;
    justify-content: center;
}


.category{
    margin-left: 0px;
    align-items: center;
    justify-content: center;
}


.categories img {
    max-height: 95%;
    max-width:87%;
    box-shadow: rgba(0, 0, 0, 0.56) 0px 22px 70px 4px;
    height: 145%;
    width: 125%;
    border: 2px solid black;
    border-radius: 100px;
    margin-top: 20px;
    margin-bottom: 20px;
    margin-right: 7px;
    margin-left: 5px;
    float: left;
}


.category img {
    max-height: 80%;
    max-width:70%;
    object-fit: cover;
}

.category img {
    
    margin-left: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
    width: auto;
    height:auto;
    padding: 0px;
    margin-top:0px;
    border: 2px solid black;
   
    
}


article {
    border-bottom: 1px solid #ccc;
    margin-bottom: 20px;
    padding-bottom: 20px;
}

article h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

article p {
    margin-bottom: 10px;
}

article img {
    max-width: 100%;
    height: auto;
    border: 2px solid black;
    border-radius: 20px;
}

footer {
    text-align: center;
    padding: 10px;
    background-color: #333;
    color: #fff;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    header, nav ul {
        text-align: center;
        padding-top: 2px;
        padding-bottom:2px;
    }
    
    nav li {
        display: block;
        margin-bottom: 5px;
        padding-top: 2px;
        padding-bottom:2px;
    }
    
    main {
        padding-top: 2px;
        padding-bottom:2px;
    }
}


@media (max-width: 600px) {
.suggested-categories  {
    display:flex;
    background: #fff;
    align-items:center;
    justify-content: center;
    text-align: center;
    padding-top: 2px;
    padding-bottom:2px;
    padding-left: 2.7px;
    padding-right: 4px;
    margin-left:5.9px;
    margin-right:4px;
    box-shadow: 4 2px 4px rgba(0, 2, 3, 0.1);
    border:none;
    border-radius:12.5px;
}

}


@media (max-width: 600px) {
.suggested-categories .top-image-menu {
    display:flex;
    background: #bd0707;
    align-items:center;
    justify-content: center;
    text-align: center;
    padding-top: 5px;
    padding-bottom:5px;
    padding-left: 0px;
    padding-right: 4px;
    margin-left:1px;
    margin-right:4px;
    box-shadow: 4 2px 4px rgba(0, 2, 3, 0.1);
    border:none;
    border-radius:12.5px;
}

}


@media (max-width: 600px) {
.suggested-categories .top-image-menu img {
    display:flex;
    background: #950707;
    align-items:center;
    justify-content: center;
    text-align: center;
    padding-left: 2px;
    padding-right: 2.5px;
    margin-left:2.5px;
    margin-right:2px;
    box-shadow: 0 3px 7px rgba(1, 2, 3, 0.5);
    border: 0.2px solid #710000;
    border-radius:12.5px;
}

}