* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
ul {
  list-style: none;
}
a {
  text-decoration-line: none;
}

#header_title {
  width: min(100% - 50px, 1155px);
}
body {
  background: linear-gradient(#ddedfd, 80%, #213781);
  padding-top: 1rem;
  text-align: center;
  height: 100vh;
  background-attachment: fixed;
  
}
header {
  background-color: #fff;
  width: 100%;
  text-align: center;
  margin-bottom: 1rem;
}
.cs_link {
  width: 100%;
}
#nav-links {
  width: min(100% - 50px, 1355px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .5rem 0;
}
#nav-links li {
  width: min(100%, 250px);
}
#nav-links li a {
  font-size: 1.5rem;
  font-weight: bold;
  color: #000;
}
#nav-links li:last-child {
  margin-right: 0.5rem;
}
main {
  display: flex;
  align-items: start;
  justify-content: center;
}
.content_title {
  width: min(100% - 50px, 600px);
}
.left {
  /* width: 900px; */
  z-index: 1;
}
#hero {
  width: 550px;
  position: relative;
  bottom: 0;
  right: 0;
  z-index: 0;
}

#links {
  display: grid;
  grid-template-columns: repeat(3, auto);
  grid-auto-flow: row;
  gap: 5px;
  text-align: center;
  padding: 20px 10px;
  margin-top: 0.5rem;
  border: 4px solid #fff;
  background: linear-gradient(#537fdd, 80%, #4367b7);
  margin: 0.5rem 50px 0 50px;
}

#links a div {
  display: flex;
  text-decoration: none;
  color: #333;
  justify-content: center;
  align-items: center;
  font-weight: bold;
}

#links img {
  width: auto;
  height: 35px;
  margin-left: 10px;
  margin-right: 0.5rem;
}

#links span {
  /* margin-right: auto; */
  width: 100%;
  text-align: center;
  font-size: 14px;
}
#links a {
  display: flex;
  align-items: center;
  justify-content: center;
}
#links a div {
  background-color: #fff;
  padding: 0.5rem 0;
  width: min(100%, 280px);
  border-radius: 10px;
}
@media screen and (max-width: 1210px) {
  #hero {
    position: absolute;
    bottom: 0;
    left: 50%;
    z-index: 0;
    transform: translateX(-50%);
  }
}

@media screen and (max-width: 768px) {
  body{
    overflow: auto;
  }
  #hero {
    width: 80vw;
  }
  #links img {
    height: 5vw;
    margin-left: .5rem;
    margin-right: 0;
  }
  #links span {
    font-size: 3vw;
  }
  #links{
    margin: 0.5rem;
  }
  #nav-links li a{
    font-size: 3vw;
  }
}
