@import url("https://fonts.googleapis.com/css?family=Playfair Display");

html {
  width: 100%;
    height: 100%;
    margin: 0px;
    padding: 0px;
  font-size: 45%;
}

@media only screen and (max-width: 320px) {
  html {
    font-size: 35%;
  }
}

@media only screen and (min-width: 768px) {
  html {
    font-size: 75%;
  }
}

@media only screen and (min-width: 1024px) {
  html {
    font-size: 100%;
  }
}

body {
  width: 100%;
  height: 100%;
  padding: 0px;
  margin: 0px;
}

.main-content {
  background-color: whitesmoke;
  color: #0f0f2f;
  text-decoration: none;
  font-family: "Playfair Display";
  font-weight: 200;
}

.main-page-panel-content
{
  margin-left:auto;
  margin-right: auto;
  max-width: 1280px;
}

/* TOP NAVIGATION BAR */

.topnav {
  background-color: #0f0f2f;
  color: whitesmoke;
  overflow: hidden;

  font-size: 1.5em;
  text-decoration: none;
  font-family: "Playfair Display";
  font-weight: 200;
}

a.topnav-item {
  text-align: center;
  display: none;
  float: right;
  color: inherit;
  text-decoration: none;

  padding: 1.5em;
}

a.topnav-item:hover {
  color: #0f0f2f;
  background-color: whitesmoke;
}

span.topnav-item {
  text-align: center;
  display: block;
  float: left;

  padding: 1.5em;
}

.topnav-item#topnav-logo-big {
  float: left;
  height: 3.25em;
  width: auto;
  display: block;
}

.topnav-item#topnav-logo-small {
  float: left;
  height: 3.25em;
  width: auto;
  display: none;
}

.topnav-icon {
  text-align: center;
  display: block;
  float: right;
  color: inherit;

  padding: 1.5em;
}

.topnav-icon:hover {
  color: #0f0f2f;
  background-color: whitesmoke;
}

@media only screen and (max-width: 320px) {
  span.topnav-item {
    display: none;
    padding: 1.5em;
  }

  a.topnav-item {
    display: none;
  }

  .topnav-icon {
    display: block;
    padding: 1.5em;
  }

  .topnav-item#topnav-logo-big {
    display: none;
  }

  .topnav-item#topnav-logo-small {
    display: block;
  }
}

@media only screen and (min-width: 768px) {
  span.topnav-item {
    display: block;
    padding: 1em;
  }

  .topnav a:last-child {
    display: block;
    padding: 1em;
  }

  .topnav-icon {
    display: block;
    padding: 1em;
  }
}

@media only screen and (max-width: 1024px) {
  .topnav-responsive {
    position: relative;
  }

  .topnav-responsive .topnav-icon {
    position: absolute;
    right: 0;
    top: 0;
  }

  .topnav-responsive .topnav-item:not(a.topnav-item) {
    float: none;
    display: none;
    text-align: left;
  }

  .topnav-responsive #topnav-logo-big {
    display: none;
  }

  .topnav-responsive #topnav-logo-small {
    display: none;
  }

  .topnav-responsive a.topnav-item {
    float: none;
    display: block;
    text-align: left;
  }
}

/* FOR LARGER SCREEN 1024px */
@media only screen and (min-width: 1024px) {
  span.topnav-item {
    display: block;
    padding: 1em;
  }

  a.topnav-item {
    display: block;
    padding: 1em;
  }

  .topnav-icon {
    display: none;
    padding: 1em;
  }
}

/* END OF TOP NAVIGATON BAR */

/* MAIN PANEL */

.main-panel {
  position: relative;
  text-align: center;
  width: 100%;
  color: whitesmoke;
}

.main-img {
  width: 100%;
  height: 100vh;
  filter: brightness(30%);
  object-fit: cover;
  -webkit-user-drag: none;
  user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}

.main-panel-content {
  position: absolute;
  display: inline-block;
  transform: translate(-50%, -35%);
  text-align: left;
  left: 50%;
  top: 35%;
  /*text-align: center;*/
  font-family: "Playfair Display";
  font-weight: 100;
  font-size: 2.5em;
  color: whitesmoke;
}

.main-panel-content-button {
  padding: 0.8em;

  width: 18em;

  color: whitesmoke;
  background-color: #0f0f2f;

  border-style: solid;
  border-width: 1px;
  border-color: whitesmoke;
  border-radius: 0.5em;

  margin-right: 0.5em;
  margin-bottom: 0.5em;

  font-family: "Playfair Display";
  font-weight: 100;
  font-size: 0.6em;
}

.main-panel-content-button:hover {
  color: #0f0f2f;
  background-color: whitesmoke;
}

.horizontal-line {
  width: 60%;
  border-style: solid;
  border-width: 0.2em;
  border-color: #0f0f2f;
  margin-top: 1em;
  background-color: #0f0f2f;
}

@media only screen and (max-width: 320px) {
  .main-img {
    height: 100vh;
  }

  .main-panel-content {
    font-size: 2.5em;
  }
}

@media only screen and (min-width: 768px) {
  .main-img {
    height: 60vh;
  }

  .main-panel-content {
    font-size: 2em;
  }
}

@media only screen and (min-width: 1024px) {
  .main-img {
    height: 60vh;
  }

  .main-panel-content {
    font-size: 2em;
  }
}

/* END OF MAIN PANEL */

/* NEWS PANEL */
.news-title {
  font-family: "Playfair Display";
  font-weight: 400;
  font-size: 3em;
  text-align: center;
  margin-bottom: 0px;
}

.news-description {
  font-family: "Playfair Display";
  font-weight: 400;
  font-size: 1.5em;
  margin-left: 1.5em;
  margin-right: 1.5em;
  margin-top: 1em;
  text-align: justify;
}

.panel-image-right {
  max-width: 96%;
  width: 96%;
  margin-left: 2%;
  margin-top: 1.5em;
  margin-bottom: 1.5em;
  height: auto;
}

.panel-image-left {
  max-width: 96%;
  width: 96%;
  margin-left: 2%;
  margin-top: 1.5em;
  margin-bottom: 1.5em;
  height: auto;
}

.panel-button {
  max-width: 70%;
  width: 70%;
  height: 3em;
  margin-left: 15%;
  margin-top: 0.5em;
  margin-bottom: 1.5em;

  color: whitesmoke;
  background-color: #0f0f2f;

  border-style: solid;
  border-width: 2px;
  border-color: whitesmoke;
  border-radius: 0.5em;

  font-family: "Playfair Display";
  font-weight: 300;
  font-size: 2em;
}

.panel-button:hover {
  color: #0f0f2f;
  background-color: whitesmoke;
  border-color: #0f0f2f;
}

.panel-button-white {
  max-width: 70%;
  width: 70%;
  height: 3em;
  margin-left: 15%;
  margin-top: 0.5em;
  margin-bottom: 1.5em;

  color: #0f0f2f;
  background-color: whitesmoke;

  border-style: solid;
  border-width: 2px;
  border-color: #0f0f2f;
  border-radius: 0.5em;

  font-family: "Playfair Display";
  font-weight: 300;
  font-size: 2em;
}
.panel-button-white:hover {
  color: whitesmoke;
  background-color: #0f0f2f;
  border-color: whitesmoke;
}

@media only screen and (max-width: 320px) {
}

@media only screen and (min-width: 768px) {
  .news-description {
    width: 35%;
    float: left;
    margin-left: 15%;
    font-size: 1.75em;
  }

  .panel-image-right {
    width: 35%;
    height: auto;
  }

  .panel-image-left {
    width: 35%;
    height: auto;
    float: left;
    margin-left: 15%;
  }
}

@media only screen and (min-width: 1024px) {
  .news-description {
    width: 35%;
    float: left;
    margin-left: 15%;
  }

  .panel-image {
    width: 35%;
    height: auto;
  }
}

/* END OF NEWS PANEL */

/* TOOLS PANEL */

.tools-panel {
  background-color: #0f0f2f;
  margin-top: -5px;
}

.tools-title {
  font-family: "Playfair Display";
  font-weight: 400;
  font-size: 3em;
  text-align: center;
  margin-bottom: 0px;
  margin-top: 0px;
  color: whitesmoke;
}

.horizontal-line-white {
  width: 60%;
  border-style: solid;
  border-width: 0.2em;
  border-color: whitesmoke;
  margin-top: 1em;
  background-color: whitesmoke;
}

.tools-description {
  font-family: "Playfair Display";
  font-weight: 400;
  font-size: 1.5em;
  margin-left: 1.5em;
  margin-right: 1.5em;
  margin-top: 1em;
  text-align: justify;
  color: whitesmoke;
}

@media only screen and (max-width: 320px) {
}

@media only screen and (min-width: 768px) {
  .tools-description {
    width: 35%;
    float: none;
    display: inline-block;
    margin-left: 2%;
    font-size: 1.75em;
    margin-top: 1.5em;
    margin-bottom: 1.5em;
  }
}

@media only screen and (min-width: 1024px) {
  .tools-description {
    width: 35%;
    float: none;
    display: inline-block;
    margin-left: 2%;
    font-size: 1.75em;
    margin-top: 1.5em;
    margin-bottom: 1.5em;
  }
}

/* END OF TOOLS PANEL */

/* TALKS PANEL */

.talks-panel {
  margin-top: -10px;
  margin-left:auto;
  margin-right: auto;
  max-width: 1280px;
}

.talks-title {
  font-family: "Playfair Display";
  font-weight: 400;
  font-size: 3em;
  text-align: center;
  margin-bottom: 0px;
}

.talks-description {
  font-family: "Playfair Display";
  font-weight: 400;
  font-size: 1.5em;
  margin-left: 1.5em;
  margin-right: 1.5em;
  margin-top: 1em;
  text-align: justify;
}

@media only screen and (max-width: 320px) {
}

@media only screen and (min-width: 768px) {
  .talks-description {
    width: 35%;
    float: left;
    margin-left: 15%;
    font-size: 1.75em;
  }
}

@media only screen and (min-width: 1024px) {
  .talks-description {
    width: 35%;
    float: left;
    margin-left: 15%;
  }
}

/* END OF TALKS PANEL */

/* PROJECTS PANEL */

.projects-panel {
  background-color: #0f0f2f;
  margin-top: -10px;
  margin-bottom: 0px;
}

.projects-title {
  font-family: "Playfair Display";
  font-weight: 400;
  font-size: 3em;
  text-align: center;
  margin-bottom: 0px;
  margin-top: 0px;
  color: whitesmoke;
}

.horizontal-line-white {
  width: 60%;
  border-style: solid;
  border-width: 0.2em;
  border-color: whitesmoke;
  margin-top: 1em;
  background-color: whitesmoke;
}

.projects-description {
  font-family: "Playfair Display";
  font-weight: 400;
  font-size: 1.5em;
  margin-left: 1.5em;
  margin-right: 1.5em;
  margin-top: 1em;
  text-align: justify;
  color: whitesmoke;
}

@media only screen and (max-width: 320px) {
}

@media only screen and (min-width: 768px) {
  .projects-description {
    width: 35%;
    float: none;
    display: inline-block;
    margin-left: 2%;
    font-size: 1.75em;
    margin-top: 1.5em;
    margin-bottom: 1.5em;
  }
}

@media only screen and (min-width: 1024px) {
  .projects-description {
    width: 35%;
    float: none;
    display: inline-block;
    margin-left: 2%;
    font-size: 1.75em;
    margin-top: 1.5em;
    margin-bottom: 1.5em;
  }
}

/* EMD OF PROJECTS PANEL */

/* BOT NAVIGATION BAR */

.botnav {
  background-color: #0f0f2f;
  display: block;
}

.botnav-text {
  text-align: center;
  font-family: "Playfair Display";
  font-weight: 200;
  font-size: 1em;
  color: whitesmoke;
  padding: 1em;
  margin: 0px;
}

/* END OF BOT NAVIGATION BAR */


/* NEWS PAGES */

.news-panels-content
{
  width: 80%;
  margin-left: auto;
  margin-right: auto;
  max-width: 1280px;
  margin-top: 50px;
}


.news-content
{
  width: 60%;
  margin-left: auto;
  margin-right: auto;
  max-width: 1024px;
  margin-top: 50px;
  
}

@media only screen and (max-width: 320px) {
  .news-panels-content
  {
   width: 90%; 
  }
  .news-content {
    width: 90%;
  }
}

@media only screen and (min-width: 768px) {
  .news-panels-content
  {
   width: 80%; 
  }
  .news-content {
    width: 80%;
  }
}

@media only screen and (min-width: 1024px) {
  .news-panels-content
  {
   width: 80%; 
  }
  .news-content {
    width: 60%;
  }
}

.news-page-panel
{
  padding: 5%;
  background-color: #0f0f2f;
  margin: 0px 20px 20px 0px;
}

.news-page-panel-header
{
  font-family: "Playfair Display";
  font-weight: 200;
  font-size: 2em;
  width: 100%;
  color: whitesmoke;
  text-align: center;
}

.news-page-panel-image
{
  margin-top: 20px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  max-height: 40%;
  max-width: 100%;
}

.news-page-panel-body
{
  text-align: justify;
  font-family: "Playfair Display";
  font-size: 1em;
  color: whitesmoke;
  padding: 10px;
}

.news-page-panel-link-button
{
  padding: 5px 15px 5px 15px;
  border: 1px solid whitesmoke;
  color: whitesmoke;
  background-color: #0f0f2f;
  text-decoration: none;
  width: 100%;
  display: block;
  text-align: center;
  border-radius: 3px;
}

.news-page-panel-link-button:hover
{
  border: 1px solid #0f0f2f;
  color: #0f0f2f;
  background-color: whitesmoke;
}

.news-title
{
  text-align: center;
  font-family: "Playfair Display";
  font-weight: 200;
  font-size: 3em;
  width: 100%;
}

.news-body
{
  text-align: justify;
  font-family: "Playfair Display";
  font-size: 2em;
  width: 100%;
  padding-bottom: 50px;
}

.news-image
{
  margin-top: 20px;
  width: auto;
  max-width: 100%;
  height: 100%;
  max-height: 640px;
}

/* END OF NEWS PAGES */