html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

body {
  line-height: 1;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

* {
  text-decoration: none;
  box-sizing: border-box;
}
html{
    scroll-behavior: smooth;
}
/* page layout */
body {
  display: flex;
  font-family: "Inclusive Sans", sans-serif;
  background: #f1f1f1;
}

header {
  height: 100vh;
  background-image: linear-gradient(#fff3, #fff7), url(../images/africabg.webp);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  flex-basis: 40%;
  box-shadow: -1px -1px 15px #1117;
  text-align: center;
  z-index: 10;
}
.header-div {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 100px;
  background-image: url(../images/Africa\ bg1.jpg);
  background-size: contain;
  background-position: center;
  box-shadow: -1px -1px 15px #1117;
}
header,
section {
  position: sticky;
  top: 0;
}

main {
  flex-basis: 60%;
}

section {
  height: 100vh;
}

/* my codes */
.container {
  padding: 1.3em 2em;
}

.section-title {
  background: linear-gradient(
    90deg,
    #850c0c,
    #640303,
    #ffcc12,
    #992d2d,
    #640303
  );
  background-size: 150%;
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  font-size: 3em;
  margin-top: 5%;
  line-height: 60px;
  font-family: "Mooli", sans-serif;
  animation: flow 7s linear infinite alternate;
  /* text-transform: uppercase; */
  font-weight: 550;
}

@keyframes flow {
  100% {
    background-position: right;
  }
}
.text {
  font-size: 0.95em;
  color: #333;
  line-height: 20px;
}
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4.5em;
}
header .text {
  font-size: 1.15em;
  line-height: 25px;
}
nav .logo {
  width: 70px;
}
.cta {
  padding: 10px 25px;
  border-radius: 4px;
  background: #720505;
  color: #f9f9f9;
  cursor: pointer;
}
.wel {
  font-size: 22px;
  color: #222;
  margin-bottom: 1em;
}
header h1 {
  font-family: "Young Serif", serif;
  font-size: 4em;
  line-height: 70px;
  color: #640303;
  margin-bottom: 20px;
  font-weight: 550;
}
.date-container {
  margin: 1em 0 2em;
}
.date-container span {
  font-size: 20px;
  color: #410808;
}

/* event outline */
.event-outline {
  background: #f3f3f3;
}

.grid {
  margin-top: 4em;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4em;
}
.grid-item {
  padding: 0.5em 1em 2em;
  background: #f2f2f2;
  border-radius: 5px;
  box-shadow: 1px 0 10px #9995;
  position: relative;
}
.grid-item h1 {
  font-size: 100px;
  text-align: right;
  color: #888;
  margin-bottom: 15px;
}
.grid-item h3 {
  font-family: "Mooli", sans-serif;
  font-size: 1.7em;
  margin-bottom: 20px;
  color: #350101;
  font-weight: 550;
}
.date {
  margin: 0.7em 0;
  display: flex;
  align-items: center;
  gap: 1em;
}
.date span {
  font-size: 16px;
  color: #410808;
  line-height: 20px;
}
.spacer{
    background: #1237;
}
/* master class flyer */
.master-class {
  background: #f1f1f1;
}
.master-class img {
  width: 100%;
  height: 100%;
  /* object-fit: cover; */
  object-position: center;
}

/* master class outline */
.m-c-outline {
  background: #f6f6f6;
}
.m-c-outline .grid-item {
  background: #f6f6f6;
}
.m-c-outline .text, .summit-fee .text {
  margin-bottom: 1.1em;
}
.text span {
  font-size: 17px;
  color: #5c0505;
  line-height: 20px;
}
/* summit fee */
.summit-fee{
    background-color: #fcfcfc;
}
.summit-fee .grid-item{
    background: #fcfcfc;
}

/* footer */
.footer{
    background: #f0eaea;
    position: relative;
    /* make sure to adjust the min height */
    min-height: 400px;
  }
  .social-links {
    /* padding: 0.5em; */
    margin: 3em 0;
    display: flex;
    gap: 3em;
    /* font-size: 50px; */
    border-radius: 10px;
  }
  .social-links .socail-icon {
    font-size: 35px;
    padding: 0.4em 0.5em;
    background: #5c0101;
    border-radius: 6px;
    transition: 0.2s ease-out;
  }
  .social-links .socail-icon:hover {
    transform: scale(1.12);
  }
  
  footer{
    width: 100%;
    height: 100px;
    background: #2c0101;
    color: #f4f4f4;
    position: absolute;
    bottom: 0;
  }
  footer .text{
    text-align: center;
    color: #f9f9f9;
    margin-bottom: 1em;
  }


/* mobile */
@media only screen and (max-width: 750px) {
  body {
    flex-wrap: wrap;
  }
  header {
    z-index: 0;
  }
  header,
  section {
    position: relative;
  }
  header,
  section {
    height: fit-content;
  }
  header,
  main {
    flex-basis: 100%;
    overflow: hidden;
  }

  header p {
    font-size: 1.1em;
  }
  .header-div {
    position: relative;
    margin-top: 2em;
  }
  nav {
    margin-bottom: 2.5em;
  }
  nav .logo {
    width: 54px;
  }
  header h1 {
    margin-bottom: 15px;
  }
  .container{
    padding: 1.3em;
}
  .section-title {
    margin-top: 0;
    font-size: 2.3em;
  }
  .grid {
    grid-template-columns: none;
    margin-top: 2em;
    gap: 2em;
  }
  .master-class {
    height: 400px;
  }
  .hide-title {
    display: none;
  }
  
.social-links {
    /* padding: 0.5em; */
    margin: 2em 0;
    gap: 2em;
    /* font-size: 50px; */
  }
  .social-links .socail-icon {
    font-size: 25px;
  }
  footer{
    position: relative;
    margin-top: 4em;
    /* height: fit-content; */
  }
  .footer{
    padding-bottom: 0;
  }
}
