/*For the whole website*/
html, body#body, #page {
  width: 100%;
  min-height: 100%;
  margin: 0;
  padding: 0;
}

body#body {
  color: #0d0d0d;
  width: 100%;
  margin: auto;
  background: #fff;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Lobster', cursive;
}

h1 {
  font-size: 30px;
  font-weight: 700;
  color: #0099e1;
  letter-spacing: 1px;
  margin-bottom: 18px;
}

h2 {
  font-size: 25px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

p {
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 1px;
  color: inherit;
  margin-bottom: 20px;
}

ul {
  list-style: none;
}

#header {
  margin-bottom: 40px;
}

#header #headerimage {
  background-image: url(images/Me/SAM_0757.JPG);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 375px;
  width: 100%;
  box-shadow: 0px 2px 10px 2px rgb(0 0 0 / 75%);
}

#headerimage h1 {
  font-size: 40px;
  text-shadow: 1px 1px 5px #000;
  top: 65%;
  transition: translate(0%, -50%);
  position: absolute;
}

#headerimage .container, #headerimage .row, #headerimage .col-md-12 {
  height: 100%;
  position: relative;
}

#headerimage .row {
  padding: 15px 0;
}

.row {
  padding: 20px 0;
}

#main {
  width: 80%;
  margin: auto auto;
}

#footer {
  text-align: center;
  background-color: #0099e1;
  padding: 15px;
}

#footer a {
  color: #fff;
}
/*Menu properties*/
#menu {
  background-color: rgba(0, 153, 255, 0.9);
  overflow: hidden;
  max-height: 125px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  border-bottom: 1.5px solid #0d0d0d;
  z-index: 2;
}

@media only screen and (max-width: 768px) {
  #menu {
    max-height: 100%;
    position: absolute;
  }
}

#menu li, #menu a li {
  font-size: 18px;
  cursor: pointer;
  color: #0d0d0d;
  margin: 2.5px;
  padding: 4px 45px;
  text-decoration: none;
}

#menu li:hover,
#menu a li:hover {
  color: #fff;
  text-decoration: none;
}

#menu .active {
  color: #fff;
}

.navbar-brand {
    color: #0d0d0d;
}

.navbar-expand-lg .navbar-nav {
  margin: auto;
}

.navbar-brand {
  cursor: pointer;
}

.custom-toggler.navbar-toggler {
  border-color: #0d0d0d;
}

.custom-toggler .navbar-toggler-icon {
  background-image: url(
    "data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgb(13,13,13)' stroke-width='5' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
        }

/*Home page*/
#index #header #headerimage {
  height: 525px;
}

#index h2 {
  margin-top: 30px;
}

/*About me page*/
.pictureofme {
  width: 100%;
}

#about h3 {
  color: #0099e1;
}

#about .points ul li::before {
  color: #0099e1;
  content: "\2022";
  font-weight: bold;
  display: inline-block;
  width: 2em;
  margin-left: -2em;
}

/*Projects page*/
.gallery_box {
  margin-bottom: 15px;
}

.projectrow {
  width: 100%;
  padding: 0;
  margin: 0;
}

#projects .projectimage {
  border-color: #0099e1;
}

#gallery .projectimage {
  margin-top: 0;
  margin-bottom: 30px;
  margin-left: auto;
  margin-right: auto;
  width: 500px;
  max-width: 100%;
}

.projectimage {
  background-position: center;
  background-size: auto 100%;
  background-repeat: no-repeat;
  background-color: rgba(0, 153, 255, 0.3);
  cursor: pointer;
  width: 100%;
  height: 250px;
  border: 1.5px #0099e1 solid;
  margin: 15px 0;
  position: relative;
  overflow: hidden;
  transition: background-size .3s ease-in-out;
}

@media only screen and (min-width: 768px) {
  .projectimage {
    opacity: 1;
  }
}

.projectimage:hover {
  background-size: auto 125%;
}

.label {
  background-color: #0099e1;
  color: #fff;
  width: 250px;
  height: 35px;
  text-align: center;
  line-height: 35px;
  font-size: 14px;
  font-weight: 600;
  position: absolute;
  bottom: 25px;
  right: -60px;
  white-space: nowrap;
  z-index: 1;
  transform: rotate(313deg);
}

.modal {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 5vh;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: #0d0d0d;
  background-color: rgba(13, 13, 13,0.4);
}

.modal-content {
  background-color: #fff;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
}

.close {
  float: right;
  color: #aaaaaa;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #fff;
  text-decoration: none;
  cursor: pointer;
}

.close2 {
  color: #0099e1;
  font-size: 28px;
  background-color: #fff;
  font-weight: bold;
  border: none;
  border-radius: 5px;
}

.close2:hover,
.close2:focus {
  color: #0d0d0d;
}

.image {
  margin: auto;
  max-width: 70%;
}

.card {
  width: 80%;
  margin-left: 10%;
  color: #0d0d0d;
  text-align: center;
}

#projects .card-header, #index .card-header {
  background-color: #0099e1;
  color: #0d0d0d;
}

#projects .card-header h1, #projects .card-header a, #index .card-header h1, #index .card-header a {
  color: #0d0d0d;
}

#projects .card-header p, #index .card-header p {
  margin-bottom: 5px;
}

#projects .card-body, #index .card-body {
  color: #0d0d0d;
  background-color: #fff;
}

#projects .card-body img, #index .card-body img {
  border: 1.5px #0099e1 solid;
}

#projects .card-footer, #index .card-footer {
  background-color: #0099e1;
}

/*Contact page*/
#contact_form {
  text-align: center;
}

#contact_form .button {
  width: 150px;
  border: 1px solid #CCC;
  cursor: pointer;
}

#contact_form label {
  text-align: left;
}

.input_field {
  width: 70%;
}

label {
  width: 30%;
}
