@font-face {
  font-family: 'GFS Neohellenic';
  src: url('GFSNeohellenic-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'GFS Neohellenic';
  src: url('GFSNeohellenic-Bold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'GFS Neohellenic';
  src: url('GFSNeohellenic-Italic.ttf') format('truetype');
  font-weight: normal;
  font-style: italic;
}

@font-face {
  font-family: 'GFS Neohellenic';
  src: url('GFSNeohellenic-BoldItalic.ttf') format('truetype');
  font-weight: bold;
  font-style: italic;
}

body, html {
  margin: 0;
  padding: 0;
  font-size: 1.3rem;
  font-family: 'GFS Neohellenic', sans-serif;
}

body {
  background: url('archimede.jpg') no-repeat center center fixed;
  background-size: cover;
  color: white;
}

h1 {
  font-size: 3rem;
  text-transform: uppercase;
  margin: 5px;
  word-break: break-word;
  line-height: 1.2;
  overflow-wrap: break-word;
}

h2 {
  font-size: 1.3rem;
  text-transform: uppercase;
  margin: 5px;
  word-break: break-word;
  line-height: 1.2;
  overflow-wrap: break-word;
}

.title h2 {
  color: #eec657;
}

a {
  color: #68b0ad;
  text-decoration: underline;
}

a:hover {
  text-decoration: underline;
}

.container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  border-radius: 10px; 
  box-sizing: border-box;
}

.overlay {
  background-color: rgba(0, 0, 0, 0.8);
  border-radius: 10px; 
  padding: 20px;
  margin: 20px;
}

.title {
  text-align: center;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  max-width: 100%;
}

.logo-box {
  position: relative;
  margin: 0;
  background-color: rgb(0, 0, 0);
  padding: 10px;
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
}

.logo-box img {
  max-width: 300px;
  width: 100%;
  height: auto;
  margin: 20px;
}

@media (min-width: 500px) {
  .logo-box {
    position: relative;
    bottom: auto;
    right: auto;
    margin: 0;
    flex-flow: row wrap;
    border-radius: 0;
    padding: 20px 30px;
    justify-content: center;
  }

  img.logo-dm {
    max-width: 200px;
    margin: 0;
    margin-left: 20px;
  }

  img.logo-unipd {
    max-width: 150px;
    margin: 0;
    margin-right: 20px;
  }
}

@media (min-width: 1300px) {
  .logo-box {
    position: fixed;
    bottom: 20px;
    right: 20px;
    border-radius: 10px;
    flex-flow: column nowrap;
  }

  img.logo-dm {
    max-width: 150px;
    margin: 0;
    margin-top: 20px;
  }

  img.logo-unipd {
    margin: 0;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.6rem;
  }
  
  h2 {
    font-size: 1.1rem;
  }
}
