@font-face {
  font-family: montserrat;
  src: url(Montserrat-Thin.otf);
}

@font-face {
  font-family: questrial;
  src: url(Questrial-Regular.otf);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
	user-select: none;
}
#WIP_close{
    float:right;
    font-size:xx-large;
    font-family:questrial;
    font-weight:bolder;
    margin-right:15px;
    margin-top:6px;
}
#WIP_close:hover{
    cursor: pointer;
}
#WIP {
    width: 100%;
    height: 50px;
    padding-top: 15px;
    font-family: questrial;
    font-weight: bolder;
    text-align: center;
    background: repeating-linear-gradient(
  45deg,
  #f0f17f,
  #f0f17f 10px,
  #e0e177 10px,
  #e0e177 20px);
}

body {
    background-color: black;
}

a:visited {
    color: inherit;
    text-decoration: none;
}

a:active {
    color: black;
    text-decoration: none;
}
a:-webkit-any-link {
    color: inherit;
    cursor: pointer;
    text-decoration: none;
}

.content {
    width: 1024px;
    height: 100%;
    background-color: transparent;
    margin-left: auto;
    margin-right: auto;
}

.mg_header{
    width: 100%;
    /*height: 300px;*/
    height: 17vw;
    /*background-color: black;
    background-image: none;*/
    color: white;
    text-align: center;
    line-height: 17vw;
    font-size: 5vw;
    /*margin-bottom: 100px;*/
    font-family: montserrat;
    background-repeat: no-repeat;
    background-position-x: center;
    background-position-y: 50%;
    background-size: 10%;
    transition-duration: 0.5s;
}
.mg_header:hover {
    transition-duration: 0.5s;
    color: transparent;
    background-color: transparent;
    background-image: url("mglogo.png");
    
    
}

#buttons {
    width: 100%;
    height: 50px;
    background-color: transparent;
    color: black;
    text-align: center;
    /*border-top: solid white 1px;*/
    font-family: questrial;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 100px;
}
.button {
    float: left;
    width: 14.28%;
    height: 100%;
    background-color: transparent;
    color: white;
    font-size: medium;
    line-height: 50px;
    font-weight: normal;
    border-top: solid white 1px;
}
.button:hover {
    font-weight: bolder;
    cursor: pointer;
    background-color: white;
    color: black;
    /*text-decoration: underline;*/
}

.flex-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    background-color: transparent;
    height: 300px;
    text-align: center;
    line-height: 300px;
    font-size: xx-large;
    color: red;
}

.photo {
    /*float: left;*/
    background-color: transparent;
    width: 33%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    border-top: solid black 1px;
    border-bottom: solid black 1px;
    border-left: solid black 1px;
    border-right: solid black 1px;
}

.photo:last-child {
	background-color: black;
}
.photo:last-child:hover {
	cursor: auto;
	opacity: 1;
	
}

.photo:hover {
    opacity: 0.8;
    cursor: pointer;
}

#gallery_automotive{
    display: flex;
}
#gallery_nature{
    display: none;
}



#modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.97);
    display: none;
    z-index: 9999;
}

#modalimg {
    
    width: 75%;
    height: 75%;
    margin: auto;
    margin-top: 7%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: transparent;
    
    
}

#info{
    width: 35px;
    font-family: questrial;
    font-weight: bolder;
    font-size: xx-large;
    color: white;
    text-align: left;
    vertical-align: bottom;
    background-color: transparent;
}
#info:hover{
    cursor: pointer;
}

#info_text{
    display: none;
    margin-top: 50%;
    font-family: questrial;
    font-size: xx-large;
    color: white;
}

#close {
    z-index: 10000;
    position: fixed;
    top: 0;
    right: 0;
    font-size: xx-large;
    text-align: right;
    color: white;
    cursor: pointer;
    font-weight: bold;
}

#footer {
    /*background-color: green;*/
    /*position: inherit;*/
    /*bottom: 0;*/
    text-align: center;
    width: 100%;
    /*height: 50px;*/
    color: whitesmoke;
    font-size: small;
	font-weight: bold;
    font-family: montserrat;
    
}

/* width */
::-webkit-scrollbar {
  width: 5px;
}


/* Track */
::-webkit-scrollbar-track {
  background: #000000;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #ffffff;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #555;
}

@media only screen and (max-width: 1024px) {
  .content {
    width: 100%;
  }
  
  .photo {
      height: 29vw;
  }
}