html {
  font-size: medium;
  font-family: "Banschrift";
  color: rgb(59, 108, 189);
  cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="rgb(59 108 189)" stroke="%233b6cbd" width="12px" height="12px" viewBox="0 0 10.04 10.04"><circle cx="5.02" cy="5.02" r="4.52"/></svg>')
      10 10,
    auto;
}

body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0 auto;
  width: 80vw;
  min-height: 100vh;
  max-height: 100vh;
  font-family: "Banschrift";
  color: rgb(59, 108, 189);
  cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="rgb(59 108 189)" stroke="%233b6cbd" width="12px" height="12px" viewBox="0 0 10.04 10.04"><circle cx="5.02" cy="5.02" r="4.52"/></svg>')
      10 10,
    auto;
}

.header {
  display: flex;
  flex-direction: row;
  width: 100%;
  align-items: center;
  margin-top: 30px;
  margin-bottom: 0px;
}

.logo {
  width: 18.229166666667%;
  max-width: 280px;
  max-height: 115.5px;
  height: auto;
  margin-left: auto;
  cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="rgb(59 108 189)" stroke="%233b6cbd" width="12px" height="12px" viewBox="0 0 10.04 10.04"><circle cx="5.02" cy="5.02" r="4.52"/></svg>')
      10 10,
    auto;
}

.language-selector {
  margin-left: auto;
  align-self: center;
}

.home-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  align-items: center;
  margin-bottom: 28px;
  font-family: "Banschrift";
  color: rgb(59, 108, 189);
  min-width: 100%;
  height: 100vh;
  max-height: 100vh;
}

.projects {
  width: 100%;
  height: 100%;
  max-width: 700px;
  object-fit: cover;
}

.images-row {
  display: flex;
  flex-direction: row;
  height: 100%;
  width: 100%;
  max-height: 700px;
}

.image-container {
  display: flex;
  flex-direction: column;
  object-fit: cover;
  width: 35%;
  max-width: 700px;
  margin-top: 0px;
}

.footer {
  display: flex;
  flex-direction: row;
  margin-top: auto;
  margin-bottom: 16px;
  font-family: "Banschrift";
  color: rgb(59, 108, 189);
  width: 100%;
  font-size: medium;
}

.footer a, i {
  overflow: hidden;
}

.contact-info {
  display: flex;
  flex-direction: column;
  align-self: flex-end;
  font-size: 0.85rem;
}

.image-info {
  width: 35%;
  max-width: 700px;
  margin-top: 0px;
  overflow-y: auto;
  text-align: left;
  margin-left: auto;
  color: rgb(59 108 189);
  font-family: "Bahnschrift", sans-serif;
  font-size: medium;
  font-style: normal;
  font-weight: 300;
  line-height: normal;
  display: flex;
  flex-wrap: wrap;
}

.ribas-img {
  width: 18vh;
  height: 22.5vh;
  float: left;
  margin-right: 5px;
}

.text-project {
  color: rgb(59, 108, 189);
  font-family: "Bahnschrift", sans-serif;
  font-size: medium;
  font-style: normal;
  font-weight: 300;
  line-height: 1.5;
  text-align: center;
  justify-self: start;
  width: 100%;
  height: 100%;
  padding: 5px;
  box-sizing: border-box;
}

a {
  white-space: pre;
  text-decoration: none;
  color: black;
  cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="rgb(59 108 189)" stroke="%233b6cbd" width="12px" height="12px" viewBox="0 0 10.04 10.04"><circle cx="5.02" cy="5.02" r="4.52"/></svg>')
      10 10,
    auto;
}

.footer a:hover {
  text-decoration: underline;
}

.header a:hover {
  text-decoration: underline;
}

i {
  white-space: pre;
}

.active {
  font-weight: bold;
}

.controls {
  margin-bottom: auto;
  margin-top: 0px;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  row-gap: 10px;
  width: 100%;
  height: fit-content;
  max-height: 100%;
  overflow-y: auto;
  margin-bottom: 3px;
  padding-bottom: 1px;
}

.image-grid a {
  position: relative;
  width: 100%;
  padding-top: 100%;
  /* Aspect ratio 1:1 */
  overflow: hidden;
}

.image-grid img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-grid-res {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  row-gap: 10px;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  padding: 1px;
  margin: auto 0;
}

.image-grid-res img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.filter {
  display: flex;
  flex-direction: row;
  font-weight: 400;
  margin-bottom: 5px;
  justify-content: space-around;
  color: rgb(61, 61, 253);
}

.filter a, i {
  overflow: hidden;
}

.filter a:hover {
  text-decoration: underline;
}

.divider {
  min-width: 25%;
  width: 25%;
  max-width: 25%;
  margin: 0;
}

*::-webkit-scrollbar {
  width: 3px;
  display: none;
}

*::-webkit-scrollbar-track {
  border-radius: 20px;
  background-color: #e3e3e3;
}

*::-webkit-scrollbar-track:hover {
  background-color: #e3e3e3;
}

*::-webkit-scrollbar-track:active {
  background-color: #e3e3e3;
}

*::-webkit-scrollbar-thumb {
  border-radius: 20px;
  background-color: rgb(59, 108, 189);
  display: none;
}

*::-webkit-scrollbar-thumb:hover {
  background-color: rgb(59, 108, 189);
}

*::-webkit-scrollbar-thumb:active {
  background-color: rgb(59, 108, 189);
}
