/*Body and HTML*/

body,h1 {font-family: "Raleway", sans-serif}
body, html {height: 100%}


html, body {
  font-size: 15px;
  line-height: 1.5;
}

body {
  margin: 0;
}

.padding {
  padding: 10px;
}

.white-bg {
  background-color: #ffffff;
  color: #0f0f0f;
}

.grey-bg {
  /* background-image: url("../images/wood_simple_basecolor2x2.png"); */
  background-size: auto;
  background-repeat: repeat;
  background-position: center;
  background-color: #353535;
  color: #f2f2f2;
}

.dark-grey-bg {
  background-color: #222222;
  color: #f2f2f2;
}



/*Divs and containers*/
.middle-container {
  align-content: center;
}

.padding-large {
  padding: 12px 24px!important;
}

.topleft-display {
  position: absolute;
  left: 0;
  top: 0;
}

.center-div {
  text-align: center;
  width: 100% !important;
  padding-top: 20px;
  padding-bottom: 20px;
  padding-left: 5px;
  padding-right: 5px;
} 

.text-p {
  padding-left: 15%;
  padding-right: 15%;
}

@media only screen and (max-width: 992px) {
  .text-p {
    padding-left: 10%;
    padding-right: 10%;
  }
  
}

.small-header {
  font-size: 10px!important;
}
.medium-header {
  font-size: 18px!important;
}
.large-header {
  margin-bottom: 10px;
  font-size: 26px!important;
}
.extralarge-header {
  font-size: 40px!important;
}

.logo {
  margin-top: 10px;
  width: 100%;
  height: auto;
}

@media only screen and (min-width: 400px) {

  .small-header {
    font-size: 18px!important;
  }
  .medium-header {
    font-size: 24px!important;
  }
  .large-header {
    font-size: 40px!important;
  }
  .extralarge-header {
    font-size: 50px!important;
  }
  .logo {
    width: 100%;
  }
}

@media only screen and (min-width: 992px) {
  .center-div {
    width: 60%;
  }
  .small-header {
    font-size: 18px!important;
  }
  .medium-header {
    font-size: 24px!important;
  }
  .large-header {
    font-size: 40px!important;
  }
  .extralarge-header {
    font-size: 64px!important;
  }
  .logo {
    margin: 10px;
    width: 60%;
  }
  
}

/*Text and headers*/

.w3-animate-top {
  position: relative;
  animation: animatetop 0.4s;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 400;
  margin: 15px 10px;
}

.text-white, .hover-text-white:hover {
  color: #fff!important;
}

/* Flex containers */
.flex-container {
  padding-left: 20%;
  padding-right: 20%;
  display: flex;
  flex-direction: row;
  text-align: center;
}

.less-pad {
  padding-left: 10%;
  padding-right: 10%;
}

/* Responsive layout - makes a one column layout instead of a two-column layout */
@media (max-width: 1000px) {
  .flex-container {
    padding-left: 10%;
    padding-right: 10%;
    flex-direction: column;
  }
}

.profilePic {
  width: 50%;
  height: auto;
}

.profilePicSmall {
  width: 25%;
  height: auto;
  border-radius: 50%;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.logo {
  width: 7%;
  height: auto;
}

/* Style the Image Used to Trigger the Modal */
.portfolioImage {
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
  width:100%;
  max-width:500px
}

.portfolioImage:hover {opacity: 0.7;}


@media (max-width: 1200px) {
  .profilePic {
    width: 40%;
  }

  .profilePicSmall {
    width: 50%;
  }

  .logo {
    width: 10%;
  }
}
@media (max-width: 800px) {
  .logo {
    width: 25%;
  }
}
.regular {
  text-align: initial;
}

/* IMAGE TEST BLUR*/
body, html {
  height: 100%;
}

* {
  box-sizing: border-box;
}

.a-hidden {
  text-decoration: none;
}

.bg-image {
  /* The image used */
  /* background-image: url("../images/background.jpg"); */
  background-color: black;

  /* Add the blur effect */
  /* filter: blur(1px);
  -webkit-filter: blur(1px);  */
  /* transform: scale(1.1);  */

  /* Full height */
  height: 100%;

  /* Center and scale the image nicely */
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Position text in the middle of the page/image */
.bg-text {
  background-color: rgb(0,0,0); 
  background-color: rgba(0,0,0, 0.4);
  color: white;
  font-weight: bold;
  border: 2px solid #f1f1f1;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 80%;
  padding: 20px;
  text-align: center;
}

/*Borders and breaks*/
.border-grey, .hover-border-grey:hover, .border-gray, .hover-border-gray:hover {
  border-color: #9e9e9e!important;
}

.border-white, .hover-border-white:hover, .border-white, .hover-border-white:hover {
  border-color: #fff!important;
}

hr {
  border: 0;
  border-top: 1px solid #eee;
  margin: 20px 0; 
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

.short-hr {
  margin:auto;
  width: 40%;
}

.footer-link {
  color: white;
}


/* 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;
  height: 75%;
  width: auto;
  max-width: 1400px;
}


/* 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;
  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)}
}

/* The Close Button */
.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

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

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
  .modal-content {
    max-width: 100%;
    height: auto;
  }
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 1200px){
  .modal-content {
    max-width: 100%;
    height: auto;
  }
}

.button {
  background-color: white; 
  border: 2px solid #762abe;
  margin: 20px 0; 
  color: #762abe;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  border-radius: 8px;
}

.button {
  transition-duration: 0.4s;
}

.button:hover {
  background-color: #762abe; /* Green */
  color: white;
  cursor: pointer;
}

.hidden {
  display: none;
}
