/* css reset */
* {
  box-sizing: border-box;
}

body,
html,
div,
blockquote,
img,
label,
p,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
ul,
ol,
li,
dl,
dt,
dd,
form,
a,
fieldset,
input,
th,
td {
  margin: 0;
  padding: 0;
  border: 0;
  outline: none;
}

body {
  line-height: 1.5em;
  font-size: 88%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: 100%;
  padding: 0.6em 0;
  text-transform: uppercase;
}

ul,
ol {
  list-style: none;
}

a {
  color: black;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.floatLeft {
  float: left;
  padding: 0.5em 0.5em 0.5em 0;
}

.floatRight {
  float: right;
  padding: 0.5em 0 0.5em 0.5em;
}

/* different element specific css rules */
p,
h1,
h2,
h3 {
  text-align: justify;
}

p {
  font-family: "Roboto Slab", serif;
  margin: 1em 0;
  font-size: 1.1em;
  line-height: 1.6em;
}

h3 {
  font-family: "Staatliches", cursive;
  font-weight: 200;
  letter-spacing: 0.1em;
  font-size: 1em;
}

h2 {
  font-family: "Russo One", sans-serif;
  font-size: 0.9em;
  font-weight: 100;
  letter-spacing: 0.2em;
}

h1 {
  font-family: "Passion One", cursive;
  font-size: 2em;
  font-weight: 100;
  padding-bottom: 0.1em;
  letter-spacing: 0.2em;
  text-align: center;
}

/* header css section */

.header,
.DOB {
  text-align: center;
}

.DOB {
  font-size: 1em;
}

.green {
  color: green;
  text-decoration: none;
}

.header > figure.img {
  width: 100%;
  margin: 0;
  padding: 0;
}

.header > figure > img.size {
  width: 100%;
  padding-top: 0.5em;
}

figcaption {
  text-align: left;
  font-size: 0.9em;
  font-family: "Roboto Slab", serif;
}

/* achievement css section */
.achievements {
  width: 100%;
}

.achievements > article > figure.fig {
  width: 100%;
  margin: 0;
  padding: 0;
  text-align: center;
}

.achievements > article > figure > img.size {
  width: 100%;
  text-align: center;
}

.achievements > article > iframe.frame {
  width: 100%;
}

/* quotes section */
.quotes {
  display: block;
  margin: 1.2em 0;
  font-size: 1em;
  font-family: "Bebas Neue", cursive;
  letter-spacing: 0.1em;
}

/* footer css section */
footer {
  background: #161925;
  width: 100%;
  padding: 0.3em 0;
}

footer ul {
  width: 80%;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  padding: 0.5em 0;
}

footer ul li a {
  color: #fff;
  cursor: pointer;
}

#date {
  padding-top: 0.5em 0;
  width: 80%;
  margin: 0 auto;
  font-size: 0.4em;
  text-align: center;
  color: #fff;
}

.container {
  width: 95%;
  margin: 0 auto;
}

.link {
  color: green;
  cursor: pointer;
}

/* desktop and tablet view */
@media only screen and (min-width: 768px) {
  h1 {
    font-size: 3.5em;
    letter-spacing: 0.3em;
  }

  .DOB {
    font-size: 1.5em;
  }

  h2 {
    font-size: 1.3em;
    letter-spacing: 0.1em;
    padding-bottom: 0.4em;
    font-weight: 200;
    line-height: 1.2em;
  }

  h3 {
    font-size: 1.2em;
  }

  .container {
    width: 85%;
  }

  #date {
    font-size: 1.5em;
  }

  .footer {
    padding: 1em 0;
  }

  p {
    font-size: 1.2em;
    line-height: 1.5em;
  }

  footer {
    padding: 1em 0;
  }

  footer ul {
    width: 40%;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    padding: 0.5em 0;
  }

  footer ul li a {
    font-size: 1.2em;
  }

  #date {
    font-size: 0.6em;
  }

  .achievements > article > figure > img.size {
    width: 100%;
    height: 300px;
    text-align: center;
    object-fit: fill;
  }

  .quotes {
    font-size: 1.1em;
  }
}
