* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: linear-gradient(100deg, rgba(0, 38, 38, .8),  rgba(38, 38, 38, .3), transparent), url(image01.png) center no-repeat;
    background-size: cover;
    display: flex;
}

.menu-wrapper {
    width: 50%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.menu {
    border-radius: 5px;
    background: rgba(0, 38, 38, .7); 
    height: 500px;
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

ul {
    height: 350px;
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    
}

.home li {
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid #fff;
    font-family: 'Berkshire Swash', Helvetica, sans-serif;
    font-size: 25px;
    color: #fff;
}

li {
    list-style: none;
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid #fff;
    font-family: 'Berkshire Swash', Helvetica, sans-serif;
    font-size: 25px;
    color: #fff;
    cursor: pointer;
}

li:hover {
    color: #6e7f81;
}

.home li:hover {
    color: #fff;
    cursor: default;
}

.content-wrapper {
    width: 50%;
    margin-top: 20%;
}

h1 {
  font-family: 'Berkshire Swash', Helvetica, sans-serif;
  font-size: 90px;
  color: #fff;
  line-height: 75px;
  letter-spacing: 1px;
}

h3 {
    font-size: 25px;
    margin: 10px;
    color: white;
    font-family: 'Ubuntu', sans-serif;
}

.content-wrapper p {
    color: white;
    margin: 10px;
    padding: 14px;
    line-height: 1.5em;
    width: 50%;
    height: 100%;
    font-family: Arial, Helvetica, sans-serif;
    border-radius: 5px;
}

/* GALLERY PAGE */

.gallery {
    width: 70%;
    height: 85vh;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Berkshire Swash', Helvetica, sans-serif;
    font-size: 90px;
    color: #fff;
    line-height: 75px;
    letter-spacing: 1px;
    background: rgba(0, 38, 38, .7);
    border-radius: 10px;
    overflow: scroll;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s;
}
 
.header {
    position: relative;
    width: 50%;
}

.header h2 {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-family: 'Berkshire Swash', Helvetica, sans-serif;
    font-size: 60px;
    letter-spacing: 1px;
    line-height: 100%;
    border-bottom: 2px solid #fff;
    margin-top: 15px;
} 

.ampersand {
    position: absolute;
    margin-top: 15px;
    left: 35%;
    color: white;
    font-family: 'Berkshire Swash', Helvetica, sans-serif;
    font-size: 120px;
    letter-spacing: 1px;
    opacity: 50%;
    transform: rotate(15deg);
}

.images {
    display: flex;
    flex-wrap: wrap;
    position: absolute;
    top: 160px;
    width: 70vw;
}

.img-preview {
    height: 200px;
    width: 200px;
    border: 3px solid rgba(0, 38, 38, 1);
    border-radius: 3px;
    margin: 20px;
    background: rgba(0, 38, 38, 1);
    cursor: pointer;
}

#image01, #image02, #image03,
#image04, #image05, #image06,
#image07, #image08, #image09,
#image10, #image11 {
    border-radius: 5px;
    height: 200px;
    width: 200px;
    border: 3px solid rgba(0, 38, 38, 1);
    margin: 20px;
    background: rgba(0, 38, 38, 1);
    cursor: pointer;
    transition: 0.3s;
  }
  
  #image01:hover, #image02:hover, #image03:hover,
  #image04:hover, #image05:hover, #image06:hover,
  #image07:hover, #image08:hover, #image09:hover,
  #image10:hover, #image11:hover {opacity: 0.7;}

.xButton {
    position: absolute;
    top: 5%;
    right: 3%; 
    font-size: 40px;
    font-weight: bold;
    color: #eee;
    cursor: pointer;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
}

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

/* GALLERY CONTENT */

  /* The Modal (background) */
  .modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
  }
  
  /* Modal Content (Image) */
  .modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
  }
  
  /* Caption of Modal Image (Image Text) - Same Width as the Image */
  #caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    font-size: 24px;
    padding: 10px 0;
    height: 150px;
  }
  
  /* Add Animation - Zoom in the Modal */
  .modal-content, #caption {
    animation-name: zoom;
    animation-duration: 0.6s;
  }
  
  @keyframes zoom {
    from {transform:scale(0)}
    to {transform:scale(1)}
  }



/* UX AND UI */

.uxui-content {
    width: 70%;
    height: 85vh;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    background: rgba(0, 38, 38, .7);
    border-radius: 10px;
    overflow: scroll;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s;
}

.title-wrapper {
    border-bottom: 2px solid #fff;
    width: 230px;
    height: 75px;
    position: absolute;
    top: 0;
    left: 5%;
    display: flex;
    justify-content: space-between;
}

.title-wrapper h2 {
    color: white;
    font-family: 'Berkshire Swash', Helvetica, sans-serif;
    font-size: 60px;
    letter-spacing: 1px;
    line-height: 100%;
    margin-top: 15px;
}

.side-text {
    width: 50%;
    height:85%;
    margin-top: 125px;
    padding: 15px;
}

.side-text img {
    width: 450px;
    height: auto;
}

.side-text p {
    width: 95%;
    height: 100%;
    font-family: Arial, Helvetica, sans-serif;
    color: white;
}

/* CONTACT PAGE */

.contact-wrapper {
    width: 50%;
    position: absolute;
    left: 45%;
    top: 10%;
    color: #fff;
    line-height: 75px;
    letter-spacing: 1px;
    background: rgba(0, 38, 38, .7);
    border-radius: 10px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s;
}

.contact-wrapper p {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 23px;
    text-align: center;
}

/* ABOUT PAGE */

.about-wrapper{
    width: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    line-height: 75px;
    letter-spacing: 1px;
    background: rgba(0, 38, 38, .7);
    border-radius: 10px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s; 
}

.about-text p {
    width: 95%;
    height: 100%;
    padding: 15px;
    margin-top: 25px;
    line-height: normal;
    font-family: Arial, Helvetica, sans-serif;
    color: white;
}

/* WEBDEV PAGE */

.webdev-wrapper {
    width: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    line-height: 75px;
    letter-spacing: 3px;
    background: rgba(0, 38, 38, .7);
    border-radius: 10px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s;
}

.webdev-wrapper h3 {
    font-family: 'Berkshire Swash', Helvetica, sans-serif;
    font-size: 50px;
    text-align: center;
}

.webdev-wrapper p {
    font-family: 'Ubuntu', sans-serif;
    font-size: 15px;
    text-align: center;
}

footer {
    position: absolute;
    bottom: 0;
    left: 0;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-left: 15px;
    opacity: .5;
}


/* RESPONSIVE MEDIA QUERIES */

@media only screen and (max-width: 850px) {
    .menu {
        width: 55%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

}

@media only screen and (max-width: 750px) {
    h1 {
        font-size: 75px;
    }

    li {
        font-size: 20px;
    }

}

@media only screen and (max-width: 650px) {
    h1 {
        font-size: 65px;
        line-height: 50px;
    }

    .menu {
        width: 55%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    li {
        font-size: 20px;
    }

}

@media only screen and (max-width: 500px) {
    body {
        background: linear-gradient(rgba(0, 38, 38, .8),  rgba(38, 38, 38, .3)), url(image01.png) center no-repeat;
        background-size: cover;
        display: flex;
        flex-direction: column-reverse;
        align-items: center;
    }
    
    .menu {
        height: 450px;
        width: 100%;
        position: relative;
    }
    
    
    li {
        font-size: 20px;
    }
    
    .content-wrapper {
        width: 50%;
        margin-top: 10%;
       
    }
    
    h1 {
      font-size: 60px;
      line-height: 50px;
    }
    
    h3 {
        font-size: 20px;
        margin: 10px;
    }

    footer {
        position: relative;
        bottom: 0;
        left: 0;
        font-size: 12px;
    }

}


/* GALLERY CONTENT */
 @media only screen and (max-width: 700px){
    .modal-content {
      width: 100%;
    }
  }