

@font-face {
  font-family:'cooper-hewitt';
  src: url(../webfonts/CooperHewitt-Bold.otf); 
  font-weight: 700;
}

@font-face {
  font-family:'cooper-hewitt';
  src: url(../webfonts/CooperHewitt-Light.otf); 
  font-weight: 200;
}

@font-face {
  font-family:'cooper-hewitt';
  src: url(../webfonts/CooperHewitt-Book.otf);
  font-weight: 400;

}


 /* ==========================
   BASE
========================== */

html, body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  font-family: 'cooper-hewitt', sans-serif;
  background-color: rgb(246, 241, 241);
  color: #000;
  font-size: 1.2em;
}

main {
  flex: 1;
  width: 80%;
  margin: auto;
}


/* ==========================
 HEADER
========================== */

header {
background-color: rgb(250, 250, 250);
width: 100%;
height: auto;
  text-align: center;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 40px 0;
font-family: 'cooper-hewitt', sans-serif;
z-index: 999;
}

.white-header {
  padding: 10px;
  height: 180px;
}

.logo-block {
  margin-left: 6.5%;
  width: 42%;
  text-align: left;
}

.IMD_logo img {
  height: 80px;
  display: block;
}



/* ==========================
 NAVBAR
========================== */
.navbar {
  display: flex;
  gap: 1rem;
margin-left: 8.5%;

}

.encadre-nav {
  border: 1px solid transparent;
  padding: 6px 12px;
  transition: border 0.3s ease, background-color 0.3s ease;
  text-align: center;
  letter-spacing: 5px;
font-family: 'cooper-hewitt', sans-serif;

}

.encadre-nav:hover {
  border: 1px solid;
  border-image-slice: 1;
  border-image-source: linear-gradient(to right, #000, #000); 
  background-color : #f0f0f0; 
}


.encadre-nav a {
  text-decoration: none;
  color: rgb(0, 0, 0);
  font-size: 0.9rem;
}


.actif {
  color: #777;
  text-decoration: underline;
}

/* ==========================
 NAV BUTTON
========================== */
.nav-button {
  display: inline-flex;
  align-items: left;
  gap: 1rem;
  padding: 10px 20px;
  margin-left: -8%;
  margin-top: 1%;
  font-size: 0.9rem;
  text-decoration: none;
  color: #000;
  letter-spacing: 3px;
}

.nav-button:hover {
  color: #ababab;
}

.icon-arrow {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.icon-arrow:hover {
  color: #ababab;
}

/* ==========================
 TEXT
========================== */
h1 {
  font-weight: 200;
  font-size: 40px;
font-family: 'cooper-hewitt', sans-serif;
}

h3 {
  font-weight: 350;
  
}

p {
	font-family: 'cooper-hewitt', sans-serif;
	font-weight: 200; 
    font-size: 20px;
  }

  figcaption {
	font-family: 'cooper-hewitt', sans-serif;
	font-weight: 200;  
	font-size: 20px;
	letter-spacing: 2px;
	margin: 25px auto;
	text-align: left;
  }

/* ==========================
 IMAGE ROW
========================== */

.image-row {
display: flex;             
justify-content:left;   
gap: 5px;


}

.image-row figure {
  margin-top: 0;             
  text-align: left;
  font-size: 20px;
  
}


.image-row img {
max-width: 570px;           
height: auto;
text-align: left; 
             

}

.hover-scale {
width: 600px;
height: auto;
transition: transform 0.3s ease; 
}

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

.actif {
color: #777;
text-decoration: underline;
}

.image-row video {
  width: 650px;          
  height: auto;          
  display: block;
  object-fit: cover;     
  transition: transform 0.3s ease;  
}

.image-row video:hover {
  transform: scale(1.05);  
}

 /* ==========================
   ENCADRE
========================== */
.encadre {
  width: 500px;
  margin: 0;
  letter-spacing: 1px;
  text-align: left;
  font-weight: 200;
  transform: translateX(-85px);
}

.encadre p {
  font-size: 20px;
  line-height: 1.6;
  max-width: 850px;
  margin: 0 auto;
}
  
  /* ==========================
   FOOTER
========================== */
footer {
  background-color: rgb(250, 250, 250);
  width: 100%;
  padding: 60px 0;
margin: 5em 0;
  text-align: center;
z-index: 1000;
}



/* ==========================
 RESPONSIVE
========================== */
@media (max-width: 768px) {
	header {
	  position: fixed;
	  top: 0;
	  left: 0;
	  width: 100%;
	  flex-direction: column;
	  align-items: center;
	  padding: 20px 0;
	  z-index: 999;
	}
  
	.logo-block {
	  width: 100%;
	  text-align: right;
	  margin: 0 auto;
	}
  
	.IMD_logo img {
	  height: 60px;
	}
  
	.navbar {
	  flex-direction: column;
	  align-items: center;
	  justify-content: center;
	  gap: 5px;
	  margin: 0;
	  transform: translateX(-5px);
	}
  
	.encadre-nav {
	  width: auto;
	  text-align: center;
	  padding: 1px 0;
	  border: none;
	}
  
	.encadre-nav a {
	  font-size: 16px;
	  letter-spacing: 2px;
	}
  
	.nav-button {
	  transform: translateX(-5px);
	  font-size: 16px;
	}
  
	.image-row {
	  flex-direction: column;       
	  align-items: center;         
	  gap: 1rem;
	}
  
	.image-row img,
	.image-row video {
	  max-width: 400px;
	  width: 100%;
	}
  
	.encadre {
	  width: 90%;        
	  max-width: 550px;   
	  margin: 0 auto;   
	  transform: translateX(-8px);
	}
  
	.encadre p {
	  font-size: 18px;  
	}
  
	body {
	  font-size: 16px;
	  padding-top: 220px;
	  text-align: left;
	}
  }
  
  @media screen and (max-width: 480px) {
	.image-row img,
	.image-row video {
	  max-width: 350px;
	}
  
	.nav-button {
		display: inline-flex;
		align-items: left;
		gap: 1rem;
		padding: 10px 20px;
		font-size: 16px;
		text-decoration: none;
		color: #000;
		letter-spacing: 3px;
        transform: translateX(-86px);
	}
	.encadre {
	  width: 90%;
	  transform: none;
	}
  
	.encadre p {
	  font-size: 15px;
	}
  
	body {
	  padding-top: 220px;
	  font-size: 16px;
	}
  
	figcaption {
	  font-size: 14px;
	}
  }
  
  @media screen and (min-width: 769px) and (max-width: 992px) {
  .video-section,
  .image-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between; /* უკეთესი გასწორება */
    gap: 20px;
    width: 100%;
    margin: 0 auto;
  }

  .video-section figure,
  .image-row figure {
    flex: 1 1 calc(50% - 10px); /* ორი სურათი გვერდი-გვერდ */
    margin: 0;
  }

  .video-section video,
  .image-row img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }
}

  