
body {
    background-color: rgb(34, 34, 34); /* Using a color name */
    margin-left: 5%;
    margin-right: 5%;
    margin-bottom: 20px;
}

/* #region Home page */

/* Style header with padding and gray background */
.topnav {
    overflow: hidden;
    padding: 50px 10px;
    /* background-color: #333; */
    width: 100%;
}

/* Name */
.topnav n{
    float: left;
    color: rgb(192, 191, 187);
    font-size: 100px;
    text-align: center;
    padding: 20px;
    padding-bottom: 60px;
    Line-height: 25px;
    border-radius: 4px;
    white-space: nowrap; 
}

.topnav .navItems {
    float: right;
}

/* Header Links */
.topnav a{
    display: inline-block;
    color: rgb(192, 191, 187);
    text-align: center;
    padding: 20px;
    text-decoration: none;
    font-size: 50px;
    Line-height: 25px;
    border-radius: 4px;
    transition: 0.5s;
}



/* Mouse hover */
.topnav a:hover {
    color: white;
}

/* Active page */
.topnav a.active {
    text-decoration: underline;
}

.topnav .icon {
    display: none;
}

@media screen and (max-width: 950px){
    .topnav n {
        font-size: 9vw;
        white-space: normal;
        text-align: left;
        /* line-height: normal; */
        }
}
@media screen and (max-width: 600px){
    .topnav n {
        max-width: 100px;
        line-height: normal;
        font-size: 35px;
        justify-content: center;
        }
    .topnav.responsive a:not(a.icon){
        font-size: 30px;
    }
    .topnav.responsive .navItems {
        padding-top: 10px;
    }
}

/* Change menu to hamburger icon */
@media screen and (max-width: 1500px){
    .topnav a {display:none;}
    .topnav a.icon {
        display: inline-block;
        float: right;
        position: relative;
    }
}

@media screen and (max-width: 1500px) {
    .topnav.responsive {position: relative;}
    .topnav.responsive a.icon {
   /* optional icon styling */
    }
    .topnav.responsive .navItems {
        padding-top: 150px;
         float: none;
         
    }
    .topnav.responsive a {
        display:block;
        text-align: left;
    }

}

div.gallery {
    /* Opacity transition */
    transition: 0.3s;
}

div.gallery:hover {
    opacity: 0.7;
    cursor: pointer;
    
}

div.gallery img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

div.description {
    padding: 15px;
    text-align: center;
    font-size: 40px;
    color: rgb(192, 191, 187);
}


* {
    box-sizing: border-box;
}

/* Image sizing */
.imgresponsive {
    padding: 5% 5%;
    float: left;
    width: 49.99999%;
}

/* for gallery images */
@media only screen and (max-width: 700px) {
  .imgresponsive {
    width: 49.99999%;
    margin: 6px 0;
  }
}

/* for gallery images */
@media only screen and (max-width: 700px) {
    .imgresponsive {
        width: 100%;
    }
}

/* #endregion */

/* #region responsive sub gallery */
.subGalleryNav a:hover{
    background-color: #ddd;
    color: black;
}

.subGalleryNav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
    width: 100%;
    border-bottom: 3px solid #ccc;
}

.subGalleryNav a{
    text-decoration: none;
    padding: 8px 16px;
    background-color:rgb(192, 191, 187);
    color: black;
    border-radius: 50%;
    transition: 0.3s;
    max-width: 40px;
    max-height: 40px;
}

h1 {
    color:rgb(192, 191, 187);
    font-size: 60px;
    margin-right: 40px;
}

@media screen and (max-width: 500px){
    h1 { font-size: 30px;}
}

.row {
    display: flex;
    flex-wrap: wrap;
    padding:0 4px;
}

.column {
    flex: 25%;
    max-width: 25%;
    padding: 0 4px;
}

.column img {
    margin-top: 8px;
    vertical-align: middle;
    width: 100%;
    border-radius: 3px;
    transition: 0.2s;

    background: #eee;
    background: linear-gradient(110deg, #ececec 8%, #f5f5f5 18%, #ececec 33%);
    background-size: 200% 100%;
    animation: shine 1.5s linear infinte;
}

@keyframes shine {
    to {
        background-position-x: -200%;
    }
}



.column img:hover {opacity: 0.7; cursor: pointer;}

/* Modal Background (advanced image gallery) */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal content */
.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 900px;
}

/* Caption of Modal Image */
#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}

/* Add Animation */
.modal-content, #caption {  
  -webkit-animation-name: zoom;
  -webkit-animation-duration: 0.6s;
  animation-name: zoom;
  animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
  from {transform:scale(0)} 
  to {transform:scale(1)}
}

@keyframes zoom {
  from {transform:scale(0.1)} 
  to {transform:scale(1)}
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.2s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

/* Clear Floats */
.clearfix:after {
  content: "";
  display: table;
  clear: both;
}

/* #endregion */

/* #region auto populate gallery */

.row {
    display: flex;
    gap: 16px;
}

.column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.column img {
    width: 100%;
    height: auto;
    border-radius: 6px;
}

/* #endregion */

.aboutSection {
    display: flex;
    align-items: center;

}

.aboutSection img {
    flex: 1;
    height: 100%;
    width: 100%;
    padding-top: 50px;
}
.aboutSection p {
    flex: 1;
    color:rgb(192, 191, 187);
    margin-right: 10%;
    padding-top: 15px;
    font-size: 30px;
    text-align: center;
}

p{
    flex: 1;
    color:rgb(192, 191, 187);
    padding-top: 15px;
    font-size: 30px;
    text-align: center;
}

@media screen and (max-width: 1200px) {
    .aboutSection {
        flex-direction: column;
    }
    .aboutSection p {margin-right: 0px;}
    .aboutSection img{padding: 0 75px;}
}
@media screen and (max-width: 500px) {
 p {font-size: 15px;}
 .aboutSection p {font-size: 15px;}
}

@media screen and (max-width: 700px) {
    .column {
        flex: 100%;
        max-width: 100%;
    }
}

