html {
  line-height: 1.15;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
}

article, aside, footer, header, nav, section {
  display: block;
}

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

figcaption, figure, main {
  display: block;
}

figure {
  margin: 1em 40px;
}

hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

pre {
  font-family: monospace, monospace;
  font-size: 1em;
}

a {
  background-color: transparent;
  -webkit-text-decoration-skip: objects;
}

abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}

b, strong {
  font-weight: inherit;
}

b, strong {
  font-weight: bolder;
}

code, kbd, samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

dfn {
  font-style: italic;
}

mark {
  background-color: #ff0;
  color: #000;
}

small {
  font-size: 80%;
}

sub, sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

audio, video {
  display: inline-block;
}

audio:not([controls]) {
  display: none;
  height: 0;
}

img {
  border-style: none;
}

svg:not(:root) {
  overflow: hidden;
}

button, input, optgroup, select, textarea {
  font-family: sans-serif;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

button, input {
  overflow: visible;
}

button, select {
  text-transform: none;
}

button, html [type=button], [type=reset], [type=submit] {
  -webkit-appearance: button;
}

button::-moz-focus-inner, [type=button]::-moz-focus-inner, [type=reset]::-moz-focus-inner, [type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

button:-moz-focusring, [type=button]:-moz-focusring, [type=reset]:-moz-focusring, [type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}

progress {
  display: inline-block;
  vertical-align: baseline;
}

textarea {
  overflow: auto;
}

[type=checkbox], [type=radio] {
  box-sizing: border-box;
  padding: 0;
}

[type=number]::-webkit-inner-spin-button, [type=number]::-webkit-outer-spin-button {
  height: auto;
}

[type=search] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

[type=search]::-webkit-search-cancel-button, [type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

details, menu {
  display: block;
}

summary {
  display: list-item;
}

canvas {
  display: inline-block;
}

template {
  display: none;
}

[hidden] {
  display: none;
}

.clearfix:after {
  visibility: hidden;
  display: block;
  font-size: 0;
  content: "";
  clear: both;
  height: 0;
}

html {
  box-sizing: border-box;
}

*, *:before, *:after {
  box-sizing: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  white-space: nowrap;
  -webkit-clip-path: inset(100%);
          clip-path: inset(100%);
  clip: rect(0 0 0 0);
  overflow: hidden;
}

* {
  margin: 0;
  padding: 0;
}

.wrapper {
  max-width: 1780px;
  width: 90%;
  margin: 0 auto;
}

html,
body {
  font-size: 125%;
}

body {
  font-family: "Roboto Serif", sans-serif;
  font-size: clamp(1rem, 2vw, 3rem);
  background-color: rgb(103, 204, 240);
}

ul {
  list-style: none;
  text-decoration: none;
  margin: 0;
  padding: 0;
}

a {
  font-size: clamp(0.5rem, 2vw, 3rem);
  color: purple;
  text-decoration: none;
  text-align: center;
}

li a:hover {
  color: salmon;
}

h2 {
  color: purple;
  padding: 55px 0;
}

h3 {
  padding: 20px;
}

p {
  padding: 20px;
  line-height: 1.85rem;
}

.menu-checkbox {
  display: none;
}

img {
  display: block;
  width: 100%;
}

.navContainer {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  flex-wrap: wrap;
  margin: 5% 0 13% 0;
}

.headerImgs {
  position: relative;
}

.logoContainer {
  position: absolute;
  top: -16%;
  left: 45%;
  right: 45%;
  width: 15%;
}

.logo {
  width: 100%;
  z-index: 10;
}

.navContainer {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  flex-wrap: wrap;
  margin: 5% 0 13% 0;
}

.registrationLabel {
  text-align: center;
}

.registrationButton {
  font-size: 1rem;
  display: block;
  color: #113362;
  background-color: #FB4950;
  width: 50%;
  padding: 5px;
  border-radius: 20px;
  margin: 0 auto;
}
.registrationButton:hover {
  color: #FB4950;
  background-color: #113362;
}

.event1 {
  color: #113362;
  background-color: #FB4950;
  text-align: center;
}

.eventContainer {
  background-color: white;
}

.covidInfoButton {
  font-size: 1rem;
}
.covidInfoButton:hover {
  color: #FB4950;
}

.sponsorLogos {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  -o-object-fit: cover;
     object-fit: cover;
}

.areej-logo,
.tac-logo {
  padding: 50px;
  max-width: 50%;
}

/* collapsed nav bar */
@media (max-width: 700px) {
  body,
html {
    font-size: 1rem;
  }
  .headerImgs {
    margin-top: 25%;
  }
  .navContainer {
    position: fixed;
    top: -500px;
    right: -500px;
    transition: all 5s ease-in-out;
    margin: 0;
  }
  nav .menuToggle {
    display: flex;
    flex-direction: column;
    margin-left: 90%;
    padding-top: 20px;
  }
  .menuButton:hover,
.menuButton:focus {
    border: salmon solid 2px;
  }
  .menuButton {
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 41px;
    height: 41px;
    cursor: pointer;
    transition: all 0.5s ease-in-out;
    background-color: white;
    border-radius: 50%;
    z-index: 30;
  }
  .menuButtonBurger {
    width: 25px;
    height: 3px;
    background: black;
    border-radius: 5px;
    transition: all 500ms ease-in-out;
  }
  .menuButtonBurger::before {
    content: "";
    position: absolute;
    width: 25px;
    height: 3px;
    background: black;
    border-radius: 5px;
    transition: all 500ms ease-in-out;
    margin-top: 8px;
    transform: translateY(-16px);
  }
  .menuButtonBurger::after {
    content: "";
    position: absolute;
    width: 25px;
    height: 3px;
    background: black;
    border-radius: 5px;
    transition: all 500ms ease-in-out;
    margin-top: -8px;
    transform: translateY(16px);
  }
  .menuButton.open .menuButtonBurger {
    transform: translateX(-50px);
    background: transparent;
  }
  .menuButton.open .menuButtonBurger::before {
    transform: rotate(45deg) translate(35px, -35px);
    margin: 0;
  }
  .menuButton.open .menuButtonBurger::after {
    transform: rotate(-45deg) translate(35px, 35px);
    margin: 0;
  }
  .menu-checkbox:checked + .navContainer {
    position: fixed;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-left: salmon solid 7px;
    background-color: rgb(103, 204, 240);
    width: 60vw;
    height: 225px;
    padding: 75px 0px 0px 24%;
    transition: all 600ms ease-in-out;
    text-align: right;
    z-index: 20;
    top: 0px;
    right: 0px;
    border-bottom-left-radius: 100%;
  }
  .menu-checkbox:checked + .navContainer li:nth-child(1) {
    position: relative;
    right: 67%;
    top: -28%;
  }
  .menu-checkbox:checked + .navContainer li:nth-child(2) {
    position: relative;
    right: 45%;
    top: -28%;
  }
  .menu-checkbox:checked + .navContainer li:nth-child(3) {
    position: relative;
    right: 10%;
    top: -28%;
  }
  .menu-checkbox:checked + .navContainer li:nth-child(4) {
    position: relative;
    right: 5%;
    top: -28%;
  }
  .menu-checkbox:checked + .navContainer li:nth-child(5) {
    position: relative;
    right: 0%;
    top: -28%;
  }
  .areej-logo,
.tac-logo {
    padding: 10px;
  }
}