/* General styles */
* {
  font-family: "Roboto Condensed", sans-serif;
}

body {
  width: 100vw;
  margin: 0;
  overflow-x: hidden;
}

header {
  position: relative;
  width: 100vw;
  height: 80vh;
  /*height: 200vh;*/
  opacity: 1;
  /* background-image: url(/assets/images/Header\ background.webp); */
  background-repeat: no-repeat;
  background-size: contain;
  display: flex;
  justify-content: center;
}

#menu-div {
  position: absolute;
  top: 5vw;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 5vw;
  opacity: 1;
  background: rgba(148, 97, 142, 0);
  background: linear-gradient(-90deg, rgba(148, 97, 142, 0) 0%, #94618e 100%);
  padding-right: 100px;
}

header li {
  display: inline;
  margin: 0 2vw;
  color: #f8ecf8;
  font-size: 16px;
}

header a {
  color: #f8ecf8;
  text-decoration: none;
}

#minipart-logo {
  height: 12vw;
  margin-top: 10%;
}

.flags {
  width: 30px;
  opacity: 70%;
}

#home-icon {
  opacity: 1;
}

.flags:hover {
  opacity: 100%;
}

h1 {
  position: absolute;
  top: 45%;
  color: #f8ecf8;
  text-align: center;
  font-size: 30px;
  filter: drop-shadow(6px 6px 3px #6e4a6a);
}

#yellow-span {
  color: #f6c69c;
  font-size: 35px;
  /*line-height: 70px;*/
  font-weight: bolder;
  letter-spacing: 4px;
}

main {
  width: 100%;
  display: flex;
  justify-content: center;
  align-content: center;
  gap: 38px;
  margin: auto auto 30vh auto;
  flex-wrap: wrap;
}

.articles-about-participation-main {
  color: #5a2d51;
  display: flex;
  justify-content: space-evenly;
  margin-left: auto !important;
  margin-right: auto !important;
  gap: 0 !important;
}

.rounded-squares {
  height: 304px;
  width: 258px;
  background-color: #f4f3f4;
  border-radius: 56px;
  filter: drop-shadow(0px 3px 3px rgba(0, 0, 0, 0.16));
  position: relative;
  padding: 40px;
  color: #5a2d51;
  font-size: 16px;
  text-align: left;
}

.rounded-squares-height-auto {
  width: 320px;
  height: auto;
  background-color: #f4f3f4;
  border-radius: 56px;
  filter: drop-shadow(0px 3px 3px rgba(0, 0, 0, 0.16));
  position: relative;
  padding: 25px;
  color: #5a2d51;
  font-size: 16px;
  text-align: left;
  display: flex;
  align-items: center;
}

.rounded-squares-height-auto a {
  text-decoration: none;
  color: #5a2d51 !important;
  position: static !important;
}

.rounded-squares-height-auto a:hover {
  text-decoration: underline;
}

.open-science-icon {
  height: 55px;
  margin-right: 20px;
}

.rounded-squares a {
  color: #94618e;
  position: absolute;
  bottom: 40px;
  right: 40px;
}

footer {
  position: relative;
  width: 100vw;
  /*height: 80vh;*/
  /*height:150vh;*/
  background-color: #f4decb;
  /*background-image: url(./resources/Footer\ background.png);
    background-repeat: no-repeat;
    background-size: contain;*/
  padding-top: 20px;
}

#partners {
  /*padding-top: 50px;*/
  padding-bottom: 40px;
  display: flex;
  flex-wrap: wrap;
  width: 100vw;
  justify-content: center;
  align-items: center;
  row-gap: 50px;
  column-gap: 50px;
}

#partners img {
  height: 80px;
}

#FZN-link {
  background-image: url(/assets/images/FZN_sepia_SER.png);
  background-repeat: no-repeat;
  background-size: contain;
}

#FZN-link:hover {
  background-image: url(/assets/images/FZN_boja_SER.png);
  background-repeat: no-repeat;
  background-size: contain;
}

#FZN-link-english {
  background-image: url(/assets/images/FZN_sepia_ENG.png);
  background-repeat: no-repeat;
  background-size: contain;
}

#FZN-link-english:hover {
  background-image: url(/assets/images/FZN_boja_ENG.png);
  background-repeat: no-repeat;
  background-size: contain;
}

#IAUS-link {
  background-image: url(/assets/images/IAUS_sepia_SER.png);
  background-repeat: no-repeat;
  background-size: contain;
}

#IAUS-link:hover {
  background-image: url(/assets/images/IAUS_boja_SER.png);
  background-repeat: no-repeat;
  background-size: contain;
}

#GF-link {
  background-image: url(/assets/images/UBGEF_sepia_SER.png);
  background-repeat: no-repeat;
  background-size: contain;
}

#GF-link:hover {
  background-image: url(/assets/images/UBGEF_boja_SER.png);
  background-repeat: no-repeat;
  background-size: contain;
}

#GF-link-english {
  background-image: url(/assets/images/UBGEF_sepia_ENG.png);
  background-repeat: no-repeat;
  background-size: contain;
}

#GF-link-english:hover {
  background-image: url(/assets/images/UBGEF_boja_ENG.png);
  background-repeat: no-repeat;
  background-size: contain;
}

#TFB-link {
  background-image: url(/assets/images/TFBor_sepia_SER.png);
  background-repeat: no-repeat;
  background-size: contain;
}

#TFB-link:hover {
  background-image: url(/assets/images/TFBor_boja_SER.png);
  background-repeat: no-repeat;
  background-size: contain;
}

#IFDT-link {
  background-image: url(/assets/images/IFDT_sepia_SER.png);
  background-repeat: no-repeat;
  background-size: contain;
}

#IFDT-link:hover {
  background-image: url(/assets/images/IFDT_boja_SER.png);
  background-repeat: no-repeat;
  background-size: contain;
}

#footer-text {
  color: #5a2d51;
  font-size: 16px;
  text-align: center;
  margin-bottom: 40px;
}

#contact-div {
  min-height: 25vh;
  width: 100%;
  background-color: #94618e;
  color: #f4decb;
  display: flex;
  align-items: center;
  justify-content: center;
  column-gap: 40vw;
  row-gap: 20vw;
  flex-wrap: wrap;
}

#physical-address {
  margin-bottom: -15px;
  margin-top: 0;
}

address li {
  list-style-type: none;
}

address img {
  width: 36px;
  margin-bottom: -30px;
}

/* Hamburger menu styles */
.menu-toggle {
  display: none;
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 3px;
  background-color: #f8ecf8;
  margin: 5px 0;
  transition: 0.4s;
}

/* Add this CSS to your existing styles.css file */

/* Media query for screens wider than 1440 pixels */
@media screen and (min-width: 800px) {
  /* Adjust the position of the flags */
  .flags-container {
    position: absolute;
    top: 50%;
    right: 10vw; /* Adjust this value as needed */
    transform: translateY(-50%);
  }
}

.navigation {
  padding-top: 1%;
}

address img {
  filter: opacity(50%);
}

#circle-part {
  width: 100%;
  margin-bottom: 0;
  padding-bottom: 0;
}

#below-address {
  height: 40px;
  background-color: #f4decb;
}

address img:hover {
  filter: opacity(80%);
}

.navigation ul:hover li {
  opacity: 0.4;
}

.navigation ul li:hover {
  opacity: 1;
}

.logo-box {
  height: 15vw;
  width: 14vw;
  background-color: #f4f3f4;
  border-radius: 0 0 5% 5%;
  filter: drop-shadow(0px 3px 3px rgba(0, 0, 0, 0.16));
  position: relative;
  /*padding: 40px;*/
  display: flex;
  justify-content: center;
  align-items: center;
}

/* #about-project-banner {
  background-image: url(./resources/Header\ background\ -\ About\ project.webp);
}

#team-banner {
  background-image: url(./resources/Header\ background\ -\ Team.webp);
}

#contact-banner {
  background-image: url(./resources/Header\ background\ -\ Contact.webp);
}

#open-science-banner {
  background-image: url(./resources/Header\ background\ -\ Open\ science.webp);
}

#results-banner {
  background-image: url(./resources/Header\ background\ -\ Results.webp);
}

#news-banner {
  background-image: url(./resources/Header\ background\ -\ News.webp);
} */

.rounded-rectangles {
  height: auto;
  width: 70%;
  background-color: #f4f3f4;
  border-radius: 29px;
  filter: drop-shadow(0px 3px 3px rgba(0, 0, 0, 0.16));
  position: relative;
  padding: 60px;
  color: #5a2d51;
  font-size: 16px;
  text-align: left;
  margin-bottom: 50px;
}

.rounded-rectangles h3 {
  font-size: 17px;
  font-weight: 400;
  /*display: inline;*/
}

.rounded-rectangles a {
  color: #94618e;
}

.team-member {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.team-member-image {
  height: 334px;
  width: 360px;
  border-radius: 29px;
  filter: drop-shadow(0px 3px 3px rgba(0, 0, 0, 0.16));
  position: relative;
  background-repeat: no-repeat;
  background-size: cover;
}

.team-member-image img {
  position: relative;
  top: 1px;
  height: 334px;
  width: 360px;
  opacity: 0;
}

#tamara-img {
  background-image: url(/assets/images/1.o.jpg);
}

#marijana-img {
  background-image: url(/assets/images/2.o.jpg);
}

#milovan-img {
  background-image: url(/assets/images/3.o.jpg);
}

#milena-img {
  background-image: url(/assets/images/4.o.jpg);
}

#dusanka-img {
  background-image: url(/assets/images/5.o.jpg);
}

#juha-img {
  background-image: url(/assets/images/6.o.jpg);
}

#ana-img {
  background-image: url(/assets/images/7.o.jpg);
}

.team-member-info {
  height: auto;
  width: 360px;
  background-color: #f4f3f4;
  border-radius: 29px;
  filter: drop-shadow(0px 3px 3px rgba(0, 0, 0, 0.16));
  position: relative;
  padding: 20px 40px;
  color: #5a2d51;
  font-size: 16px;
  text-align: center;
}

.team-member-info h2 {
  font-size: 17px;
  font-weight: 600;
  line-height: 10px;
}

.team-member-info li {
  list-style-type: none;
}

.team-member-info img {
  width: 22px;
  margin: 0 2px;
  filter: opacity(50%);
}

.team-member-info img:hover {
  filter: opacity(80%);
}

.team-member-research-area {
  height: auto;
  width: 360px;
  background-color: #f4f3f4;
  border-radius: 16px;
  filter: drop-shadow(0px 3px 3px rgba(0, 0, 0, 0.16));
  position: relative;
  padding: 20px 20px 10px 20px;
  color: #5a2d51;
  font-size: 16px;
  text-align: center;
}

.team-member-research-area h3 {
  font-size: 16px;
  font-weight: 400;
  color: #94618e;
}

#team-members-tier-one {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  gap: 30px;
  justify-content: center;
  align-content: center;
}

#team-members-tier-two {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  gap: 30px;
  justify-content: center;
  align-content: center;
}

#team-main {
  display: flex;
  flex-direction: column;
  gap: 100px;
}

#contact-main-div {
  width: 60vw;
  height: auto;
  display: flex;
  flex-wrap: wrap;
}

#contact-main-div-address {
  width: 30%;
  height: auto;
}

#location-icon {
  height: 49px;
  width: 49px;
  margin-right: 30px;
}

#contact-main-div-address p {
  display: inline;
}

#message-icon {
  height: 44px;
  width: 44px;
  margin-right: 30px;
}

#contact-main-div-address a {
  text-decoration: none;
  color: inherit;
}

#contact-main-div-message {
  width: 70%;
  height: auto;
}

#name,
#email {
  width: 49%;
  height: 59px;
  margin-bottom: 13px;
  border-color: #b9b7b7;
  border-width: 1px;
  border-style: solid;
  filter: drop-shadow(0px 3px 3px rgba(0, 0, 0, 0.16));
  background: #fefefe;
}

#name {
  margin-right: 9px;
}

#email {
  margin-right: 0;
}

#subject {
  width: 100%;
  height: 59px;
  margin-bottom: 13px;
  border-color: #b9b7b7;
  border-width: 1px;
  border-style: solid;
  filter: drop-shadow(0px 3px 3px rgba(0, 0, 0, 0.16));
  background: #fefefe;
}

#message {
  width: 100%;
  height: 144px;
  margin-bottom: 13px;
  border-color: #b9b7b7;
  border-width: 1px;
  border-style: solid;
  filter: drop-shadow(0px 3px 3px rgba(0, 0, 0, 0.16));
  background: #fefefe;
}

#submit-button {
  width: 100%;
  height: 57px;
  background-color: #94618e;
  margin-bottom: 13px;
  border-color: #b9b7b7;
  border-width: 1px;
  border-style: solid;
  filter: drop-shadow(0px 3px 3px rgba(0, 0, 0, 0.16));
  color: #f4decb;
  font-size: 20px;
}

#google-map-div {
  width: 100%;
  height: auto;
  filter: drop-shadow(6px 6px 3px rgba(0, 0, 0, 0.16));
  margin-top: 11px;
}

#google-map-image {
  width: 100%;
  height: auto;
}

::placeholder {
  color: #94618e;
  opacity: 0.5;
}

.search-field {
  background-image: url(/assets/images/search-menu-background.png);
  background-repeat: no-repeat;
  background-size: contain;
  color: white;
  padding-bottom: 10px;
  padding-top: 10px;
  border: none;
  width: 130px;
  height: 30px;
  font-size: small;
}

.search-field:focus {
  border: none;
  outline: none;
}

.search-field::placeholder {
  color: white;
  opacity: 1;
}

input,
textarea {
  padding-left: 15px;
  padding-bottom: 0;
  padding-top: 18px;
}

.yellow-ribbon-left {
  position: absolute;
  left: -35px;
  top: -28px;
  z-index: -1;
  height: 100px;
  width: 640px;
}

.yellow-ribbon-right {
  position: absolute;
  right: -20px;
  top: 40%;
  z-index: -1;
}

.h2-about-project-left {
  position: absolute;
  top: -5px;
  left: 2%;
}

.purple-ribbon-left {
  position: absolute;
  left: -17px;
  top: 30%;
  z-index: -1;
}

.purple-ribbon-right {
  width: 400px;
  position: absolute;
  right: -27px;
  top: -28px;
  z-index: -1;
}

.h2-about-project-right {
  position: absolute;
  top: -5px;
  right: 2%;
  color: #f8ecf8;
}

.toggle-title {
  cursor: pointer;
  user-select: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.content {
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.content.hidden {
  max-height: 0;
  padding: 0;
}

.arrow {
  display: inline-block;
  transition: transform 0.3s ease-out;
  margin-left: auto;
  font-size: 40px;
  color: #94618e;
  opacity: 0.4;
}

.arrow.rotate {
  transform: rotate(90deg);
}

#prizma-team-photo {
  width: 40%;
  margin-right: 5%;
}

#minipart-team-photo {
  width: 40%;
}

#news3-photo1 {
  width: 40%;
  margin-right: 5%;
  margin-bottom: 5%;
}

#news3-photo2 {
  width: 40%;
  margin-bottom: 5%;
}

#news3-photo3 {
  width: 40%;
  margin-right: 5%;
}

#news3-photo4 {
  width: 40%;
}

#news4-photo1 {
  width: 40%;
  margin-right: 5%;
  margin-bottom: 5%;
}

#news4-photo2 {
  width: 40%;
  margin-bottom: 5%;
}

#news4-photo3 {
  width: 40%;
  margin-right: 5%;
  margin-bottom: 5%;
}

#news4-photo4 {
  width: 40%;
  margin-bottom: 5%;
}

#news4-photo5 {
  width: 40%;
  margin-right: 5%;
}

#news4-photo6 {
  width: 40%;
}

#news6-photo1 {
  width: 40%;
  margin-right: 5%;
  margin-bottom: 5%;
}

#news6-photo2 {
  width: 40%;
  margin-bottom: 5%;
}

#news6-photo3 {
  width: 40%;
  margin-right: 5%;
  margin-bottom: 5%;
}

#news6-photo4 {
  width: 40%;
  margin-bottom: 5%;
}

#news-MAXQDA-photo1 {
  width: 40%;
  margin-right: 5%;
  margin-bottom: 5%;
}

#news-MAXQDA-photo2 {
  width: 40%;
  margin-bottom: 5%;
}

#news-MAXQDA-photo3 {
  width: 40%;
  margin-right: 5%;
  margin-bottom: 5%;
}

#news-MAXQDA-photo4 {
  width: 40%;
  margin-bottom: 5%;
}

#main-about-project {
  display: flex;
  flex-direction: column;
}

.left-rounded-rectangles {
  margin-left: -150px;
}

/* Responsive styles */
@media screen and (max-width: 800px) {
  header {
    height: 80vw;
  }

  .menu-toggle {
    display: block;
    padding-left: 20px;
  }

  .navigation ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 40px;
    left: 0;
    background-color: #5a2d51;
    width: 80%;
    padding: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    line-height: 40px;
    z-index: 1;
  }

  .navigation ul.show {
    display: flex;
  }

  .responsive-elements {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
    padding: 0 10px;
  }

  .flags-container {
    display: flex;
    gap: 10px;
    margin-right: 0;
    margin-left: 40vw;
  }

  h1 {
    font-size: 15px;
    top: 70px;
    filter: none !important;
  }

  #yellow-span {
    font-size: 37px;
    line-height: 52px;
    letter-spacing: 2px;
  }

  .h1-span-mobile {
    color: #5a2d51;
    padding: 6px;
    line-height: 1.5;
    border-radius: 5px;
  }

  #menu-div {
    display: flex;
    min-height: 30px;
  }

  .menu-toggle {
    position: static;
    margin-left: auto;
    margin-right: 10px;
  }

  #physical-address {
    position: relative;
    top: 20px;
    left: -20px;
  }

  #website-info {
    position: relative;
    bottom: 20px;
    right: -20px;
  }

  #footer-text {
    margin-left: 20px;
    margin-right: 20px;
  }

  .navigation li:hover {
    background-color: #451b3c;
  }

  .navigation li {
    padding: 0 20px;
    margin-left: 10px;
    /*margin-right: 150px;*/
    width: 70%;
  }

  footer {
    margin-top: -5px;
  }

  main {
    margin-top: 0;
  }

  .yellow-ribbon-left,
  .purple-ribbon-right {
    width: 250px;
    height: 100px;
  }

  .yellow-ribbon-left {
    left: -14px;
  }

  .purple-ribbon-right {
    right: -17px;
  }

  #yellow-ribbon-left-first {
    height: 130px;
  }

  .rounded-rectangles {
    margin-left: 0;
    margin-right: 0;
    width: 90%;
    padding-left: 7%;
    padding-right: 7%;
  }

  .toggle-title {
    padding-top: 30px;
    padding-bottom: 30px;
  }

  #contact-main-div {
    flex-direction: column;
    margin-top: -35%;
    padding-top: 0;
  }

  #contact-main-div-message {
    width: 100%;
  }

  #contact-main-div input {
    width: 100%;
  }

  #contact-main-div-address {
    width: 100%;
  }
}

#backToTop {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #5a2d51;
  color: #f4decb;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  right: 5% !important;
}

#backToTop:hover {
  background-color: #94618e;
}

.content-slide-link:hover {
  background-color: white;
  opacity: 30%;
}

@media screen and (max-width: 800px) {
  #backToTop {
    right: -40px !important;
  }
}

.flags.active-flag {
  opacity: 1;
  border: 2px solid #94618e;
  border-radius: 4px;
}

.flags {
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.flags:hover {
  opacity: 1;
}

.article a {
  color: #94618e;
}

.search-criteria {
  margin-left: -12px;
  /* margin-right: -100px; */
}

.dropdown-submenu {
  position: relative;
}

.dropdown-submenu > .dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -0.1rem;
}

.dropdown-submenu:hover > .dropdown-menu {
  display: block;
}
