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

/*Desktop */

body {
  animation: transition 4s linear infinite alternate;
  font-family: Cousine;
}

@keyframes transition {
  0% {
    background-color: #1c1004;
  }

  50% {
    background-color: #3f2309;
  }

  100% {
    background-color: #1c1004;
  }
}

h1 {
  color: gold;
  font-family: Cousine;
}

h2 {
  color: gold;
  font-family: Cousine;
}

h3 {
  color: blanchedalmond;
  font-family: Cousine;
}

h4 {
  color: blanchedalmond;
  font-family: Cousine;
}

p {
  color: white;
  font-family: Cousine;
  font-size: 13px;
}

abbr {
  color: #ecab06;
  text-shadow: 0 0 10px #fff;
  animation: glow 1s ease-in-out infinite alternate;
}

nav li {
  content: "";
  display: block;
  float: left;
  background-repeat: no-repeat;
  background-size: contain;
  width: 50px;
  height: 50px;
  margin-right: 10px;
  margin-bottom: 15px;
  margin-top: 5px;
  padding-right: 20px;
}

.page-wrapper nav {
  background: linear-gradient(to bottom right, #ecab06, #fff06a);
  border-radius: 15px;
  position: fixed;
  opacity: 50%;
  margin-inline: 20px;
  top: 0;
  left: 230px;
  z-index: 9999;
  display: flex;
}

.page-wrapper nav:hover {
  opacity: 100%;
  transition: 0.5s;
}

.nav-logo-title {
  padding-left: 40px;
  padding-top: 20px;
}

.nav-logo-title::before {
  border-radius: 50px;
  content: "";
  display: block;
  float: left;
  background-repeat: no-repeat;
  background-size: contain;
  width: 50px;
  height: 50px;
  margin-right: 10px;
  margin-bottom: 15px;
  margin-top: 5px;
  background-image: url(https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRbI12MQ9bEmOPWivoRXPEz0ZK1VCmVxr8pmg&usqp=CAU);
}

.nav-logo-title img {
  display: none;
}

.nav-logo-title a {
  text-decoration: none;
  color: black;
  font-size: 30px;
  font-weight: bolder;
  margin-left: 20px;
  margin-right: 20px;
}

.page-wrapper ul li {
  margin-right: 50px;
  margin-left: 10px;
  padding-inline: 20px;
}

.page-wrapper nav ul li a {
  text-decoration: none;
  color: black;
  font-weight: bold;
}

.page-wrapper nav ul li a:hover {
  color: gold;
  background-color: #341a02;
  padding: 8px;
  border-radius: 20px;
  border: solid 50px gold;
  border-width: 5px;
  transition: 0.3s;
}

#header {
  margin-top: 130px;
  border-top-right-radius: 50px;
  border-top-left-radius: 50px;
  padding-left: 150px;
  padding-right: 200px;
  padding-bottom: 250px;
  padding-top: 150px;
  font-size: 2em;
  background-image: url(https://images-wixmp-ed30a86b8c4ca887773594c2.wixmp.com/f/4635bcd4-4a1d-4e83-bbe4-9edf40e125d0/dbipwly-4c2695c2-104c-4456-a729-00260c1acb6b.jpg?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ1cm46YXBwOjdlMGQxODg5ODIyNjQzNzNhNWYwZDQxNWVhMGQyNmUwIiwiaXNzIjoidXJuOmFwcDo3ZTBkMTg4OTgyMjY0MzczYTVmMGQ0MTVlYTBkMjZlMCIsIm9iaiI6W1t7InBhdGgiOiJcL2ZcLzQ2MzViY2Q0LTRhMWQtNGU4My1iYmU0LTllZGY0MGUxMjVkMFwvZGJpcHdseS00YzI2OTVjMi0xMDRjLTQ0NTYtYTcyOS0wMDI2MGMxYWNiNmIuanBnIn1dXSwiYXVkIjpbInVybjpzZXJ2aWNlOmZpbGUuZG93bmxvYWQiXX0.44A-g8tCEePSXQiw5M6SpFeMsKzWDF2A7Zyx24GVi40);
}

#header h1 {
  animation: glow 1s ease-in-out infinite alternate;
}

@keyframes glow {
  from {
    text-shadow: 0 0 10px gold;
  }

  to {
    text-shadow: 0 0 40px gold;
  }
}

#header p {
  font-size: 18px;
}

.header-texts {
  max-width: 75%;
}

.content {
  perspective: 1000px;
}

.content-aside {
  background-image: url(https://t4.ftcdn.net/jpg/01/43/97/03/360_F_143970357_j6VidMghr9RqDIK7bDPlLwEewnxINFZx.jpg);
}

.content-aside aside {
  position: relative;
  text-align: center;
  margin-top: 100px;
  animation: animate-border 2s linear infinite;
  padding: 100px;
  border: solid;
  border-radius: 40px;
}

.content-aside aside h2 {
  margin-bottom: 30px;
}

.content-aside ul {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.content-aside li {
  margin-right: 50px;
  margin-bottom: 10px;
  background-color: khaki;
  padding: 10px;
  border-radius: 30px;
  outline: none;
  text-decoration: none;
}

.content-aside li a {
  text-decoration: none;
  color: #000;
}

.content-aside li:hover {
  border: solid 50px gold;
  border-width: 5px;
  transition: 0.3s, background-size 0.3s 0.3s;
  font-weight: bolder;
}

.content-first {
  margin-top: 100px;
  margin-left: 700px;
  margin-right: 50px;
  padding: 20px;
  text-align: right;
  display: inline-block;
  max-width: 45%;
  border: solid;
  border-radius: 40px;
  padding: 50px;
  animation: animate-border 4s linear infinite;
}

.content-first:hover {
  transition: 0.5s;
  transform: rotatey(-15deg);
}

.content-second {
  margin-bottom: 50px;
  margin-right: 50%;
  margin-left: 50px;
  padding: 20px;
  animation: animate-border 2s linear infinite;
  border: solid;
  border-radius: 40px;
  max-width: 45%;
}

.content-second:hover {
  transition: 0.5s;
  transform: rotatey(15deg);
}

.articles {
  background-image: url(https://thumbs.dreamstime.com/b/lines-php-coding-screen-site-developing-green-code-brown-background-130187889.jpg);
}

@keyframes animate-border {
  0% {
    border-top-color: #f9a825;
    border-right-color: #f9a825;
    border-bottom-color: transparent;
    border-left-color: transparent;
  }

  25% {
    border-top-color: transparent;
    border-right-color: #f9a825;
    border-bottom-color: transparent;
    border-left-color: transparent;
  }

  50% {
    border-top-color: transparent;
    border-right-color: transparent;
    border-bottom-color: #f9a825;
    border-left-color: transparent;
  }

  75% {
    border-top-color: transparent;
    border-right-color: transparent;
    border-bottom-color: transparent;
    border-left-color: #f9a825;
  }

  100% {
    border-top-color: #f9a825;
    border-right-color: transparent;
    border-bottom-color: transparent;
    border-left-color: transparent;
  }
}

.article {
  background: linear-gradient(to bottom, #ecab06, #fff06a);
  border-radius: 15px;
  margin-inline: 20px;
  padding: 80px;
  margin-top: 60px;
}

.article a {
  text-decoration: none;
  color: #3f2309;
  font-weight: bolder;
  border: #3f2309 solid;
  padding: 10px;
  border-radius: 30px;
}

.article a:hover {
  transition: 0.5s;
  background-color: #3f2309;
  color: gold;
}

.article:hover {
  transition: 0.5s;
  transform: translateY(-20px);
  border: solid khaki;
  box-shadow: 0 0 20px khaki;
  border-width: 10px;
  background: linear-gradient(to bottom, #fff06a, #ecab06);
}

.row-first .article:nth-child(1) img {
  content: url(https://source.unsplash.com/200x200/?money);
  border-radius: 100px;
  z-index: 10000;
  position: relative;
  top: -120px;
  right: -30px;
}

.articles table .row-first .article:nth-child(2) img {
  content: url(https://source.unsplash.com/200x200/?stock);
  border-radius: 100px;
  z-index: 10000;
  position: relative;
  top: -120px;
  right: -30px;
}

.articles table .row-first .article:nth-child(3) img {
  content: url(https://source.unsplash.com/200x200/?graph);
  border-radius: 100px;
  z-index: 10000;
  position: relative;
  top: -120px;
  right: -30px;
}

.article h3 {
  color: #160b00;
}

.article p {
  color: #160b00;
  font-size: 13px;
  margin-bottom: 50px;
}

.article-long {
  position: relative;
  border-radius: 15px;
  padding: 30px;
  margin-top: 150px;
  margin-bottom: 150px;
  margin-left: 50px;
  margin-right: 50px;
  background: linear-gradient(to bottom, #fff06a, #ecab06);
  box-shadow: 0 0 10px #000;
}

.article-long::before {
  content: "";
  position: absolute;
  border-radius: 15px;
  top: -15px;
  left: -15px;
  width: 100%;
  height: 100%;
  background-color: khaki;
  z-index: -1;
  opacity: 0.8;
}

.article-long::after {
  content: "";
  position: absolute;
  border-radius: 15px;
  top: 15px;
  left: 15px;
  width: 100%;
  height: 100%;
  background-color: khaki;
  z-index: -1;
  opacity: 0.8;
}

.article-long h3 {
  color: #160b00;
  text-align: center;
  margin-bottom: 30px;
}

.article-long p {
  color: #160b00;
}

.row-first {
  display: flex;
  justify-content: space-between;
}

.row-first article {
  display: inline-block;
}

.row-second {
  display: flex;
  justify-content: space-between;
}

.articles table .row-second img {
  content: url(https://source.unsplash.com/200x200/?stock);
  border-radius: 100px;
  position: relative;
  margin-right: 20px;
  top: 150px;
  left: 4px;
}

.creativity-wrapper {
  background-image: url(https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQFuvQNYZKRdk3BmUQpR87QQ9cfPvH0w4Cb_w&usqp=CAU);
  padding: 30px;
}

.mini-one {
  background-color: khaki;
  border-radius: 25px;
  width: 500px;
  height: 200px;
  margin-bottom: 50px;
  padding-top: 20px;
  padding-left: 20px;
  padding-bottom: 200px;
  padding-right: 20px;
  float: right;
  text-align: right;
  margin-right: 50px;
}

.mini-one:hover {
  transition: 0.5s;
  background-color: #c38e05;
}

.mini-one:hover h2,
.mini-one:hover p {
  transition: 0.5s;
  color: white;
}

.creativity-wrapper .mini-one img {
  content: url(https://source.unsplash.com/200x200/?enginner);
  border-radius: 100px;
}

.mini-two {
  background-color: khaki;
  border-radius: 25px;
  width: 500px;
  height: 200px;
  margin-bottom: 50px;
  padding-top: 20px;
  padding-left: 20px;
  padding-bottom: 200px;
  padding-right: 20px;
  margin-left: 50px;
}

.mini-two:hover {
  transition: 0.5s;
  background-color: #c38e05;
}

.mini-two:hover h2,
.mini-two:hover p {
  transition: 0.5s;
  color: white;
}

.creativity-wrapper .mini-two img {
  content: url(https://source.unsplash.com/200x200/?person);
  border-radius: 100px;
}

.mini-three:hover {
  transition: 0.5s;
  background-color: #c38e05;
}

.mini-three:hover h2,
.mini-three:hover p {
  transition: 0.5s;
  color: white;
}

.mini-three {
  background-color: khaki;
  border-radius: 25px;
  width: 500px;
  height: 200px;
  padding-top: 20px;
  padding-left: 20px;
  padding-bottom: 250px;
  padding-right: 20px;
  float: right;
  text-align: right;
  margin-right: 50px;
}

.creativity-wrapper .mini-three img {
  content: url(https://source.unsplash.com/200x200/?doctor);
  border-radius: 100px;
}

.mini-four {
  background-color: khaki;
  border-radius: 25px;
  width: 500px;
  height: 200px;
  padding-top: 20px;
  padding-left: 20px;
  padding-bottom: 250px;
  padding-right: 20px;
  margin-left: 50px;
}

.mini-four:hover {
  transition: 0.5s;
  background-color: #c38e05;
}

.mini-four:hover h2,
.mini-four:hover p {
  transition: 0.5s;
  color: white;
}

.creativity-wrapper .mini-four img {
  content: url(https://source.unsplash.com/200x200/?businessman);
  border-radius: 100px;
}

.mini-one p {
  color: black;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 14px;
}

.mini-two p {
  color: black;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 14px;
}

.mini-three p {
  color: black;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 14px;
}

.mini-four p {
  color: black;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 14px;
}

.mini-one h2 {
  color: black;
  font-family: Georgia, "Times New Roman", Times, serif;
}

.mini-two h2 {
  color: black;
  font-family: Georgia, "Times New Roman", Times, serif;
}

.mini-three h2 {
  color: black;
  font-family: Georgia, "Times New Roman", Times, serif;
}

.mini-four h2 {
  color: black;
  font-family: Georgia, "Times New Roman", Times, serif;
}

footer {
  width: 100%;
  box-sizing: border-box;
  background-image: url(https://img.freepik.com/free-vector/black-technology-background-vector-with-brown-futuristic-waves_53876-110869.jpg);
  padding-top: 200px;
  border-bottom-left-radius: 50px;
  border-bottom-right-radius: 50px;
}

.footer-logo,
.footer-form {
  border: solid gold;
  display: inline-block;
  vertical-align: top;
  width: calc(50% - 12px);
  height: 420px;
  box-sizing: border-box;
  padding: 20px;
  border: solid gold;
  margin-inline: 3px;
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
}

.footer-logo {
  text-align: center;
}

.footer-logo h3 {
  margin-top: 100px;
  display: inline-block;
  font-size: 30px;
}

.footer-logo p {
  font-size: 20px;
}

.footer-credit {
  box-sizing: border-box;
  margin-inline: 5px;
  text-align: center;
  padding: 50px;
  background-color: gold;
  border-bottom-left-radius: 30px;
  border-bottom-right-radius: 30px;
}

.footer-form p {
  font-weight: bolder;
  color: gold;
}

.footer-credit h3 {
  color: black;
}

button {
  margin-top: 20px;
  border-radius: 10px;
  background-color: white;
  padding-inline: 20px;
  padding-block: 5px;
}

button:hover {
  background-color: gold;
  font-weight: bold;
  transition: 0.3s;
  border: khaki;
  border-width: 50px;
}

label {
  color: white;
}

input {
  padding-inline: 10px;
  padding-block: 5px;
  margin: 10px;
}

select {
  padding-inline: 8.5px;
  padding-block: 5px;
  margin: 10px;
}

/* RESPONSIVE */

@media (max-width: 768px) {
  body {
    max-width: 768px;
  }

  nav {
    display: flex;
    flex-direction: column;
  }

  .page-wrapper nav {
    border-radius: 15px;
    position: fixed;
    width: 100%;
    opacity: 50%;
    margin-inline: 0px;
    top: 0;
    left: 0px;
    z-index: 9999;
    display: flex;
  }

  nav ul {
    display: flex;
    flex-direction: row;
  }

  nav li {
    margin: 0px;
  }

  .page-wrapper ul li {
    margin-right: 10px;
  }

  #header {
    padding: 30px;
    width: 100%;
    display: flex;
  }

  .header-texts {
    max-width: 90%;
  }

  .content-aside {
    display: flex;
    flex-direction: column;
  }

  .content-first {
    margin-bottom: 50px;
    margin-top: 50px;
    margin-right: 50px;
    margin-left: 50px;
    padding: 20px;
    width: 100%;
    border: solid;
    text-align: left;
    display: inline-block;
    border-radius: 40px;
    padding: 50px;
    animation: animate-border 4s linear infinite;
  }

  .content-second {
    margin-bottom: 50px;
    margin-top: 50px;
    margin-right: 50px;
    margin-left: 50px;
    padding: 20px;
    width: 100%;
    border: solid;
    text-align: left;
    display: inline-block;
    border-radius: 40px;
    padding: 50px;
    animation: animate-border 4s linear infinite;
  }

  aside {
    display: flex;
    flex-direction: column;
  }

  .content-aside ul {
    display: flex;
    flex-direction: column;
  }

  .content-aside aside {
    width: 50%;
    margin-left: 50px;
  }

  .row-first {
    display: flex;
    flex-direction: column;
  }

  .row-second {
    display: flex;
    flex-direction: column;
  }

  .articles table .row-second img {
    display: none;
  }

  .creativity-wrapper {
    display: flex;
    flex-direction: column;
  }

  .mini-one,
  .mini-two,
  .mini-three,
  .mini-four {
    background-color: khaki;
  border-radius: 25px;
  width: 90%;
  height: auto;
  margin-bottom: 50px;
  padding-top: 20px;
  padding-left: 20px;
  padding-bottom: 200px;
  padding-right: 20px;
  margin-left: 0px;
  }

  /* footer {
    display: flex;
    flex-direction: column;
  } */
}
