/*Body and HTML*/

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


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

body {
  margin: 0;
}

.padding {
  padding: 10px;
}

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

.grey-bg {
  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: 1200px) {
  .flex-container {
    padding-left: 10%;
    padding-right: 10%;
    flex-direction: column;
  }
}

.profilePic {
  width: 80%;
  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%;
  border-radius: 50%;
  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: 90%;
  }

  .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(5px);
  -webkit-filter: blur(5px); 
  /* 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;
}

.button {
  background-color: white; 
  border: 2px solid #db1212;
  margin: 10px 0; 
  color: #db1212;
  padding: 10px 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: #ff2a2a; /* Green */
  color: white;
  cursor: pointer;
}