/*External CSS*/
p{
    font-size: 20px;
    color: white;
    font-family: Montserrat, arial, sans-serif;
}

.review-list li{
    font-size: 20px;
    color: white;
    font-family: Montserrat, arial, sans-serif;
}

.itch{
    width: 30%;
    background-color: #32323c;
    border: 1px solid white;
    border-radius: 25px;
    color: white;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center; 
    transition: background-color 1s ease, color 1s ease;
}

.itch:hover{
    background-color:#d3d3d3;
    color: #28282c;
}

.itch:hover a{
    color: #28282c;
}

.itch a{
    color: white;
    padding: 5px;
    font-family: "Montserrat", arial, sans-serif;
    font-size: 5vh;
    transition: color 1s ease;
}

.itch a:visited{
    color: #2b6289;
}

img.top{
    width: 98vw;
    height: 50%;
}

section img{
    width: 100%;
    padding: 5px 0 5px 0;
}

p.firstP{
    font-size: 40px;
    color: coral;
}

h1{
    font-size: 2.5rem;
    font-family: "Montserrat", arial, sans-serif;
    color: #e6e6e6;
    margin-bottom: 10px;
}

h2{
    font-size: 1.5rem;
    font-family: "Montserrat", arial, sans-serif;
    color: #e6e6e6;
}



.more{
    border: 1px solid white;
    background-color: #32323c;
    color: #e6e6e6;
    border-radius: 5px;
}

body{
    background-color: #32323c;
    width: 100%;
}

.section_practice{
    border-radius: 10px;
    width: 100%;
    background-color: rgba(255, 255, 255,0.1);
    padding:0;
    margin: 50px auto;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.section_practice h2{
    font-family: "Montserrat", arial, sans-serif;
    font-size: 24px;
    color: #e6e6e6;
    margin-bottom: 5px;
    margin-left: 5px;
    border-bottom: 2px solid white;
    padding-bottom: 5px;
    /*Shortens the border to match text length or box length*/
    display: inline-block;
}

.section_practice p{
    font-family: "Montserrat", arial, sans-serif;
    font-size: 18px;
    color: #e6e6e6;
    line-height: 1.6;
    margin-left: 5px;
    text-align: left;
}

/*
#banner_image{
    background-image: url("Images/banner.jpg");
    width: 100%;
    height: 500px;
    border: 5px white outset; padding: 10px;
}*/

/*All links using the a tag*/
a:link{
    text-decoration: none;
}

nav li{
    display: inline;
    padding: 5px;

}

nav ul{
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

nav{
    font-size: 20px;
    text-decoration: none;
    color: white;
    font-family: "Montserrat", arial, sans-serif;
    position: sticky;
    top: 0;
    left:0;
    width: 100vw;
    padding: 10px 0 10px 0;
    z-index: 1000;
    background-color: #32323c;
}

nav a{
    color: white;
    font-family: "Montserrat", arial, sans-serif;
    text-decoration: none;
    transition: color 0.3s ease, border-bottom 0.3s;
    padding-bottom: 5px;
    position: relative;
}

nav a:hover{
    color: grey;
    border-bottom: 2px solid white;
}

.highlight{
    color: rgb(21, 255, 0);
}

blockquote{
    color: #e6e6e6;
    font-family: "Montserrat", arial, sans-serif;
}

article{
    
    justify-content: center;
    align-items: center;
    margin: 0 auto;
   
}

aside{

border: 1px solid white;
margin-top: 5%;

color: white;
font-family: "Montserrat", arial, sans-serif;
border-radius: 5px;
}

aside p{
    font-size: 1em;
}

.blog-post{
    width: 100%;
    margin: 0 auto;
    display: flex;
}

.blog-post{
    display: grid;
    grid-template-columns: 2fr 1fr;
    width: 98vw;
    margin: 20px auto;
    gap: 20px;
}


/*Header styling*/
.heading-container{
display: flex;
flex-direction: column;
justify-content: center;
height: 100vh;
width: 100%;
text-align: center;
padding: 0;
padding-top: 60;
background-image: url("../Images/homebg1.jpg");
background-size: cover;
background-position: center center;
background-repeat: no-repeat;
position: relative;
}

.heading-container::before{
    content: "";
    position: absolute;
    top:0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 0;
}

.heading-text, .heading-button{
    position: relative;
    z-index: 1;
}

.heading-button button{
    text-transform: uppercase;
    position: relative;
    border: none;
    font-size: 18px;
    transform: 0.2s;
    background-color: 0.2S;
    outline: none;
    border-radius: 3px;
    margin: 0 10px;
    padding: 23px 33px;
    border: 3px solid transparent;
}

.heading-button button:active{
    transform: translate(3px);
}

.heading-button button::after, .heading-button button::after{
    border-radius: 3px;
}

.shrink-border{
    background-color: transparent;
    color: #d3d3d3;
}

.shrink-border:hover{
    background-color: transparent;
    box-shadow: none;
    color: #e6e6e6;
}

.shrink-border::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 3px solid #959595;
    transition: opacity 0.3s, border 0.3s;
}

.shrink-border:hover::before{
    opacity: 0;
}

.shrink-border::after{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
    border: 3px solid #e6e6e6;
    opacity: 0;
    z-index: 1;
    transform: scaleX(1.1) scaleY(1.3);
    transition: transform 0.3s, opacity 0.3s;
}

.shrink-border:hover::after{
    opacity: 1;
    transform: scaleX(1) scaleY(1);
}

/*END Header styling*/

/*Footer styling*/
footer{
    color: white;
    text-align: center;
    font-size: 15px;
    background-color: #28282c;
    justify-content: center;
    padding-top: 5px;
    width: 100%;
}

footer li{
    display: inline;
    padding: 5px;
}

.footer-nav{
    list-style: none;
    padding: 0;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    text-align: center;
    width: 100%;
}

.footer-nav a{
    color: #e6e6e6;
    text-decoration: none;
    transform: color 0.3s;
}

.footer-nav a:hover{
    color: #2b6289;
    text-decoration: none;
    transform: color 0.3s;
}

.footer-nav ul{
    justify-content: center;
    text-align: center;
    padding: 0;
}

.footer-nav li{
    justify-content: center;
    text-align: center;
}

footer a{
    color: white;
    font-family: "Montserrat", arial, sans-serif;
    text-decoration: none;
    padding-bottom: 5px;
    position: relative;
}

.footer-copyright{
    color: white;
    font-family: "Montserrat", arial, sans-serif;
    justify-content: center;
    text-align: center;
    margin-top:10px;
}

.footer-outside-links{
    padding-bottom:10px;
}

.footer-outside-links a{
    font-size: 20px;
}

.footer-outside-links a:hover{
    color: #2b6289;
}

.footer-copyright p{
    font-size: 15px;
}

.footer-outside-links ul{
    padding: 0;
}
    
/*END Footer styling*/


/*Gallery*/

#img-gallery-container{
    justify-content: center;
    margin: 0 auto;
    margin-top: 50px;
}

#img-gallery-container h2{
    text-align: center;
}

#img-gallery{
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 75vw;
    margin: 20px auto;
}

.figure-hb{
    margin: 10px;
    padding: 0;
    position: relative;
}

.figure-hb img{
    width: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.figure-hb img:hover {
    transform: scale(1.1); /* Scales the image up by 20% */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Optional shadow effect */
    z-index: 1;
}

.figure-solo{
    margin: 10px;
    padding: 0;
    position: relative;
    font-family: "Montserrat", arial, sans-serif;
}

.figure-solo img{
    width: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.figure-solo img:hover {
    transform: scale(1.1); /* Scales the image up by 20% */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Optional shadow effect */
    z-index: 1;
}

#img-gallery-solo{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    width: 75vw;
    margin: 20px auto;
}

#img-gallery-solo img{
    padding: 0;
    position: relative;
    width: 100%;
    box-sizing: border-box;
    box-shadow: 0px 0px 3px #ccc;

    border: 3px solid #fff;
    background-color: black;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    height: 30vh;
    object-fit: cover;
}

#img-gallery img{
    padding: 0;
    position: relative;
    width: 100%;
    box-sizing: border-box;
    box-shadow: 0px 0px 3px #ccc;

    border: 3px solid #fff;
    background-color: black;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    height: 30vh;
    object-fit: cover;
}

.figure-blog{
    margin: 10px;
    padding: 0;
    position: relative;
}

.figure-blog img{
    width: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.figure-blog img:hover {
    transform: scale(1.1); /* Scales the image up by 20% */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Optional shadow effect */
    z-index: 1;
}

#img-gallery-blog{
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 75vw;
    margin: 20px auto;
}

#img-gallery-blog img{
    padding: 0;
    position: relative;
    width: 100%;
    box-sizing: border-box;
    box-shadow: 0px 0px 3px #ccc;

    border: 3px solid #fff;
    background-color: black;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    height: 30vh;
    object-fit: cover;
}

figcaption{
    background-color: white;
    width: 100%;
    text-align: center;
    color: black;
    z-index: -1;
    padding: 9px 0px 11px 0px;
    text-transform: uppercase;
    font-size: 15px;
    position: relative;
    bottom: 6px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    font-family: "Montserrat", arial, sans-serif;
}

@media screen and (max-width: 600px) 
{
    figcaption{
        font-size: 3vw;
    }   

    #img-gallery{
        grid-template-columns: 1fr;
        width: 90vw;
    }

    .blog-post{
        grid-template-columns:1fr;
    }

    #img-gallery-solo{
        grid-template-columns: 1fr;
        width: 90vw;
    }

    #img-gallery-blog{
        grid-template-columns: 1fr;
        width: 90vw;
    }
    .itch{
        width: 100%;
    }

    nav{
        width: 100%;
        font-size: 14px;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: left; 
    }
    .heading-container{
        padding:0;
    }
}

/*end gallery*/

/*Contact form*/
.contact-box h2{
    justify-content: center;
    text-align: center;
}

.contact{
    width: 50%;
    justify-content: center;
    text-align: center;
    border: 3px solid white;
    border-radius: 5px;
    margin: 0 auto;
    margin-bottom:20px;
}

.contact-box{
    padding: 10px;
    margin: auto;
}


.form-box{
text-align: left;
margin: 10px;
}

.form-box label{
    font-size: 20px;
    color: #e6e6e6;
}

.form-box input{
    color: #32323c;
}

.submit-button{
    width: 100px;
    height: 50px;
    border-radius: 5px;
    background-color:#2b6289;
    color: white !important;
}

/*End Contact Form*/

/*Table test*/
.tableTest{
    color: white;
    justify-content: center;
    text-align: center;
    margin-bottom: 20px;
}

.table-test2{
    border-collapse: collapse;
    width: 70%;
    justify-content: center;
    margin: 0 auto;
}

.table-test2 td{
    padding: 10px;
    border: 1px solid white;
}
.table-heading{
    font-size: 20px;
    font-weight: 800;
    font-family: "Montserrat", arial, sans-serif;
}

.table-test2 th{
    color: #57b3f4;
}
/*end table*/

/*Code Editor*/
.editor-container{
    width: 100%;
    height: 100vh;
    padding: 20px;
    margin-bottom: 20px;
    display: flex;
}

.left{
    flex-basis: 50%;
    padding: 10px;
}   

.right{
    flex-basis: 50%;
    padding: 10px;
}

.left label, .right label{
    color: white;
    display: flex;
    align-items: center;
    background: black;
    height: 20px;
    border: 2px solid deepskyblue;
    border-style: ridge;
}

.left label i, .right label i{
    margin-left: 10px;
    margin-right: 10px;
}

.left Textarea{
    width: 100%;
    height: 28%;
    background: #1f1f1f;
    color: white;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 2vh;
    font-family: "Montserrat", arial, sans-serif;
}

.right iframe{
    width: 100%;
    height: 95%;
    background: #fff;
    border: 0;
    outline: 0;
}
/*End Code editor*/

/*Side content styling*/
.reviews-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 1rem;
  }
  
  .review-item {
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  
  .review-name {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
  }
  
  .review-image {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 0.5rem;
  }
  
  .review-link {
    text-decoration: none;
    color: #007BFF;
    font-weight: bold;
    margin-top: 0.5rem;
  }
  
  .review-link:hover {
    text-decoration: underline;
    color: #0056b3;
  }
  /*Side content end*/

  /*Accordian styling*/

.accordion {
  max-width: 800px;
  margin: 2rem auto;
  font-family: inherit;
  background-color: #28282C;
  border: 1px solid #333;
  border-radius: 5px;
  overflow: hidden;
}

.accordion-item + .accordion-item {
  border-top: 1px solid #333;
}

.accordion-header {
  background-color: #2b2a2a;
  color: #fff;
  padding: 1rem 1.5rem;
  width: 100%;
  text-align: left;
  font-size: 1.1rem;
  cursor: pointer;
  border: none;
  outline: none;
  transition: background 0.3s;
}

.accordion-header:hover,
.accordion-item.active .accordion-header {
  background-color: #222;
}

.accordion-content {
  display: none;
  background-color: #28282C;
  color: #ccc;
  padding: 1rem 1.5rem;
  line-height: 1.6;
}

.accordion-item.active .accordion-content {
  display: block;
}

.accordion-content img{
    width: 80%;
    padding: 5px 0 5px 0;
    height: 300px;
}

#project-code-block{
    width: 90%;
    margin: 0 auto;
}

.solo-list li{
    font-size: 20px;
    color: white;
    font-family: Montserrat, arial, sans-serif;
}
  /*End Accordian styling*/

  .download-link{
        border: 1px solid white;
    border-radius: 10px;
    padding: 5px;
    width: 21px;
    color: white;
  }

  .responsive-video {
  width: 100%;  
  height: auto;   
}

@media (max-width: 768px) {
  .responsive-video {
    width: 100%;
    height: 250px;
  }
  .game{
    width: 100%;
  }
}

.game{
    width: 100%; 
}

.gallery-container {
      width: 80%;
      max-width: 800px;
      overflow: hidden;
      border-radius: 12px;
      box-shadow: 0 4px 20px rgba(0,0,0,0.5);
      position: relative;
      margin: 0 auto;
    }

    .gallery {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.gallery a {
  flex-shrink: 0;
  width: 100%;
  height: 100%; 
}

.gallery a img {
  width: 100%;
  height: 100%;           
  object-fit: cover;      
  display: block;
}

    /* Buttons */
    .btn {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      font-size: 2rem;
      color: white;
      background: rgba(0,0,0,0.5);
      border: none;
      cursor: pointer;
      padding: 0.5rem 1rem;
      border-radius: 6px;
    }

    .btn.left {
      left: 10px;
    }
    .btn.right {
      right: 10px;
    }