@import url(https://fonts.googleapis.com/css?family=Roboto+Mono:100,300,400,500);

:root{
    --background-color: #16191b;
    --secondary-color: #151c1d;
    --text-color: #e2e6e8;;
}

/* *{border: 1px solid red;} */


html, body{
  margin: 0;
	padding: 0;
  height: 100%;
  width: 100%;
  scroll-behavior: smooth; 
  /* scroll-snap-type: block proximity; */
  background-color: var(--background-color);
}

.title{
  float: left;
}

.header-links{
  display: flex;
  justify-self: space-between;
  float: right;
  margin-top: 10px;
  margin-right: 20px;
  justify-content: end;
}

.header-links a{
  text-decoration: none;  
}

.header-links a:after{
  content: '';
  position: relative;
  width: 0; height: 0.5px;
  display: block;
  margin-top: 1px;
  left: 0;
  width: 0;
  background: black;
  transition: width .2s ease;
  /* transition: width .2s ease; */
  -webkit-transition: width .2s ease;
}
 
.header-links a:hover:after{
  position: relative;
  left: 0;
  width: 100%;
  background: var(--text-color);
}

.project-links{
  display: flex;
  justify-content: space-between;
  position: relative;
  text-align: center;
  padding-top: 100px;
  text-decoration: none;
}

.number{
  color: rgb(54, 54, 54);
  /* opacity: 0.9; */
  font-weight: 400;
  font-variant-numeric: slashed-zero;
  margin-right: 4px;
  transition: opacity .3s cubic-bezier(.23,1,.32,1);
      -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=20)";
    filter: alpha(opacity=20);

  /* text-decoration: underline; */
}

.link{
  position: relative;
  text-decoration: none;
  font-size: 13.5px;
}

.link:after{
  content: '';
  position: relative;
  width: 0; height: 0.5px;
  display: block;
  margin-top: 1px;
  left: 0;
  width: 23%;
  background: rgb(54, 54, 54);
  transition: width .2s ease;
  /* transition: width .2s ease; */
  -webkit-transition: width .2s ease;
}
 
.link:hover:after{
  position: absolute;
  left: 28%;
  width: 72%;
  background: var(--text-color);
}

.presentation{
    max-width: 700px;
    margin: 0 auto;
    align-content: center;
    justify-content: center;
    padding-top: 140px;
    text-align: justify;
    text-justify: inter-word;
}


h2,h3,p,a{
    font-family: 'Roboto Mono', monospace;
    color: var(--text-color);
    font-weight: lighter;
    margin: 10px;
}
a{
  font-size: small;
}

h2,h3{
  color: white;
}

.language-selector{
  position: absolute;
  margin: 0;
  bottom: 2%;
  left: 0;
  opacity: 0.5;
  color:var(--text-color)
}

.language-selector a{
    margin:0;
    cursor: pointer;
}
.version{
  position: absolute;
  margin: 0;
  bottom: 0;
  right: 0;
  color:var(--text-color)
}

.version p{
  opacity: 0.5;
  font-size: small;
}
.s1{
    /* scroll-snap-align: start; */
    height: 99%;
    margin-top: 15px;
    margin-left: 10px;
    margin-bottom: 2px;
    position: relative;
    overflow: auto;
}

.s2{
  /* scroll-snap-align: start; */
  /* scroll-snap-stop: always; */
  position: relative;
  margin-top: 0;  
  background-color: var(--background-color);
  padding-top: 20px;
  padding-bottom: 10px;
}

.s2-title{
    text-align: left;
    position: relative;
}

.container{
  margin: 45px;
  margin-inline-start: 100px;
  margin-inline-end: 100px;
  display: grid;
  grid-template-columns: 1.5fr 3fr;
  grid-template-rows: 1fr 5fr;
  grid-template-areas: 'title image'
                        'presentation image';
}

.project-title{
  grid-area: title;
  position: relative;
}
.project-presentation{
  grid-area: presentation;
  text-align: justify;
  text-justify: inter-word;
}

.img-container{
  grid-area: image;
  align-self: start;
  justify-self: center;
}

.project-image{
  float: right;
  max-width: 75%;
  height:auto;
  box-shadow: 0 6px 20px 0 rgba(0, 0, 0);
}

.project3-container{
  margin: 45px;
  margin-inline-start: 100px;
  margin-inline-end: 100px;
  display: grid;
  grid-template-columns: 1.5fr 3fr;
  grid-template-rows: 1fr 3fr;
  grid-template-areas: 'title image'
                        'presentation image';
}

.siteLinks{
    font-size: normal;
    text-decoration: none;
    color: 1px solid rgba(250,250,250,1);
    border-bottom: 1px solid rgba(250,250,250,0.4);
}
.modal-button{
  color: var(--text-color);
  background-color: transparent;
  border: 1px solid var(--text-color);
  border-radius: 1px;
  box-shadow: 0 1px 5px 0 rgba(0, 0, 0);
  margin: 0;
  margin-top: 5px;
}

footer{
  padding-bottom: 15px;
}

footer p{
  font-size: small;
  text-align: center;
  margin: 0;
}

.footer-content{
  justify-self: center;
  float: center;
}

.contact-bg{
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgb(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  visibility: hidden;
}

.contact{
  background-color: var(--background-color);
  /*text-align: center;*/
}

.contact h3{
  text-align: center;
  border-bottom: 1px solid var(--text-color);
}

.contact-btn{
  /* background-color: transparent; */
  /* border: 0; */
  /* border-bottom: 1px solid var(--text-color); */
  color: var(--text-color);
}

.close {
  position: relative;
  float: right;
  /*left: 60px;*/
  /*top: 3px;*/
  padding-right: 5px;
  width: 16px;
  height: 16px;
  opacity: 0.7;
}
.close:hover {
  opacity: 1;
}
.close:before, .close:after {
  position: absolute;
  left: 15px;
  content: ' ';
  height: 15px;
  width: 2px;
  background-color: #333;
}
.close:before {
  transform: rotate(45deg);
}
.close:after {
  transform: rotate(-45deg);
}
.scroll-down {
	position: absolute;
	left: 50%;
	bottom: 25px;
	display: block;
	text-align: center;
	font-size: 20px;
	z-index: 100;
	text-decoration: none;
	text-shadow: 0;
  width: 13px;
  height: 13px;
  border-bottom: 2px solid #fff;
  border-right: 2px solid #fff;
  z-index: 9;
  left: 50%;
  -webkit-transform: translate(-50%, 0%) rotate(45deg);
  -moz-transform: translate(-50%, 0%) rotate(45deg);
  transform: translate(-50%, 0%) rotate(45deg);
	-webkit-animation: fade_move_down 4s ease-in-out infinite;
	-moz-animation:    fade_move_down 4s ease-in-out infinite;
	animation:         fade_move_down 4s ease-in-out infinite;
}

/*animated scroll arrow animation*/
@-webkit-keyframes fade_move_down {
  0%   { -webkit-transform:translate(0,-10px) rotate(45deg); opacity: 0;  }
  50%  { opacity: 1;  }
  100% { -webkit-transform:translate(0,10px) rotate(45deg); opacity: 0; }
}
@-moz-keyframes fade_move_down {
  0%   { -moz-transform:translate(0,-10px) rotate(45deg); opacity: 0;  }
  50%  { opacity: 1;  }
  100% { -moz-transform:translate(0,10px) rotate(45deg); opacity: 0; }
}
@keyframes fade_move_down {
  0%   { transform:translate(0,-10px) rotate(45deg); opacity: 0;  }
  50%  { opacity: 1;  }
  100% { transform:translate(0,10px) rotate(45deg); opacity: 0; }
}

