@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&display=swap");

*,
*::after,
*::before {
  box-sizing: border-box;
  font-family: "DM Sans", sans-serif;
  font-weight: 400;
  color: #ebebeb;
}

body {
  background: linear-gradient(
    180deg,
    #003366 -0.35%,
    rgba(63, 0, 156, 0) 153.96%
  );
  margin: 0;
  background-repeat: no-repeat;
}

img {
  max-width: 100%;
  object-fit: cover;
  border-radius: 20px;
}

a {
  display: inline-block;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
p {
  margin: 0;
}

.row {
  display: flex;
}

.container {
  max-width: 90%;
  margin: 0 auto;
}

header {
  align-items: center;
  justify-content: space-between;
  gap: 2em;
  padding: 1.5em 0;
}

.logo {
  align-items: center;
}

.logo img {
  max-width: 120px;
}

.logo h1 {
  font-weight: 700;
  font-size: 35px;
}

nav ul {
  gap: 2em;
  align-items: center;
}

nav a {
  font-weight: 500;
  font-size: 18px;
  transition: 0.3s ease-in-out;
  -webkit-transition: 0.3s ease-in-out;
  -moz-transition: 0.3s ease-in-out;
  -ms-transition: 0.3s ease-in-out;
  -o-transition: 0.3s ease-in-out;
}

nav a::after {
  display: block;
  content: "";
  width: 0;
  height: 3px;
  margin: 0 auto;
  background-color: #ebebeb;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
  transition: 0.3s ease-in-out;
  -webkit-transition: 0.3s ease-in-out;
  -moz-transition: 0.3s ease-in-out;
  -ms-transition: 0.3s ease-in-out;
  -o-transition: 0.3s ease-in-out;
}

nav li:nth-of-type(5) a::after {
  all: unset;
}

nav a:hover::after {
  width: 30px;
}

nav li:nth-of-type(5) a {
  padding: 0.5em 1em;
  background: (90deg, #003366 -28.35%, rgba(63, 0, 156, 0) 153.96%);
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
  transition: 0.3s ease-in-out;
  -webkit-transition: 0.3s ease-in-out;
  -moz-transition: 0.3s ease-in-out;
  -ms-transition: 0.3s ease-in-out;
  -o-transition: 0.3s ease-in-out;
}

nav li:nth-of-type(5) a:hover,
.hero a:hover {
  box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.25);
}

/* nav end =====*/

.hero {
  gap: 2em;
  flex-wrap: wrap-reverse;
  align-items: center;
  min-height: calc(100vh - 93.6px);
}

.hero > * {
  flex: 1 1 25em;
}

.hero h1 {
  font-weight: 700;
  font-size: clamp(40px, 5vw, 70px);
  line-height: 1;
}

.hero p {
  font-weight: 500;
  font-size: 30px;
  padding: 1em 0;
}

.hero a {
  font-weight: 700;
  font-size: 20px;
  padding: 0.3em 1em;
  background: (90deg, #003366 -28.35%, rgba(63, 0, 156, 0) 153.96%);
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
  transition: 0.3s ease-in-out;
  -webkit-transition: 0.3s ease-in-out;
  -moz-transition: 0.3s ease-in-out;
  -ms-transition: 0.3s ease-in-out;
  -o-transition: 0.3s ease-in-out;
}
