@import url("https://fonts.googleapis.com/css2?family=Sen:wght@400;700&display=swap");

:root {
  --red: #c6302b;
  --off-white: #efefef;
  --grey: #818181;
  --off-black: #1b1b1b;
}

html {
  height: 100%;
}

body {
  background-color: var(--off-black);
  color: white;
  font-family: "Sen", sans-serif;
  font-weight: 400;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

nav {
  background-color: var(--red);
  color: white;
  font-size: 20px;
  font-weight: 700;
  padding: 15px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

nav img {
  width: 200px;
  margin: 5px;
}

nav > ul {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  text-align: center;
}

nav li {
  margin: 10px 20px;
}

nav a {
  color: inherit;
  text-decoration: none;
}

nav a:hover,
nav a:focus,
nav a :active {
  text-decoration: underline;
}

.main {
  margin: auto;
  padding: 10px;
  max-width: 550px;
}

.main > h1 {
  text-align: center;
  font-weight: 700;
  font-size: 32px;
  margin-bottom: 20px;
}

.main > p {
  font-size: 20px;
  line-height: 1.4;
  text-indent: 20px;
}

.main-nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 40px 0px 40px 0px;
}

.main-nav > a {
  color: inherit;
}

.main-nav > a:focus,
.main-nav > a:hover,
.main-nav > a:active {
  color: var(--red);
}

#back-button {
  margin: 20px 0px;
  display: inline-block;
  font-weight: 700;
  font-size: 18px;
  color: white;
  text-decoration: none;
  background-color: transparent;
  border: 3px solid white;
  border-radius: 30px;
  padding: 8px 15px 8px 15px;
  -webkit-transition: all 0.15s;
  transition: all 0.15s;
}

#back-button:hover,
#back-button:focus,
#back-button:active {
  color: var(--red);
  text-decoration: underline;
  background-color: white;
  box-shadow: 0px 5px 17px rgba(0, 0, 0, 0.15), 0px 1px 5px rgba(0, 0, 0, 0.2);
}

.main > img {
  width: 184px;
  border: 8px solid var(--red);
  border-radius: 50%;
  margin: 50px auto 50px auto;
  display: block;
}

.circle {
  transform: translate(0px, -50px);
  margin: auto;
  margin-top: 100px;
  color: white;
  width: 200px;
  height: 200px;
  text-align: center;
  line-height: 260px;
  border-radius: 50%;
  background-color: var(--red);
  box-shadow: 0px 5px 17px rgba(0, 0, 0, 0.15), 0px 1px 5px rgba(0, 0, 0, 0.2);
}

.seh-i {
  font-size: 92px;
  text-shadow: 0px 5px 17px rgba(0, 0, 0, 0.15), 0px 1px 5px rgba(0, 0, 0, 0.2);
}

#footer {
  padding: 15px 20px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  background-color: var(--red);
}

.footer-links {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  text-align: left;
}

.footer-links > a {
  color: white;
}

@media only screen and (max-width: 950px) {
  nav > ul {
    display: flex;
    flex-direction: column;
  }

  nav li {
    margin: 5px 10px;
  }
}

@media only screen and (max-width: 800px) {
  nav {
    display: flex;
    flex-direction: column;
  }

  #back-button {
    color: var(--red);
    text-decoration: underline;
    background-color: white;
    box-shadow: 0px 5px 17px rgba(0, 0, 0, 0.15), 0px 1px 5px rgba(0, 0, 0, 0.2);
  }
}
