/* width */
::-webkit-scrollbar {
    width: 5px;
  }
/* Handle */
::-webkit-scrollbar-thumb {
    background: rgb(32, 32, 32);
  }
  /* Track */
::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px grey;
    border-radius: 10px;
  }
body {
    width:100%;
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
}
main{
    margin-top: 100px;
}
header {
    background-color: #333;
    color: rgb(196, 196, 196);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    z-index: 10;
    top: 0;
}
.logo img {
    padding-top: 5%;
    margin-left:10%;
    width: 100px; /* Adjust the width as needed */
    height: auto;
}
nav ul {
    list-style-type: none;
    padding: 0;
}
nav ul li {
    display: inline;
    margin-right: 20px;
}

h2 {
    margin-top: 20px;
    font-size: 30px;
    color: rgba(0, 0, 0, 0.671);
}
h3 {
    font-size: 150%;
    margin-top: 0;
    color: rgba(63, 63, 63, 0.699);
}
h4{
    color: #525252;
    margin-top: 20px;
    font-size: large;
    font-weight: 550;
}
a{
    color: rgb(196, 196, 196);
}
p{
    font-size: small;
}

.section{
    width: 100%;
    height: auto;
    margin-bottom: 500px;
}

/** Copyright Alert*/
.copyright-alert {
    width: max-content;
    text-align: center;
    display: none; /* Initially hide the alert */
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(255, 255, 255, 0.8);
    color: #000000;
    padding: 10px 20px;
    border-style:solid;
    border-color: red;
    border-radius: 5px;
    z-index: 9999;
}
.copyright-alert p {
    margin: 0;
}
#okButton {
    margin-top: 20px;
    border: none;
    width: 50px;
    padding: 5px;
    background-color: #22222263;
    color: white;
    text-decoration: none;
    font-size: small;
    font-weight: 100;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    border-radius: 50px;
    transition: background-color 0.3s ease; /* Add smooth transition for button color */
}
#okButton:hover {
    background-color: #555; /* Adjust the hover color as needed */
}

/** Portfolio Page*/

.categories {
   
    width: 100%;
    height: auto;
    margin-bottom: 500px;
}

/*! Category Tile*/
.category-title {
    margin-top: 100px;
    display: flex;

}
.category-title h2 {
    padding-left: 10px;
    padding-right: 10px;
    min-width: fit-content;
    transform: translateY(-120%);
}
/*# Header Line - left Side*/
.left {
    width: 30%;
    height: 2px;
    background: linear-gradient(to left, black, transparent 90%); /* Adjust gradient for the left line */
}
.right {
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, black, transparent 90%); /* Adjust gradient for the right line */
}
/*# Header Line - Right Side*/
.left-r {
    width: 100%;
    height: 2px;
    background: linear-gradient(to left, black, transparent 90%); /* Adjust gradient for the left line */
}
.right-r {
    width: 35%;
    height: 2px;
    background: linear-gradient(to right, black, transparent 90%); /* Adjust gradient for the right line */
}

/*! Portfolio Content Containers/grids */
.flex {
    width: 100%;
    height: fit-content;
    display: flex;
    flex-direction: column;
}
.content-grid {
    margin-top: 10px;
    padding: 0;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: row;
    
}
.content-grid-vid {
    margin-top: 10px;
    padding: 0;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: row;
    
}

/** Video*/
.video-item {
    width: 33.35%;
}
.video-item::-webkit-media-controls {
    opacity: 0; /* Hide the default video controls */
    transition: opacity 0.3s; /* Add a smooth transition effect */
}
.video-item:hover::-webkit-media-controls {
    opacity: 1; /* Display the video controls on hover */
}
.video-item {
    position: relative;
}
.video-item::before {
    content: 'MMM';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}
.video-item::before svg {
    fill: #fff; /* Play button icon color */
    width: 50px; /* Adjust the size of the play button icon */
    height: 50px;
}
.video-item:hover::before {
    opacity: 1;
}

/** Images*/
.full-image, .full-image img{
    width: 100%;
    height: auto;
}
.full-image {
    width: 100%;
    height: auto;
}
.main-image, .main-image img {
    width: 100%;
    height: auto;
}
.content-grid img:hover{
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3); /* Add shadow on hover */ 
}

.secondary-images {
    width: 100%;
    height: auto;
    
}
.images-b {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: row;
}
.images-b img {
    width: 50%;
    height: auto;
}
.project-details {
    width: 100%;
    height: auto;
}

/*!Modal style = Image Viewer*/
/* Lightbox styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 999;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.863);
    text-align: center;
}
.lightbox img:hover {
    transform: scale(1); /* Increase size by 10% on hover */
    cursor: default;
}
.lightbox-content {
    padding-top: 100px;
    width: 100;
    height: auto;
    max-width: 80%;
    max-height: 80%;
    margin: auto;
    display: block;
}
.close {
    color: white;
    position: absolute;
    top: 10px;
    right: 25px;
    font-size: 35px;
    font-weight: bold;
}
.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}
/* Arrow styles */
.next,
.prev {
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    user-select: none;
}
.next {
    right: 10px;
}
.prev {
    left: 10px;
}
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

/**Buttons*/
.wrapper{
    width: 100%;
    text-align: left;
}
.wraptext {
    text-align: center;
    width: 50%;
    height: auto; 
}
.wraptext-in-dev {
    text-align: center;
    width: 100%;
    height: auto; 
}

.gallery-button {
    width: 300px;
    display: inline-block;
    padding: 5px;
    margin: 50px;
    background-color: #22222263;
    color: white;
    text-decoration: none;
    font-size: large;
    font-weight: 700;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    border-radius: 50px;
    transition: background-color 0.3s ease; /* Add smooth transition for button color */
}

.gallery-button:hover {
    background-color: #555; /* Adjust the hover color as needed */
}

.under-construction{
    margin-top: 200px;
    width: 90%;
    margin-left: 5%;
    text-align: center;
    font-size: large;
}
.categories p{
    width: 90%;
    margin-left: 5%;
    text-align: center;
    font-size: large;
}
/** Footer*/
footer {

    background-color: #333;
    color: rgb(196, 196, 196);
    text-align: center;
    padding: 0em;
    position: fixed;
    bottom: 0;
    width: 100%;
}

/* Media query for screens up to 1080px wide */
@media screen and (max-width: 1366px) {

    h2{
        margin-top: 19px;
        font-size: x-large;
    }
    h3{
        font-size: 120%;
    }
    .descriptive-text{
        text-align: left;
        line-height: 160%;
        font-size: 85%;
        width:75%;
    }
    .more-info p{
        font-size: medium;
    }

   

}

@media screen and (max-width: 500px){
    body{
        max-width: 100%;
    }
    main{
        margin-bottom: 50px;
    }
    header {
        width: 100%;
        height: 60px;
        background-color: #333;
        color: rgb(196, 196, 196);
        display: block;
        align-items: center;
        justify-content: space-between;
        position: fixed;
        z-index: 10;
        top: 0;
    }
    .logo{
        text-align: center;
    }
    .logo img{
        padding-top: 10px;
        margin: 0;
    }
    nav{
        padding: 0;
        margin: 0;
        width: 100%;
        text-align: center;
    }
    nav ul {
        margin: 0;
    }
    nav ul li a {
        margin: 0;
        padding: 0;
    }

    .wrapper{
        width: 100%;
        text-align: left;
    }
    .wraptext {
        margin-left: 0;
        text-align: center;
        width: 100%;
        height: auto; 
    }
    .wraptext a{
        margin: 0;
        margin-top: 20px;
        width: 80%;
    }

    /** Images&Video Layout*/
    .content-grid {
        margin-top: 10px;
        padding: 0;
        width: 100%;
        height: auto;
        display: flex;
        flex-direction: column;
        
    }
    .content-grid-vid {
        margin-top: 10px;
        padding: 0;
        width: 100%;
        height: auto;
        display: flex;
        flex-direction: column;
        
    }

    /** Video*/
    .video-item {
        width: 100%;
    }

    .under-construction{
        margin-top: 200px;
        width: 90%;
        margin-left: 5%;
        text-align: center;
        font-size: large;
    }
    .categories p{
        width: 90%;
        margin-left: 5%;
        text-align: center;
        font-size: large;
    }
    .wraptext-in-dev a {
        text-align: center;
        width: 30%;
        height: auto; 
    }


}