
.contentdivlarge {
    flex-wrap: wrap;
    height: 500px;
    width: 80%;
    margin-left: 10%;
    margin-right: 10%;
    margin-top: 35px;
    font-family: "Verdana, Geneva, Tahoma, sans-serif";
}

#topbar {
    background-color: #2c80ce;
    grid-row: 1 / 2;
    grid-column: 1 / -1;
}

#Wrapper {
    display: grid;
    grid-auto-rows: auto;
    grid-template-columns: minmax(0px, 1fr) repeat(6, minmax(0, 170px)) minmax(0px, 1fr);
}
footer {
    background-color: #2c80ce;
    color: #fff;
    padding: 20px 0;
    text-align: center;
    font-size: 22;
    /* align-items: center; */ /* Remove this line */
}
ul3 {
    list-style-type: none; /* Remove the default list styling */
    padding: 0; /* Remove default padding */
    display: flex; /* Use flexbox */
    justify-content: center;
}

ul3 p {
    margin-right: 100px; /* Add spacing between links, adjust as needed */
}

ul3 p:last-child {
    margin-right: 0; /* Remove margin for the last link */
}
ul3 p a {
    color: white;
    text-decoration: none; /* Remove underline from links */
}

ul3 p a:hover {
    text-decoration: underline; /* Underline on hover */
}
.footer-content {
    margin: 0; /* Resetting margin for the text content */
}

#swing {
    grid-row: 2 / 3;
    grid-column: 1 / 9;
    background-image: url(swing.jpeg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center top 5%;
    height: 300px;
}
#family {
        grid-row: 2 / 3;
        grid-column: 1 / 9;
        background-image: url(family.jpeg);
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center top 27%;
        height: auto;  
}
#last {
    grid-row: 2 / 3;
    grid-column: 1 / 9;
    background-image: url(last.jpeg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center top 43% ;
    height: 300px;  
}
#married {
    grid-row: 2 / 3;
    grid-column: 1 / 9;
    background-image: url(married.jpeg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center bottom 40% ;
    height: 300px;  
}
#slcc {
    grid-row: 2 / 3;
    grid-column: 1 / 9;
    background-image: url(slcc.jpeg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center top 33%;
    height: 300px;
}
header {
    grid-row: 1 / 2;
    grid-column: 2/ -2;
    height: 70px;
    text-align: left;
    padding: 0 10px; 
}
h2 {
    font-size: 40px;
    color: #FFFFFF;
    padding-bottom: 0.5rem;
    font-family: "Verdana, Geneva, Tahoma, sans-serif";
    margin-top: 25px;    
}
h3 {
    font-size: 30px;
    color: #000000;
    padding-bottom: 0.5rem;
    font-family: "Verdana, Geneva, Tahoma, sans-serif";
    margin-top: 25px;
    text-align: center; 
}
nav {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    grid-row: 1/ 1;
    grid-column: -1 / 2;
    
}
nav ul li {
    display: inline;
    margin-right: 0px;
    background-color: #2c80ce;
}

main {
    text-align: center;
    width: 100%;
    background-color: #80d8fe;
    grid-row: 3 / 4;
    grid-column: 2/ 8;
    height: 1200px;
}
nav a {
    display: block;
    padding: 0rem, 0rem;
    text-decoration: underline;
    text-align: center;
    color: #FFFFFF;
    padding-top: 2rem;
    padding-bottom: 1.75rem;
    padding-right: 0 20px;
}
nav ul {
    width: 60%;
    float: right;
    display:flex;
    flex-flow: row nowrap;
    margin: 0%;
    font-size: 22px;
}
nav ul li {
    width: 40%;
    text-align: right;
}
nav a:hover {
    background-color: #80D8FE;
}
.picture-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px; 
}

.grid-item {
    text-align: center; 
    overflow: hidden; 
}

.grid-item img {
    max-width: 100%;
    max-height: 100%; 
    width: 100%;
    height: 100%;
    display: block;
    margin: 17px; 
}
.text-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    
}
.text-box {
    color: rgb(0, 0, 0);
    padding: 5px;
    font-size: 16px;
    text-align: center;
}
#greybar {
    background-color: #2c80ce;
    grid-row: -1 / 3;
    grid-column: 1 / -1;
}
.flexbox5 {
    position: relative;
    margin-top: 130px;
    font-size: 20px;
}
ul2 li1 {
    font-size: 33px; 
}
.image-container2 {
    text-align: center; /* Align the content in the center */
    margin-top: 50px; /* Adjust the margin as needed */
}
.incline-image {
    max-width: 100%;
    max-height: 100%;
    width: 30%;
    height: auto;
    display: inline-flex;
    align-items: center;
}
@media only screen and (max-width: 900px){
    ul3 p {
        margin-right: 60px; /* Add spacing between links, adjust as needed */
    }
    nav {
        grid-row: 2/3;
        grid-column: 1 / 5;
        text-align: center;
  }
  nav ul {
    flex-flow: column nowrap;  
  }
 
  nav a {
    display: block;
    padding: 0rem 0rem;
    text-decoration: underline;
    text-align: center;
    color: #FFFFFF;
    padding-top: 2rem;
    padding-bottom: 1.75rem;
    padding-right: 0 20px;
    white-space: nowrap; 
}
   #deserthills.jpeg, 
   #fielding.jpeg, 
   #hitting.jpeg, 
   #picture.jpeg,
    #pitching.jpeg 
    #seniorday.jpeg, 
    #state.jpeg, 
    #teampicture.jpeg, 
    #throwinggas.jpeg 
    
    {
    grid-row: 2/ 3;
    grid-column: 5 / 8;
  }
  #swing, #family, #last, #married, #slcc {
    grid-row: 2/3;
    grid-column: 5/8;
    height: auto;
  }
section {
    float: none;
    width: 100%; 
    padding-right: 0px; 
  }
  .picture-grid {
    grid-template-columns: repeat(2, 1fr);
    
}
.grid-item img {
    max-width: 250px;
    height: 200px; 
    margin: 0px auto;
}

}
@media only screen and (max-width: 600px) {
    ul3 p {
        margin-right: 30px; /* Add spacing between links, adjust as needed */
    }
    header h1 {
        background-image: none; 
        text-align: center; 
      }
      h2 {
        text-align: center;
      }
      nav {
        grid-row: 2 / 3;
        grid-column: 1 / -1;
        margin-left: 0; 
        padding-left: 0;  
      }
      #swing, 
      #family, 
      #last,
      #married,
      #slcc,
      #deserthills.jpeg,
        #fielding.jpeg, 
        #hitting.jpeg, 
        #picture.jpeg, 
        #pitching.jpeg 
        #seniorday.jpeg, 
        #state.jpeg,
        #teampicture.jpeg, 
        #throwinggas.jpeg {
        display:none;
        }
        .picture-grid {
            grid-template-columns: repeat(2, 1fr);
        }
        }
  .text-box {
    color: rgb(0, 0, 0);
    padding:10px;
    font-size: 16.5px;
    text-align: center;
    margin-right: auto;
    margin-top: -30px;
}
.text-box2 {
    font-size: 16.5;
}
.inline-image {
    max-width: 100%;
    max-height: 100%;
    width: 30%;
    height: 60%;
    display: inline-flex;
    margin: 0 0 10px 20px;
    align-items: center;
}
.image-container {
    text-align: center; 
}
h3 {
    font-size: 30px;
    color: #000000;
    padding-bottom: 0.5rem;
    font-family: "Verdana, Geneva, Tahoma, sans-serif";
    
    text-align: center;
}

.image-container p {
    margin-top: -20px; 
}
.image {
    max-width: 100%;
    max-height: 100%;
    width: 30%;
    height: 65%;
    display: inline-block;
    margin: 0 0 10px 20px;
    align-items: center;
}

@media only screen and (max-width: 900px) {
    .text-box {
        font-size: 15;
    }
    .text-box2 {
        font-size: 15;
    }
    .image-container {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px; 
        text-align: center;
    }

    .inline-image,
    .image {
        max-width: 100%;
        max-height: 100%;
        width: 100%;
        height: 250px; 
        display: block; 
       
    }
}
@media only screen and (max-width: 600px) {
    .text-box2 {
        font-size: 16px;
    }
    .text-box {
        font-size: 16;
    }
    .image-container {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px; 
        text-align: center;
    }

    .inline-image,
    .image {
        align-items: center;
        max-width: 100%;
        max-height: 1200px;
        width: 100%; 
        height: 150px; 
        display: block; 
     
    }

}
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

table, th, td {
    border: 1px solid #2c80ce;
}

th, td {
    padding: 10px;
    text-align: center;
}

th {
    background-color: #2c80ce;
    color: white;
}
.floatbox {
    float: left;
    clear: left;
    width: 40%; 
    font-size: 17px;
    text-align: center;
}

.floatbox2 {
    float: right;
    clear: right;
    width: 40%; 
    font-size: 17px;
    text-align: center;
}

.floatbox3 {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    margin: 0; 
    text-align: center;
    font-size: 18px;
}
caption {
    font-size: 2em; 
    font-weight: bold;
    padding: 15px;
    background-color: #80D8FE;
    color: black;
    text-align: center;
}
@media only screen and (max-width: 900px) {
    .floatbox,
    .floatbox2,
    .floatbox3 {
        float: none;
        clear: both;
        width: 100%;
        text-align: center;
        font-size: 15px;
    }
    table {
        width: 100%;
        margin-top: 20px;
        background-color: #80D8FE;
    }

}
@media only screen and (max-width: 600px) {
 .floatbox,
    .floatbox2,
    .floatbox3 {
        float: none;
        clear: both;
        width: 100%;
        margin: 0px;
        text-align: center;
        font-size: 14px;
        
    }
    table {
        width: 100%;
        margin-top: 0;
        background-color: #80D8FE;
        padding: 5px;
    }
}
.list-box {
    text-align: left;
    font-size: 20px;  
}
.flexbox4 {
    text-align: center;
    font-size: 20px;  
    font-weight: bold;
}
.flexbox4 ul {
    list-style-type: disc;
    padding-left: 0px;
    text-align: left;
    font-weight: lighter;
}
.flexbox4 li {
    margin-bottom: 10px; 
}
.slideshow-container {
    position: relative;
    margin-top: 20px; /* Adjust the margin as needed */
}

.slide {
    display: none;
    width: 100%;
    height: 300px; /* Adjust the height as needed */
    object-fit: cover; /* Maintain aspect ratio and cover the entire container */
}

img {
    max-width: auto;
    max-height: 450px;
    width: auto;
    height: 450px;
    object-fit: fill;
}
.button-container {
    position: relative;
    width: 100%;
    top: 120px;
    z-index: 2;
}
#prevBtn,
#nextBtn {
    background-color: #000000;
    color: #fff;
    padding: 5px 10px;
    font-size: 16px;
    cursor: pointer;
    border: none;
    border-radius: 5px;
    z-index: 2; /* Set a higher z-index value */
    bottom: 10px; /* Adjust bottom positioning for both buttons */
}
#prevBtn {
    left: 10px; /* Adjust left positioning for bottom left */
    bottom: 10px; /* Adjust bottom positioning for bottom left */
}

#nextBtn {
    right: 10px; /* Adjust right positioning for bottom right */
    bottom: 10px; /* Adjust bottom positioning for bottom right */
    left: auto;
}

#prevBtn:hover,
#nextBtn:hover {
    background-color: #80d8fe;
}

@media only screen and (max-width: 900px) {
    .list-box {
        text-align: left;
        font-size: 17px;  
    }
    img {
        max-width: auto;
        max-height: 400px;
        width: auto;
        height: 400px;
        object-fit: fill;
    }
        .button-container {
            position: relative;
            width: 100%;
            top: 100px;
        }
        
        #prevBtn,
        #nextBtn {
            background-color: #000000;
            color: #fff;
            padding: 5px 10px;
            font-size: 16px;
            cursor: pointer;
            border: none;
            border-radius: 5px;
            z-index: 2; /* Set a higher z-index value */
            bottom: 10px; /* Adjust bottom positioning for both buttons */
        }
        
        #prevBtn {
            left: 10px; /* Adjust left positioning for bottom left */
            bottom: 10px; /* Adjust bottom positioning for bottom left */
        }
        
        #nextBtn {
            right: 10px; /* Adjust right positioning for bottom right */
            bottom: 10px; /* Adjust bottom positioning for bottom right */
            left: auto;
        }
        
        #prevBtn:hover,
        #nextBtn:hover {
            background-color: #80d8fe;
        }
        .flexbox5 {
            font-size: 16.5px;
           }
        }
        ul2 li1 {
         font-size: 20px; 
     }
    

    @media only screen and (max-width: 600px) {
       
        .list-box {
            text-align: left;
            font-size: 15px;  
        }
        img {
            max-width: auto;
            max-height: 400px;
            width: auto;
            height: 400px;
            object-fit: fill;
        }
            .button-container {
                position: relative;
                width: 100%;
                top: 100px;
            }
            
            #prevBtn,
            #nextBtn {
                background-color: #000000;
                color: #fff;
                padding: 5px 10px;
                font-size: 16px;
                cursor: pointer;
                border: none;
                border-radius: 5px;
                z-index: 2; /* Set a higher z-index value */
                bottom: 10px; /* Adjust bottom positioning for both buttons */
            }
            
            #prevBtn {
                left: 10px; /* Adjust left positioning for bottom left */
                bottom: 10px; /* Adjust bottom positioning for bottom left */
            }
            
            #nextBtn {
                right: 10px; /* Adjust right positioning for bottom right */
                bottom: 10px; /* Adjust bottom positioning for bottom right */
                left: auto;
            }
            
            #prevBtn:hover,
            #nextBtn:hover {
                background-color: #80d8fe;
            }
            .flexbox5 {
                font-size: 14.5px;
               }
               ul2 li1 {
                font-size: 17px; 
            }
             
        }
    h4 {
        display: block;
        font-size: 2em;
        margin-block-start: 0.67em;
        margin-block-end: 0.67em;
        margin-inline-start: 0px;
        margin-inline-end: 0px;
        font-weight: bold;
    }
   
    

  


