/*=====================================================================================================================================================*/
/*=====                                                        Bolivia Watch Geoportal                                                            =====*/
/*=====                                         Stockholm Environment Institute - Latin America (SEI-LA)                                          =====*/
/*=====                                              Copyright 2025, Stockholm Environment Institute                                              =====*/
/*=====                                            https://github.com/sei-latam/Bolivia_Watch_Geoportal                                           =====*/
/*=====                                            https://sei-latam.github.io/Bolivia_Watch_Geoportal/                                           =====*/
/*=====                                                                Homepage.css                                                               =====*/
/*=====                                          Geoportal Developed by Carlos Mendez - Research Associate I                                      =====*/
/*=====                                                              Apache-2.0 license                                                           =====*/
/*=====================================================================================================================================================*/
 
/* === Import google fonts === */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap');

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background-color: #f4f4f4;
  color: #333;
  font-size: 16px;
}

.homepage {
  display: flex;
  flex-direction: row;
  height: 100vh;
  overflow: hidden;
}

/********************************************Start Left Panel*****************************************************/
.panel-left {
  width: 4%;
  background-color: #f5f5f5;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.flags img {
  height: 120px;
  margin-bottom: 0.5rem;
}

.country img {
  height: 280px;
  margin-top: 1rem;
}

/********************************************End Left Panel*****************************************************/


/*******************************************Start Central Panel*****************************************************/
.panel-central {
  width: 41%;
  position: relative;
  background-color: #cacdcf;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: 2rem;
}

.content-central {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.text-institutional {
  background-color: rgba(223, 221, 221, 0.95);
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 0 8px rgba(0,0,0,0.1);
  font-size: 1.4rem;
  line-height: 1.5;
  margin-bottom: 2rem;
}

.buttoms-tematics {
  display: flex;
  flex-direction: column;
  text-align: justify;
  gap: 1rem;
}

.buttom-tematic {
  display: flex;
  align-items: center;
  gap: 1rem;
  background-color: #66666e;
  color: white;
  border: none;
  padding: 0.8rem 1rem;
  font-size: 1.5rem;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
  text-align: left;
  transition: background-color 0.3s ease;
}

.buttom-tematic img {
  height: 85px;
  width: auto;
}

.buttom-tematic:hover {
  background-color: #005fa3;
}

.logos-central {
  display: flex;
  justify-content: start;
  gap: 1rem;
  margin-top: 2rem;
}

.logos-central img {
  max-height: 85px;
}

/*******************************************End Central Panel*****************************************************/


/* === PANEL DERECHO === */
.panel-right {
  width: 55%;
  position: relative;
  overflow: hidden;
}

.image-wallpaper {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.85);
}

.overlay-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(0,0,0,0.5);
  color: white;
  padding: 1rem 2rem;
  border-radius: 8px;
  text-align: center;
}

.overlay-title h1 {
  margin: 0;
  font-size: 2rem;
  line-height: 1.3;
}

.logo-upper {
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.logo-upper img {
  max-width: 150px;
}