*{
    margin:0;
    padding:0;
    box-sizing: border-box;

}
html {
    scroll-behavior: smooth;
}
body{
    background: #009EDD;
background: linear-gradient(180deg, rgba(0, 158, 221, 1) 2%, rgba(196, 203, 229, 1) 17%, rgba(186, 156, 119, 1) 66%);
    margin: 0;
     font-family: "VT323", monospace;
     color: rgba(255, 255, 255, 0.9);
     scroll-behavior: smooth;
     line-height: 1.6;
    
}
/* Header Section */
.banner {
text-align:center;
/* background:#003366; */
padding: 20px 0;
}
.banner h1{
    font-size: 2.5rem;
    text-shadow: 2px 2px 6px black;
    color: white;
    margin: 0;

}
.header-img {
    width: 100%;
    max-width: 350px;
    object-fit: cover;

}
/* Nav Bar */
.nav-bar {
    display: grid;
    justify-content: center;
    align-content: center;
    background-color: #0099cc;
    padding: 10px;
   grid-template-columns: repeat(9,1fr);
   /* flex-wrap: wrap;
   gap: 5px; */
}
.nav-bar img {
    width: 300px;
}
.nav-btn {
    /* background-color: #003366; */
    color: white;
    padding: 8px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    margin: 0 10px;
    transition: 0.3s;
}
.nav-btn:hover {
    background-color: #006699;
}
.sword {
    width: 45px;
}

/* Main conent */
.content {
    /* max-width: 1000px; */
    margin: 30px auto;
    padding: 20px;
    color: black;
    position: relative;
}
.intro-section {
    background-color: rgba(241, 237, 237, 0); 
    color: rgb(10, 6, 6);
    padding: 20px;
    border-radius: 10px;
    flex: 1;
    min-width: 300px;
    display:grid;
    grid-template-columns: 1fr 1fr;
    text-align: center;
    gap: 20px;
    align-items: center;
    margin-bottom: 30px;
}
.into-section h2 {
    margin-bottom: 10px;
    color: #003366;
}
.intro-image img {
    /* border-radius: 10px; */
    width: 100%;
    border-radius: 10px;
    box-shadow: 3px 3px 10px rgba(0,0,0,0.3);
    max-width: 400px;
    /* box-shadow: 10px 10px 10px rgba(0,0,0,1); */
}
/* dividers */
.divider {
    width: 100%;
    height: 40px;
    background-image: url("../img/SWORDSSSSSS.png");
    background-repeat: repeat-x;
    background-size: contain;
    margin: 20px 0;
}
.divider img {
    width: 60px;
}
/* gallery section */
.gallery section {
    text-align: center;
    margin-top: 40px;
}
.gallery {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}
.gallery img {
    text-align: 300px;
    border-radius: 10px;
    box-shadow: 0 40px 12px rgba(3, 0, 0, 0);
}
/* credit */
.credit-section {
    text-align: center;
    margin: 60px 0 40px;
    color: black;
}
.credit-section h2 {
    color: #003366;
}
.zelda-logo {
    /* width: 250px;
    margin-top: 10px; */
    display: block;
    margin: 0 auto;
    width: 20px 0;
    
}
.logo-section {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px 0;
}
footer p {
    color: black;
}

.zelda-logo {
    width: 250px;
   max-width: 80%
}
/* responsive */
@media (max-width:768px) {
    .intro-section {
      
    flex-direction: column;
    align-items: center;
    }

}
/*  
a{
    text-decoration: none;
    font-weight: bold;
}
a:hover{
    
}

header{
   
    position: fixed;
    width: 100%;
    top: 0px;
     z-index: 1;
    /* Group 19 */
     font-family: "VT323", monospace;





/* header */
header,main,footer,#banner,.grid{
    max-width: 1200px;
    margin: 0 auto;
    position:relative
}
#banner {
    background-image: url("../img/BACKGROUND.png");
    background-size: contain;
    width:100%;
    height: 60vh;
    background-position: center;
    background-repeat: no-repeat;
    /* background-attachment:fixed; */
 
}

nav{ 
    text-align: center;
    padding: 5px;
}
nav ul li{
    display: inline;
    margin-right: 10px;

}
main{
    margin-top: 30px;

}

main{
    /* display: grid;
    grid-template-columns: 2fr 1fr; */

}
/* gallery */
.grid{
    display: grid;
     /* grid-template-columns: 1fr 1fr 1fr; */
      /* grid-template-columns: repeat(4, 1fr); */
    
      

grid-template-columns: repeat(auto-fit, minmax(260px,1fr));

    gap:10px;
      
}
.grid-item {
    /* background-color: rgb(243, 239, 239); */
    padding: 10px;
    text-align: center;
    box-shadow: 10px 10px 13px grey;
}
@media screen and (max-width:1000px){
    /* body{display:none} */

    #grid{
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        height: 300px;
        place-items: center;
        object-fit: cover;
    }


}

.grid-item img {
    width: 100%;
}
 .intro-text p {
    background-color: black;
    color: white;
    padding: 10px;
    border: 10px solid grey;
 }