html,
body {
  width: 100%;
  margin: 0px;
  padding: 0px;
  overflow-x: hidden;
}

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

header {
  display: flex;
  align-items: left;
  background: #0f2283;
  justify-content: space-between;
  transition: top 0.6s;
  position: fixed;
  width: 100%;
  z-index: 1;
  top: -50px;
}

header ul,
li,
a {
  text-decoration: none;
  list-style-type: none;
  font-family: Montserrat, sans-serif;
  display: inline-block;
  padding: 5px;
  margin: 0;
}

header h1 {
  color: white;
  font-family: Montserrat, sans-serif;
  margin-top: 2px;
  margin-bottom: 2px;
  margin-right: 10px;
  margin-left: 10px;
  display: inline-block;
  font-weight: 600;
}

@media only screen and (max-width: 1024px) {
  header {
    display: flex;
  }
  header h1 {
    font-size: 1em;
    margin-top: 10px;
    margin-bottom: 10px;
    margin-right: 10px;
    margin-left: 10px;
  }
  header ul,
  li,
  a {
    text-decoration: none;
    list-style-type: none;
    font-family: Montserrat, sans-serif;
    display: inline-block;
    padding: 5px;
    margin: 0;
    font-size: 0.9em;
  }
}

@media only screen and (max-width: 375px) {
  header {
    display: none;
  }
}

/* header
li,
a {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  color: white;
  text-decoration: none;
} */

html {
  scroll-behavior: smooth;
}

.content1 {
  width: 100%;
  height: 100%;
  /* background-color: black; */
  background-image: url('./images/bg-1.png');
  background-color: blue;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  display: block;
  position: relative;
  display: flex;
  flex-direction: row;
}

.content2 {
  height: 100%;
  display: block;
  position: relative;
  background: #0f2283;
  background-image: url('./images/bg-2.png');
  background-position: center;
  background-repeat: no-repeat;
  /* background-attachment: fixed; */
  background-size: cover;
}

.content3 {
  height: 100%;
  display: block;
  position: relative;
  background: #0f2283;
}

.content4 {
  height: 100%;
  display: block;
  position: relative;
  background: #0f2283;
  background-position: center;
  background-image: url('./images/bg-1.png');
  background-repeat: no-repeat;

  background-size: cover;
}

.content5 {
  height: 50%;
  display: block;
  position: relative;
  background: #0f2283;
}

.open-cont {
  width: 75%;
  /* height: 100%; */
  margin-top: 0;
  margin-bottom: 0;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  justify-content: flex-start;
}

.name {
  width: 100%;
  margin-left: 2%;
  /* margin-right: auto; */
  padding: 5px;
}

.name h1 {
  font-size: 6em;
  /* 40px/16=2.5em */
  font-family: Montserrat, sans-serif;
  letter-spacing: 2px;
  color: white;
  margin-top: 16%;
  padding: 0;
}

.name h3 {
  font-size: 2em;
  font-family: Montserrat, sans-serif;
  margin-bottom: 125px;
  color: white;
}
.nav {
  width: 100%;
  /* margin-right: auto; */
  margin-left: 20%;
  position: relative;
  top: 10%;
  height: 60%;
  display: flex;
  flex-direction: column;
  padding: 5px;
}

.nav-box1 {
  /*  border-top: 2px solid rgba(49, 58, 89, 1); */
  width: 100%;
  height: 30px;
  -webkit-transition: background 1s;
  transition: background 1s;
  padding-top: 5px;
  margin: 25px;
}

.nav-top {
  width: 35px;
  height: 4px;
  background: #50bdff;
  -webkit-transition: width 0.6s;
  transition: width 0.6s;
}

.nav-box1 h2 {
  font-size: 1.2em;
  color: white;
  text-align: left;
  font-family: Montserrat, sans-serif;
  position: relative;
  letter-spacing: 2px;
  margin: 2px;
  padding-top: 8px;
}

@media only screen and (max-width: 1024px) {
  .name h1 {
    font-size: 4em;
    margin-top: 20%;
  }
  .name h3 {
    font-size: 1.5em;
  }
  .nav-box1 h2 {
    font-size: 1em;
    margin-left: 0px;
  }
  .nav-top {
    height: 2px;
    width: 20px;
  }
}

@media only screen and (max-width: 768px) {
  .name h1 {
    font-size: 2.6em;
    margin-top: 28%;
  }
  .name h3 {
    font-size: 1.2em;
    margin-bottom: 75px;
  }
  .nav-box1 {
    margin-left: 0px;
    margin-bottom: 0px;
  }
  .nav-box1 h2 {
    font-size: 1em;
    padding-top: 0px;
  }
  .nav-top {
    height: 2px;
    width: 12px;
  }
}

@media only screen and (max-width: 375px) {
  .open-cont {
    flex-direction: column;
    justify-content: space-evenly;
  }
  .nav {
    margin-top: 0px;
    position: relative;
    top: 1px;
  }

  .name h1 {
    font-size: 3.2em;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0px;
    margin-top: 20px;
  }
  .name h3 {
    font-size: 1.2em;
    margin-top: 10px;
    margin-bottom: 10px;
  }
  .nav {
    margin-left: 8px;
    margin-bottom: 8px;
  }
  .nav-box1 {
    margin-top: 0px;
    margin-left: 0px;
    margin-bottom: 0px;
  }
  .nav-box1 h2 {
    font-size: 0.1em;
    padding-top: 0px;
  }
  .nav-top {
    height: 2px;
    width: 12px;
  }
}

/* @media only screen and (max-width: 850px) {
  .name h1 {
    font-size: 2em;
    margin-top: 15%;
  }
  .name h3 {
    font-size: 0.5em;
  }
} */

/* .nav2 {
  width: 300px;
  height: 100%;
  position: relative;
  top: 10%;
  margin: 0;
  display: flex;
  flex-direction: column;
} */

.nav a:link,
a:visited {
  text-decoration: none;
  color: white;
  padding: 0;
}

.name2 {
  margin: auto;
  position: relative;
  top: 5%;
  padding: 10px;
  text-align: left;
}

.section-header {
  width: 100%;
}

.section-header h1 {
  font-size: 1.6em;
  /* 40px/16=2.5em */
  letter-spacing: 3px;
  margin-bottom: 2%;
  /* margin-left: auto;
  margin-right: auto; */
  margin-top: 2%;
  padding: 0px;
  color: white;
  font-family: Montserrat, sans-serif;
  text-align: left;
}

.section-header h3 {
  font-size: 0.9em;
  /* 40px/16=2.5em */
  letter-spacing: 1px;
  margin-bottom: 2%;
  margin-left: auto;
  margin-right: auto;
  padding: 0px;
  color: white;
  font-family: Montserrat, sans-serif;
  text-align: left;
}

.name2 h3 {
  font-size: 1em;
  margin-top: 0;
  color: white;
  font-family: Montserrat, sans-serif;
  padding-top: 10px;
}

.name2 p {
  padding-bottom: 10px;
  width: 100%;
  color: white;
}

.name3 {
  margin: auto;
  position: relative;
  top: 5%;
  padding: 10px;
  text-align: center;
}

.name4 {
  margin: auto;
  position: relative;
  top: 5%;
  padding: 10px;
  text-align: center;
}

.name5 {
  margin: auto;
  position: relative;
  top: 5%;
  padding: 10px;
  text-align: center;
}
/* .name3 h1 {
    font-size: 1.6em;
  40px/16=2.5em
  letter-spacing: 3px;
  margin-bottom: 5%;
  margin-left: 15%;
  margin-top: 2%;
  padding: 0px;
  color: white;
  font-family: Arial, Helvetica, sans-serif;
  text-align: left
} */

/* .name4 h1 {
  font-size: 4em;
  40px/16=2.5em
  letter-spacing: 3px;
  margin-bottom: 0;
  color: white;
  font-family: Arial, Helvetica, sans-serif;
} */

.name-box {
  background: #0f2283;
  width: 100%;
  height: 100%;
  padding-top: 1px;
  padding-bottom: 1px;
}

.name-box-2 p {
  color: white;
  font-family: Montserrat, sans-serif;
}

.name-box p {
  margin-left: auto;
  margin-right: auto;
  padding: 30px;
  width: 70%;
  color: white;
  font-size: 1.2em;
  font-family: Montserrat, sans-serif;
  font-weight: 600;
  line-height: 1.6;
}

.stack-hidden {
  height: 100%;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s linear 300ms, opacity 300ms;
  margin-left: auto;
  margin-right: auto;
}

.stack-visible {
  height: 100%;
  visibility: visible;
  opacity: 1;
  transition: visibility 0s linear 0s, opacity 300ms;
  margin-left: auto;
  margin-right: auto;
}

.stack-inner {
  display: flex;
  /* margin-left: 15%; */

  margin-left: 15%;
  /* margin-right: auto; */
  margin-top: 5%;
  margin-bottom: 10%;
  width: 80%;
  height: 100%;
  justify-content: space-between;
  flex-flow: row wrap;
  align-items: left;
  flex-direction: row;
}

.stack-inner-box {
  display: flex;
  flex-direction: column;
  align-items: left;
  height: 100%;
  width: 25%;
  margin-right: 0px;
  /* margin-left: auto;
  margin-right: auto;
  margin-top: 5%;
  margin-bottom: 5%; */
  margin-top: 5%;
  margin-bottom: 5%;
  padding: 0px;
  /*  text-align: left; */
}

.stack-inner-box img {
  height: 35%;
  width: 35%;
}

.stack-inner-box p {
  font-family: Montserrat, sans-serif;
  padding: 0;
}

@media only screen and (max-width: 1024px) {
  .stack-hidden {
    visibility: visible;
    opacity: 1;
  }
}

@media only screen and (max-width: 768px) {
  .stack-hidden {
    visibility: visible;
    opacity: 1;
  }
  .stack-inner-box h3 {
    display: none;
  }
}

@media only screen and (max-width: 375px) {
  .stack-hidden {
    visibility: visible;
    opacity: 1;
  }
  .stack-inner {
    align-items: center;
    /* flex-direction: row; */
  }
  .stack-inner-box {
    height: 70%;
    width: 40%;
  }
  .stack-inner-box img {
    height: 100%;
    width: 100%;
  }
  .stack-inner-box h3 {
    display: block;
  }
}

.exp-hidden {
  /*  border: 1px solid white; */
  width: 75%;
  height: 100%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 50px;
  margin-bottom: 100px;
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s linear 300ms, opacity 300ms;
}

.exp-visible {
  width: 75%;
  height: 100%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 50px;
  margin-bottom: 100px;
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  visibility: visible;
  opacity: 1;
  transition: visibility 0s linear 0s, opacity 300ms;
}

.exp-box-left {
  width: 49%;
  height: 100%;
  margin-top: 5px;
}

.exp-box-mid {
  width: 1px;

  background: white;
}

.exp-box-right {
  width: 49%;
  height: 100%;

  margin-top: 5px;
}

.exp-box-right h4 {
  font-size: 1.2em;
  font-family: Montserrat, sans-serif;
  color: white;
  text-align: left;
  padding-left: 30px;
  margin-top: 0;
}

.exp-box-right p {
  font-size: 1em;
  font-family: Montserrat, sans-serif;
  color: white;
  text-align: left;
  padding-left: 30px;
}

.exp-box-left h4 {
  font-size: 1.2em;
  font-family: Montserrat, sans-serif;
  color: white;
  text-align: right;
  padding-right: 30px;
  margin-top: 0;
}

.exp-box-left p {
  font-size: 1em;
  font-family: Montserrat, sans-serif;
  color: white;
  text-align: right;
  padding-right: 30px;
}

@media only screen and (max-width: 1024px) {
  .exp-hidden {
    visibility: visible;
    opacity: 1;
  }
}

@media only screen and (max-width: 768px) {
  .exp-hidden {
    visibility: visible;
    opacity: 1;
  }
  .exp-box-mid {
    display: none;
  }
}

@media only screen and (max-width: 768px) {
  .exp-hidden {
    visibility: visible;
    opacity: 1;
  }
  /* .section-header {
    width: 60%;
    display: flex;
    flex-direction: column;
  } */

  .exp-box-left {
    width: 100%;
  }
  .exp-box-right {
    width: 100%;
  }
  .exp-box-left h4 {
    font-size: 1.2em;
    text-align: left;
    padding-left: 0px;
  }
  .exp-box-left p {
    font-size: 1em;
    text-align: left;
    padding-left: 0px;
  }
  .exp-box-right h4 {
    font-size: 1.2em;
    text-align: left;
    padding-left: 0px;
  }
  .exp-box-right p {
    font-size: 1em;
    text-align: left;
    padding-left: 0px;
  }
  .exp-box-mid {
    display: none;
  }
  .section-header h3 {
    margin-top: 5px;
    margin-bottom: 25px;
    margin-left: 0px;
    margin-right: 0px;
  }
}

.portfolio-hidden {
  width: 75%;
  height: 100%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 5%;
  margin-bottom: 10%;

  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-flow: row wrap;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s linear 300ms, opacity 300ms;
}

.portfolio-visible {
  width: 75%;
  height: 100%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 5%;
  margin-bottom: 10%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-flow: row wrap;
  visibility: visible;
  opacity: 1;
  transition: visibility 0s linear 0s, opacity 300ms;
}

.portfolio-cont {
  /* border: 1px solid yellow; */
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-between;
  flex-flow: row wrap;
  align-items: left;
  flex-direction: row;
}

.portfolio-left {
  height: 100%;
  width: 50%;
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
}

.portfolio-right {
  height: 100%;
  width: 50%;
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
}

.portfolio-item-lg {
  height: 50%;
  width: 100%;
  /* height: 500px;
  width: 500px; */
  background: black;

  /*    border:2px solid #000;
    outline: 1px dashed #fff;
    outline-offset: -10px; */
  padding: 0;
  margin: 0;
}
.portfolio-item-sm {
  height: 25%;
  width: 50%;
  /* height: 250px;
  width: 250px; */
  background: black;

  padding: 0;
  margin: 0;
  /*    border:2px solid #000;
    outline: 1px dashed #fff;
    outline-offset: -10px; */
}

.portfolio-item-lg img {
  display: block;
  width: 100%;
  height: 100%;

  -webkit-transition: opacity 0.6s;
  transition: opacity 0.6s;
}

.portfolio-item-sm img {
  display: block;
  height: 100%;
  width: 100%;

  -webkit-transition: opacity 0.6s;
  transition: opacity 0.6s;
}

.portfolio-item-sm img:hover {
  opacity: 0.5;
}

.portfolio-item-lg img:hover {
  opacity: 0.5;
}

@media only screen and (max-width: 1024px) {
  .portfolio-hidden {
    visibility: visible;
    opacity: 1;
  }
}

@media only screen and (max-width: 768px) {
  .portfolio-hidden {
    visibility: visible;
    opacity: 1;
  }
  .portfolio-cont {
    flex-direction: column;
  }
  .portfolio-left {
    width: 100%;
  }
  .portfolio-right {
    width: 100%;
  }
}

@media only screen and (max-width: 375px) {
  .portfolio-hidden {
    visibility: visible;
    opacity: 1;
  }
}

.modal-hidden {
  /* 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.4);
  /* Black w/ opacity */
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s linear 300ms, opacity 300ms;
}

.modal-visible {
  /* 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.4);
  /* Black w/ opacity */
  visibility: visible;
  opacity: 1;
  transition: visibility 0s linear 0s, opacity 300ms;
}

/* Modal Content */
.modal-content {
  background-color: white;
  margin: auto;
  padding: 20px;
  width: 80%;
}

.modal-container {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 50px;
}

.modal-container ul {
  margin: 0px;
  padding: 0px;
}

.modal-container img {
  max-width: 400px;
  max-height: 400px;

  margin-left: auto;
  margin-right: auto;
  padding-top: 20px;
}

.modal-container a {
  margin: 0px;
  padding: 0px;
  text-decoration: none;
  color: #0f2283;
}

.modal-container li {
  display: block;
  font-family: Montserrat, sans-serif;
  color: black;
  padding: 0 0 5px 0;
}

.modal-container h1,
h2,
h3,
p {
  font-family: Montserrat, sans-serif;
  color: black;
}

.modal-container-left {
  width: 60%;
}

.modal-container-right {
  width: 60%;

  text-align: left;
}

@media only screen and (max-width: 1024px) {
  .modal-container {
    flex-direction: row;
    align-content: left;
  }
  .modal-container-left {
    display: none;
  }

  /* .modal-container-left img {
    width: 100%;
    height: 100%;
  } */
  .modal-container-right {
    width: 100%;
    height: 100%;
  }
}

@media only screen and (max-width: 768px) {
  .modal-container {
    flex-direction: row;
    align-content: left;
  }
  .modal-container-left {
    display: none;
  }

  /* .modal-container-left img {
    width: 100%;
    height: 100%;
  } */
  .modal-container-right {
    width: 100%;
    height: 100%;
  }
}

@media only screen and (max-width: 375px) {
  .modal-content {
    height: 500px;
    overflow: scroll;
  }
  .modal-visible {
    padding-top: 25px;
  }
  .modal-container {
    flex-direction: column;
    align-content: left;
  }
  .modal-container-left {
    display: none;
  }
  .modal-container-right {
    width: 100%;
    height: 100%;
  }
}

/* The Close Button */
.close {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

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

/* .overlay {
  position: relative;
  top: 10%;
  height: 100%;
  width: 100%;
  opacity: 1;
  transition: 0.5s ease;
 
  background-color: rgba(49, 58, 89, 1);

} */

/* .portfolio-item-lg:hover .overlay {
 
  opacity: 1;
} */

/* .portfolio-item-sm:hover .overlay {

  opacity: 1;
} */

/* .text {
  color: white;
  font-family: Montserrat, sans-serif;
  font-size: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
} */

.contact-hidden {
  width: 75%;
  /* height: 600px; */
  margin-left: auto;
  margin-right: auto;
  margin-top: 50px;
  margin-bottom: 50px;
  display: flex;
  flex-flow: row wrap;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s linear 300ms, opacity 300ms;
}

.contact-visible {
  width: 75%;
  /* height: 600px; */
  margin-left: auto;
  margin-right: auto;
  margin-top: 50px;
  margin-bottom: 100px;
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  visibility: visible;
  opacity: 1;
  transition: visibility 0s linear 0s, opacity 300ms;
}

.contact-cont {
  width: 100%;
  height: 40%;
  display: flex;
  justify-content: space-between;
}

.contact-cont h3 {
  color: white;
  text-align: center;
}

.contact-box {
  width: 250px;
  height: 250px;
  margin: 5%;
}

.contact-cont img {
  width: 75px;
  height: 75px;
}

@media only screen and (max-width: 768px) {
  .contact-cont {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .contact-box {
    width: 100%;
    height: 75px;
    margin: 20%;
  }
}

@media only screen and (max-width: 375px) {
  .contact-cont {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .contact-box {
    width: 100%;
    height: 75px;
    margin: 20%;
  }
}

.content-6 {
  height: 100%;
  width: 100%;
  display: block;
  background: #1433cf;
}

.name-box-2 {
  background: #1433cf;
  width: 100%;
  height: 25%;
  padding: 2%;
}

.name-box-2 p {
  color: white;
  font-family: Montserrat, sans-serif;
  margin-left: auto;
  margin-right: auto;
}
