@font-face {
    font-family: Silom;
    src: url(fonts/Silom.ttf);
}

@font-face {
    font-family: Replica-Bold;
    src: url(fonts/replica/Replica_Regular.otf);
}

@font-face {
    font-family: Roboto;
    src: url(fonts/roboto/Roboto-Regular.ttf);
}

@font-face {
    font-family: Roboto-thin;
    src: url(fonts/roboto/Roboto-Light.ttf);
}

/* CSS CLEARFIX - Credit to https://piccalil.li/blog/a-modern-css-reset/ */
/* ####################### */
/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role='list'],
ol[role='list'] {
  list-style: none;
}

/* Set core root defaults */
html:focus-within {
  scroll-behavior: smooth;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
}

/* Make images easier to work with */
img,
picture {
  max-width: 100%;
  display: block;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}

/* Remove all animations, transitions and smooth scroll for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
   scroll-behavior: auto;
  }
  
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ############### Document Styling */
a {
    word-wrap:break-word;
}
#banner {
    display: block;
}
#banner_mobile {
    display: none;
}
.organisers h5, .organisers g6 {
    margin-bottom: 0;
}

.entries, .editors {
    border-left: 10px solid #27CFE8;
}
.editors h5 {
    margin-bottom: 0;
}
.entries h2, .entries p, .editors div {
    padding-left: 12px;
}
h1 {
    font-family: Silom, Arial, Helvetica, sans-serif;
}
h2 {
    font-family: Replica-regular, Arial, Helvetica, sans-serif;
}
h3 {
    font-family: Roboto-thin;
    font-size: 1rem;
}
h5 {
    font-family: Roboto, Arial, Helvetica, sans-serif;
    font-size: 1rem;
}
h6 {
    font-family: Roboto, Arial, Helvetica, sans-serif;
    font-size: 1rem;
}
p {
    font-family: Roboto-thin, Arial, Helvetica, sans-serif;
    font-size: 1rem;
}
span {
    font-family: Roboto, Arial, Helvetica, sans-serif;
    font-size: 1rem;
    font-weight: bold;
}
button {
    font-family: Replica-regular, Arial, Helvetica, sans-serif;
    cursor: pointer;
}
a {
    font-family: Roboto-thin, Arial, Helvetica, sans-serif;
    font-size: 1rem;
}
body {
    max-width: 1024px;
    margin: 0 auto;
    background-color: #27CFE8;
    font-size: 16px;
}
.body_wrap {
    box-shadow: inset 0 -3em 3em rgba(0, 0, 0, 0.1),
    0.3em 0.3em 1em rgba(0, 0, 0, 0.3);
}
.body_copy_wrap {
    background-color: white;
    padding: 1em;
    border-bottom: 10px solid #27CFE8
}
span {
    font-weight: bold;
}

.button {
    background-color: #27CFE8;
    border: none;
    color: white;
    padding: 16px 64px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    transition-duration: 0.2s;
    border-radius: 4px;
    margin: 0 auto;
}

.button:hover {
    background-color: #F79985;
    color: white;
}

#uonlogo {
 max-width: 160px;
 width: 50%;
 margin: 0 1em 0 1em;
}
#unisalogo {
 max-width: 170px;
 width: 50%;
 margin: 0 1em 0 1em;
}
.footerlogos {
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    padding: 1em;
    padding-top: 2em;
}

@media screen and (max-width: 640px) {
    #banner {
        display: none;
    }
    #banner_mobile {
        display: block;
    }
}