@font-face {
  font-family: LatoRegular;
  src: url(assets/font/Lato-Regular.ttf);
  font-weight: normal;
}

@font-face {
  font-family: LatoBold;
  src: url(assets/font/Lato-Bold.ttf);
  font-weight: bold;
}

* {
  margin: 0;
  padding: 0;
  font-family: LatoRegular, sans-serif;
}

a {
  text-decoration: none;
}

:root {
  --orange: rgba(236, 116, 4, 1);
  --darkOrange: rgb(184, 90, 2);
  --light-green: rgba(0, 145, 168, 1);
  --green: rgba(0, 97, 122, 1);
  --black: #1e1e1e;
  --white: #ffffff;
}

.logo {
  width: 90vw;
  max-height: 70%;
  object-fit: contain;
}

.logo#uni-logo-text {
  height: 80%;
  object-fit: contain;
}

#uni_logo,
#logo_fg,
#logo_imis {
  display: none;
}

header {
  height: 4.5rem;
  display: flex;
  flex-direction: row;
  width: 100%;
  align-items: center;
  justify-content: space-around;
  background-color: var(--white);
  filter: drop-shadow(0rem 0rem 9px var(--green));
}

footer ul {
  display: flex;
}

footer ul li {
  list-style: none;
  padding: 0 2rem;
}

footer a {
  text-decoration: none;
  color: var(--green);
  font-size: 20px;
  padding: 0.5rem;
}

body {
  font-size: 1.25rem;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

button {
  font-size: 1.5rem;
}

a {
  font-size: 1.25rem;
}

h1 {
  color: var(--green);
  width: min(100%, 550px);
}

section:has(h1) {
  display: flex;
  justify-content: center;
}

h3 {
  color: var(--orange);
}

section {
  text-align: center;
  width: min(90%, 750px);
  margin-inline-start: auto;
  margin-inline-end: auto;
  padding: 1rem 1rem;
}

.bg_dark {
  background-color: var(--green);
  padding: 1rem;
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.margin-top {
  margin-top: 4rem;
}

.bg_dark a {
  color: var(--white);
}

.btn-white {
  background-color: var(--white);
  color: var(--green);
  padding: 0.5rem 0.75rem;
  border: none;
  border-radius: 10px;
  margin: 1rem;
  cursor: pointer;
}

.border {
  background-color: var(--green);
  color: var(--white);
}

footer {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  height: 4rem;
  background-color: var(--green);
  color: var(--white);
  font-family: LatoRegular;
}

footer a {
  color: var(--white);
}

footer a:hover,
a > button:hover {
  text-decoration: underline;
}

button {
  height: 65px;
}

p {
  text-align: justify;
  text-wrap: pretty;
  hyphens: auto;
  line-height: 1.75rem;
}

@media only screen and (max-width: 600px) {
  #uni-logo-text {
    display: block;
  }

  header {
    flex-direction: column-reverse;
  }

  header > img {
    height: 1rem;
  }

  footer {
    height: auto;
  }

  footer ul {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  footer ul li {
    padding: 0.5rem 0rem;
  }

  .margin-top {
    margin-top: 2rem;
  }

  section {
    text-align: center;
  }
}

@media only screen and (min-width: 820px) {
  #logo_fg {
    display: block;
  }
  .logo {
    max-width: 18%;
  }
}

@media only screen and (min-width: 1080px) {
  #uni-logo-text {
    display: none;
  }
  #uni_logo,
  #logo_fg,
  #logo_imis {
    display: block;
  }

  header {
    height: 6.5rem;
  }

  .boxImg {
    width: 20%;
  }
}
