html {
    box-sizing: border-box;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

body {
    background-color: #000000;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 14px;
        }

#wrapper {
    width: min(98%, 960px);
    margin: 1rem auto;
    background: #e8e7e5;
    padding: 20px;
    box-shadow: 0px 6px 12px #19191a;
    border: 1px solid #19191a;
    border-radius: 20px;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
}

.home-header {
    display: grid;
    grid-column: span 6;
}

#header-rock-logo {
    display: flex;
    justify-content: center;
}

.home-logo {
    position: relative;
    display: inline-block;
}

.home-logo img {
    width: 100%;
    max-width: 900px;
    height: auto;
}

.home-title {
    position: absolute;
    top: 38%;
    left: 30%;
    color: #000000;
    font-weight: bold;
    text-shadow: 2px 2px 5px rgb(208, 145, 129);
    font-size: .75rem;
}

nav {
    grid-column: span 6;
}

nav ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
    display: flex;
    gap: 1rem;
    flex-direction: column;
    justify-content: space-around;
}

nav ul li {
    display: flex;
}

nav ul li a {
    flex: 1 1 auto;
    text-decoration: none;
    padding: 15px;
    border: 3px solid #d19382;
    border-radius: 15px;
    font-weight: bold;
    text-align: center;
    background-color: #7d1b3a;
    text-decoration-color: #000000;
    color: whitesmoke;
    transition: all 1s ease-in;
}

nav a:link {
    color: #000000;
}

nav a:visited {
    color: whitesmoke;
}

nav a:hover {
    color: #000000;
    background-color: #cc7938;
}

nav a:focus {
    color: #c53a64;
    outline: 2px solid #c53a64;
}

nav a:active {
    color: #e3e64d;
}

#page-title {
    display: grid;
    text-align: center;
    grid-column: span 6;
}

img {
    width: 100%;
    height: auto;
    display: block;
    overflow: hidden;
}

main {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-column: span 6;
    gap: 25px;
}

#left {
    display: grid;
    grid-column: span 6;
}

.main-paragraph {
    margin-bottom: 10px;
}

.quote {
    font-size: 20px;
    color: #7d1b3a;
    font-weight: bold;
    margin-top: 5px;
}

.fun-fact-title {
    font-size: 16px;
    font-weight: bold;
    color: #7d1b3a;
}

.fun-fact {
    font-size: 12px;
    font-weight: bold;
}

#right {
    display: grid;
    grid-column: span 6;
}

table {
    margin: auto;
    border: 3px solid #7d1b3a;
    border-collapse: collapse;
    background-color: #e8e7e5;
}

table>tbody>tr:hover{
    background-color: #d19382;
}

caption {
    font-weight: bold;
    font-size: 30px;
    padding: 5px;
    background-color: #7d1b3a;
    color: aliceblue;
}

td {
    border: 1px solid #8f8f8f;
    padding: 3px 7px;
}

.item {
    font-weight: bold;
    text-align: right;
    font-size: 13px;
}

.fact {
    text-align: center;
}


#gallery {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 20px;
}

.home-pictures {
    gap: 10px;
    border: 6px solid #d19382;
    box-shadow: 0px 6px 12px #000000;
    border-radius: 15px;
    overflow: hidden;
    box-sizing: border-box;
}

.band-pictures {
    gap: 10px;
    border: 6px solid #d19382;
    box-shadow: 0px 6px 12px #000000;
    border-radius: 15px;
    overflow: hidden;
    box-sizing: border-box;
    transform: rotate(-4deg);
}

.more-info {
    font-size: 16px;
    font-weight: bold;
    padding-top: 30px;
}

.band-info table {
    margin: auto;
    margin-top: 20px;
    border: 3px solid #7d1b3a;
    width: 100%;
    border-collapse: collapse;
    background-color: aliceblue;
}

.band-info table>tbody>tr:hover{
    background-color: #d19382;
}

.band-info tbody tr:nth-child(even) {
    background-color: #b6b6b5;
}

.band-info label {
    display: block;
    text-align: right;
}

.band-info input {
    display: inline-block;
    font-size: inherit;
    font-family: Arial, Helvetica, sans-serif;
    padding: 4px 10px 4px 10px;
}

.bands-check-boxes label {
    text-align: left;
}

.band-info input[type=reset] {
    display: inline-block;
    background: white;
    width: auto;
}

.band-info:invalid input[type=submit] {
    background: lightgrey;
    cursor: not-allowed;
}

tbody tr:nth-child(even) {
    background-color: #b6b6b5;
}

video {
    width: 403px;
    height: auto;
    aspect-ratio: 9/16;
    border: 6px solid #d19382;
    border-radius: 1rem;
    background: black;
    display: block;
    margin: 0 auto;
}

footer{
    grid-column: span 6;
    display: flex;
    margin: 10px;
}

footer :first-child {
    margin-right: auto;
}

footer :nth-child(n + 2) {
    margin-left: 1rem;
}

@media screen and (min-width: 500px) {
   .home-title {
    font-size: 1.5rem;
} 
}

@media screen and (min-width: 700px) {

    nav ul {
        flex-direction: row;
    }

    #left {
        grid-column: span 3;
    }

    #right {
        grid-column: span 3;
    }

    #gallery {
        grid-template-columns: repeat(3, 1fr);
    }

   .home-title {
    top: 38%;
    left: 30%;
    font-size: 2.5rem;
} 
  
}

@media screen and (min-width: 1000px) {

    #wrapper {
        width: 1024px;
         margin: 0 auto;
     }
    
}