body {
  font-family: Arial, Helvetica, sans-serif;
  background-color: #9a9a9a;
}

p {
  text-align: justify;
}

nav {
  font-weight: 700;
  z-index: 100;
  margin-left: 25%;
  position: fixed;
  top: 0px;
  width: 750px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--accent-100);
  padding: 10px;
  border-radius: 0 0 20px 20px;
}

.nav-logo-title {
  display: flex;
  align-items: center;
}

.nav-logo-title img {
  border-radius: 8px;
  content: url(https://source.unsplash.com/featured/50x50?mercedes);
  height: 40px;
  margin-right: 10px;
}

nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

li {
  margin: 0 10px;
}

a {
  text-decoration: none;
  font-size: 18px;
  color: var(--accent-200);
  transition: 0.2s ease-in-out;
}

nav li a {
  text-decoration: none;
  font-size: 18px;
  color: var(--accent-200);
  transition: 0.2s ease-in-out;
}

nav li a:hover {
  padding: 5px;
  border-radius: 8px;
  background-color: var(--accent-200);
  color: var(--bg-100);
}

#header {
  margin-top: -5%;
  position: relative;
  left: -2%;
  right: 0;
  background-image: url(https://source.unsplash.com/featured/1700x700?benz);
  height: 600px;
  width: 100%;
  background-color: var(--bg-100);
  padding: 50px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.header-texts {
  height: 680px;
  padding: 10px;
  background-color: #0000004d;
  backdrop-filter: blur(2px);
  margin: -50px 0 0 -50px;
  flex-basis: 45%;
}

.header-texts h1 {
  margin-top: 200px;
  margin-left: 100px;
  font-size: 48px;
  margin-bottom: 20px;
  color: var(--bg-100);
}

.header-texts h3 {
  margin-left: 100px;
  font-size: 24px;
  margin-bottom: 20px;
  color: var(--bg-100);
}

.header-texts p {
  margin-left: 100px;
  font-size: 18px;
  color: var(--bg-100);
  line-height: 1.5;
}

.header-filler {
  flex-basis: 30%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-filler div {
  background-image: url('path/to/image.jpg');
  background-size: cover;
  height: 300px;
  width: 100%;
}

.content-aside {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin: 100px auto;
  max-width: 1024px;
}

.content {
  display: flex;
  flex-direction: column;
  width: 70%;
  margin-right: 20px;
}

.content-first,
.content-second {
  margin-bottom: 40px;
  margin-right: 20px;
}

.content h2 {
  font-size: 2rem;
  color: var(--text-200);
  margin-bottom: 10px;
}

.content h4 {
  font-size: 1.6rem;
  color: var(--text-200);
  margin-bottom: 5px;
}

.content p {
  font-size: 1.2rem;
  color: var(--text-100);
  text-align: justify;
  line-height: 1.5;
}

aside {
  background-color: #6f6f6f;
  border-radius: 5px;
  width: 30%;
  padding: 25px 0 25px 25px;
}

aside h2 {
  margin-left: 45px;
  color: var(--text-100);
  margin-bottom: 10px;
}

aside ul {
  margin-left: 45px;
  padding: 0;
  list-style: none;
}

aside ul li {
  margin-bottom: 10px;
}

aside ul li a {
  color: var(--text-100);
  transition: 0.1s ease-in-out;
}

aside ul li a:hover {
  background-color: var(--primary-100);
  color: var(--bg-100);
  padding: 0 5px 0 5px;
  border-radius: 8px;
  text-decoration: none;
}

#articles {
  max-width: 1200px;
  margin: 0 auto;
}

table {
  width: 100%;
}

.row-first {
  background-color: #6f6f6f;
}

.row-second {
  margin-top: 100px;
  background-color: #6f6f6f;
}

.article {
  padding: 20px;
  vertical-align: top;
}

.articles table .row-first .article img {
  border-radius: 8px;
  content: url(https://source.unsplash.com/featured/360x200?amggtr);
}

.articles table .row-second td img {
  border-radius: 8px;
  margin-left: 100px;
  content: url(./logo.png);
}

.articles table td {
  border-radius: 16px;
}

.article img {
  width: 100%;
  height: auto;
  margin-bottom: 10px;
}

.article h3 {
  color: var(--text-100);
  font-size: 24px;
  margin-bottom: 10px;
}

.article p {
  color: var(--text-100);
  margin-bottom: 10px;
}

.article a {
  margin-left: 35%;
  font-weight: 900;
  display: inline-block;
  padding: 5px 10px;
  background-color: var(--bg-300);
  color: var(--bg-100);
  text-decoration: none;
  border-radius: 5px;
}

.article-long {
  padding: 40px;
}

.article-long h3 {
  color: var(--text-100);
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.article-long p {
  color: var(--text-100);
  font-size: 1.2rem;
  line-height: 1.5;
  margin-bottom: 20px;
}

.row-second td:last-child {
  text-align: right;
}

.row-second img {
  width: 50%;
  height: auto;
}

/* creativity */

#creativity {
  background-color: #6f6f6f;
  padding: 50px 0;
}

.creativity-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  transition: 0.5s ease-in-out;
}

.mini-content {
  border-radius: 0 0 8px 8px;
  color: var(--bg-100);
  background-color: #28282867;
  height: 100px;
  position: relative;
  bottom: 145px;
  padding: 20px;
  text-align: center;
  transition: 0.5s ease-in-out;
}

.mini-content p {
  color: var(--bg-100);
  z-index: -1;
  visibility: hidden;
  transition: 0.1s;
  transition-timing-function: ease-in-out;
  transition-delay: 0.2s;
}

.mini-content:hover {
  background-color: #141414ab;
  height: 240px;
  position: relative;
  bottom: 285px;
}

.mini-content:hover p {
  z-index: -3;
  margin-top: 10px;
  visibility: visible;
}

.mini-one,
.mini-two,
.mini-three,
.mini-four {
  border-radius: 8px;
  width: 100%;
  max-width: 500px;
  max-height: 400px;
  margin: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.296);
  transition: transform 0.2s ease-in-out;
}

.mini-one img {
  border-radius: 8px;
  content: url(https://source.unsplash.com/featured/500x400?slsamg);
  width: 100%;
}

.mini-two img {
  border-radius: 8px;
  content: url(https://source.unsplash.com/featured/500x400?mercedesamg);
  width: 100%;
}

.mini-three img {
  border-radius: 8px;
  content: url(https://source.unsplash.com/featured/500x400?300sl);
  width: 100%;
}

.mini-four img {
  border-radius: 8px;
  content: url(https://source.unsplash.com/featured/500x400?e63);
  width: 100%;
}

.mini-one:hover {
  transform: translateY(-5px);
}

.mini-two:hover {
  transform: translateY(-5px);
}

.mini-three:hover {
  transform: translateY(-5px);
}

.mini-four:hover {
  transform: translateY(-5px);
}

footer {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  flex-direction: column;
  background-color: var(--text-100);
  color: var(--bg-200);
  padding: 20px;
}

.footer-credit,
.footer-form,
.footer-logo {
  margin-left: 35%;
}

.footer-logo {
  width: 30%;
  margin-bottom: 20px;
}

.footer-logo h3 {
  font-size: 1.5rem;
  margin: 0;
}

.footer-form {
  width: 30%;
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.footer-form p {
  margin: 0;
  font-weight: bold;
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.footer-form form {
  width: 100%;
  display: block;
  flex-direction: column;
}

.footer-form label {
  margin-top: 10px;
  margin-bottom: -15px;
  font-weight: 900;
}

.footer-form input[type="text"],
.footer-form select {
  margin-bottom: 10px;
  padding: 5px;
  border-radius: 3px;
  border: none;
}

.footer-form input[type="text"] {
  width: 98%;
}

.footer-form select {
  width: 100%;
}

.footer-form input[type="radio"],
.footer-form button {
  margin-bottom: 10px;
}

.footer-form button {
  font-weight: 900;
  font-size: 1.4rem;
  padding: 10px;
  background-color: var(--bg-100);
  color: var(--text-100);
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.footer-credit {
  width: 30%;
  font-size: 0.9rem;
  text-align: center;
}

.footer-credit h3 {
  margin: 0;
}

@media screen and (max-width: 500px) {

  nav {
    font-weight: 700;
    z-index: 100;
    margin-left: 2%;
    position: fixed;
    max-width: 500px;
    top: 0px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--accent-100);
    padding: 10px;
    border-radius: 0 0 20px 20px;
  }

  nav li {
    margin: 0 3px;
  }

  #header {
    margin-top: -5%;
    background-image: url(https://source.unsplash.com/featured/1700x700?benz);
    height: 600px;
    width: 500px;
    background-color: var(--bg-100);
    padding: 50px 0 50px 50px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .header-texts {
    height: 680px;
    padding: 10px;
    background-color: #0000004d;
    backdrop-filter: blur(2px);
    margin: -50px 0 0 -50px;
    flex-basis: 100%;
  }

  .header-texts h1 {
    margin-top: 100px;
    margin-left: 20px;
    margin-right: 50px;
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--bg-100);
  }

  .header-texts h3 {
    margin-left: 20px;
    margin-right: 50px;
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--bg-100);
  }

  .header-texts p {
    margin-left: 20px;
    margin-right: 50px;
    font-size: 18px;
    color: var(--bg-100);
    line-height: 1.5;
  }


  .content-aside {
    justify-content: center;
    align-items: flex-start;
    margin: 0;
    width: 500px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .content {
    flex-direction: column;
    max-width: 500px;
    width: 100%;
    margin-right: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .content-first,
  .content-second {

    margin-bottom: 40px;
    margin-right: 0px;
  }

  aside {
    display: block;
    background-color: var(--bg-200);
    border-radius: 5px;
    width: 95%;
    padding: 25px 0 25px 25px;
  }

  aside ul {
    display: block;
    margin-left: 0;
    padding: 0;
    list-style: none;
  }

  aside h2 {
    margin-left: 5px;
    color: var(--text-100);
    margin-bottom: 10px;
  }

  aside ul li {
    font-size: 1.5rem;
  }

  #articles {
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
  }

  .row-first, .row-second{
    width: 100%;
  }
 
  table {
    position: relative;
    left: 5%;
    margin-top: 100px;
    width: 450px;
  }


  .articles table .row-first td img{
    position: relative;
    left: 6%;
    width: 500px;
  }

  .articles table td {
    width: 100%;
    display: block;
    border-radius: 16px;
  }

  .articles table td p {
    width: 90%;
  }

  .articles table td h3 {
    width: 90%;
  }

  .articles table .row-second td img {
    position: relative;
    left: 7%;
    display: block;
    border-radius: 8px;
    content: url(./logo.png);
  }


  #creativity {
    background-color: var(--bg-100);
    padding: 20px 0;
    width: 500px;
  }

  .creativity-wrapper {
    display: block;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    margin: 0 auto;
    transition: 0.5s ease-in-out;
  }

  .mini-one img {
    border-radius: 8px;
    content: url(https://source.unsplash.com/featured/500x400?slsamg);
    width: 100%;
  }

  .mini-two img {
    border-radius: 8px;
    content: url(https://source.unsplash.com/featured/500x400?mercedesamg);
    width: 100%;
  }

  .mini-three img {
    border-radius: 8px;
    content: url(https://source.unsplash.com/featured/500x400?300sl);
    width: 100%;
  }

  .mini-four img {
    border-radius: 8px;
    content: url(https://source.unsplash.com/featured/500x400?e63);
    width: 100%;
  }

  footer {
    width: 500px;
  }

  .footer-credit,
  .footer-form,
  .footer-logo {
    margin-left: 2%;
    width: 96%;
  }
}