@charset "utf-8";


@import url('https://fonts.googleapis.com/css2?family=Wallpoet&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@300&display=swap');
* {
    box-sizing: border-box;
}
html{
  scroll-behavior: smooth;
}

body{
  background-image:linear-gradient(
      250deg,
      rgba(0, 0, 0, 0.5),
      rgba(14, 2, 28,0.5)
    ),
    
    url(https://img.medicalexpo.com/images_me/photo-g/84515-4562567.jpg);
  background-color:#020a3d;
    background-size: 50% 80%;
    background-repeat: no-repeat;
    background-position: right;
    margin: 0;
    height: 10em;
    font-family: 'Wallpoet', sans-serif;
  font-family: 'Comfortaa', cursive;
}
header{
	margin: 10em 50% 5em auto;
	padding: 0px 50px;
	width: 55%;
}
  
h1{
	font-family: 'Wallpoet', sans-serif;
  margin: 2em 30% 10px 4%; 
	text-align: center;	
	word-spacing: 1em;
	font-size: 3.7vw;
	color: #FFFFFF;
}
h2{
	font-family: 'Wallpoet', sans-serif;
	text-align: center;	
	word-spacing: 1em;
	font-size: 1.5vw;
	color: #FFFFFF;
}

.black-text{
  color: black;
}

li{
  list-style: none;
  margin: 0 1vw;
  font-size: 1em;
  
}

a{
  text-decoration: none;
  font-family: 'Wallpoet', sans-serif;
  color: #FFFFFF;
  display: block;
  padding: 10px 10px 10px 10px;
  
}

a:hover{
  border-bottom: 3px solid red;
}

nav{
  width: 100%;
  height: 45px;
  display: flex;
  position: fixed;
  top: 0;
  padding: 5px;
  background-color: #020a3d;
  right: 0;
  justify-content: center;
  z-index:2;
}

ul{
 margin: 0;
 padding: 0;
 display: flex;
 
}
.project-info{
  font-family: 'Comfortaa', cursive;
	text-align: left;	
	font-size: 1.5vw;
	color: #FFFFFF;
  margin: 2em 55% 10px 4%; 
}

.bg-caption{
 color: #FFFFFF;
 font-size: 0.8em;
 float: right;
 margin-left: 80%;
 margin-top: 12%;
 margin-bottom: 10%;
 
}
#contraints{
 /* background-color: #015045;*/
 /* display: flex;*/
  flex-direction: column;
  margin-top: 10%;
}
.proj-const{
  font-size: 3vw;
  margin: 10% 0 5% 0; */
	text-align: center;	
	word-spacing: 1em;
  
}
.const-list{
  color: #FFFFFF;
  font-size: 2vw;
  text-align: left;
  margin: 10% 0 0 10%;
}
.gallery-image {
  padding: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.gallery-image img {
  height: 250px;
  width: 350px;
  transform: scale(1.0);
  transition: transform 0.4s ease;
}

.img-box {
  box-sizing: content-box;
  margin: 10px;
  max-height: 250px;
  height: auto;
  width: 350px;
  overflow: hidden;
  display: inline-block;
  color: white;
  position: relative;
  background-color: white;
}
.caption {
  position: absolute;
  bottom: 5px;
  left: 20px;
  opacity: 0.0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  
}

.transparent-box {
  height: 250px;
  width: 350px;
  background-color:rgba(0, 0, 0, 0);
  position: absolute;
  top: 0;
  left: 0;
  transition: background-color 0.3s ease;
}

.img-box:hover img { 
  transform: scale(1.1);
}

.img-box:hover .transparent-box {
  background-color:rgba(0, 0, 0, 0.5);
}

.img-box:hover .caption {
  transform: translateY(-20px);
  opacity: 1.0;
}

.img-box:hover {
  cursor: pointer;
}

.caption > p:nth-child(2) {
  font-size: 0.8em;
}

.opacity-low {
  opacity: 0.5;
}
.final-image img {
  height: auto;
  max-height: 550px;
  width: 750px;
  max-width: 40%;
  display: block;
  margin: 0 auto 0 auto;
  width: 50%;
}
.final-caption{
  font-family: 'Comfortaa', cursive;
	text-align: center;	
	font-size: 1.5vw;
	color: #FFFFFF;
  margin: 0 10% 5% 10%; 
}
.info-box {
background-color: #FFFFFF;
box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2); 
margin: 40% 1%;
border-radius: 10px; 
margin-top: 5px;  
width: 40%;
padding: 30px;
text-align: center;
}
.container {
  display: flex;
  max-width: 80%;
  margin: 0 auto;
  justify-content: center;
  /* flex-wrap: wrap; */
}
.info-box img {
  width: 100%;
  min-height: 90%;
  border-radius: 10px; 
}
.info-box { 
transition: all .2s ease-in-out; 
}

.info-box:hover { 
transform: scale(1.1); 
}
#footer {
   /*position:absolute;*/
   left:0px;
   bottom:0px;
   height:30px;
   width:100%;
   /*background:#FFFFFF;*/
  text-align: center;
  color: #FFFFFF;
}