@import url("https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap");

body {
  font-family: "Noto Sans Korean", "Malgun Gothic", dotum, sans-serif;
}
section {
  padding-top: 100px;
  padding-bottom: 100px;
  position: relative;
}
section .bg {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
      135deg,
      rgba(255, 255, 255, 0) 10%,
      rgba(255, 255, 255, 0) 40%,
      rgba(255, 255, 255, 1)
    ),
    url(./img/mainbg1.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
  z-index: -1;
  filter: grayscale(1) brightness(0.9) opacity(0.2);
}

.title {
  width: 100%;
  text-align: center;
}

.title1 {
  font-weight: bolder;
}

.height60 {
  height: 60px;
}
.height120 {
  height: 120px;
}

.icon.icon1 {
  background-image: linear-gradient(
      to bottom,
      rgba(8, 28, 55, 0.2) 0%,
      rgba(8, 28, 55, 0.2) 50%,
      rgba(8, 28, 55, 0.4) 75%,
      rgba(8, 28, 55, 0.9) 100%
    ),
    url(./img/sub1_1.jpg);
  transition: background-size 0.5s ease;
}
.icon.icon2 {
  background-image: linear-gradient(
      to bottom,
      rgba(8, 28, 55, 0.2) 0%,
      rgba(8, 28, 55, 0.2) 50%,
      rgba(8, 28, 55, 0.4) 75%,
      rgba(8, 28, 55, 0.9) 100%
    ),
    url(./img/sub2_2.jpg);
  transition: background-size 0.5s ease;
}
.icon.icon3 {
  background-image: linear-gradient(
      to bottom,
      rgba(8, 28, 55, 0.2) 0%,
      rgba(8, 28, 55, 0.2) 50%,
      rgba(8, 28, 55, 0.4) 75%,
      rgba(8, 28, 55, 0.9) 100%
    ),
    url(./img/sub3_2.jpg);
  transition: background-size 0.5s ease;
}

.icon {
  display: inline-block;
  width: 100%;
  aspect-ratio: 4/3;
  background-size: 130%;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  transition: all 1s ease;
  text-align: center;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
.flex {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.subtitle {
  width: 100%;
  text-align: center;
  color: #fff;
}

.subtitle.sec {
  font-weight: bolder;
  text-shadow: 1px 1px 2px #201d1d, -1px -1px 2px #201d1d;
}

.subtitle.location {
  font-weight: 700;
  text-shadow: 1px 1px 2px #201d1d, -1px -1px 2px #201d1d;
}

.subtitle.gohome {
  font-weight: bold;
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid #ddd;
  display: inline-block;
  width: auto;
  margin-top: 40px;
}

.subtitle.gohome1 {
  background: #9e1c4e;
}

.subtitle.gohome2 {
  background: #072941;
}

.subtitle.gohome3 {
  background: #0072bb;
}

.logowrap {
  /* max-width: 160px; */
  /* margin-left: 20px;
    margin-right: 20px; */
  text-align: center;
}

.logowrap2 {
  filter: drop-shadow(-2px -2px 1px rgba(255, 255, 255, 1));
}
.companylogo {
  max-width: 240px;
  padding-left: 40px !important;
  padding-right: 40px !important;
}
.companylogo img {
  width: 100%;
}

.link {
  z-index: 100;
}

a:hover {
  text-decoration: none !important;
  color: inherit !important;
}

a:hover .subtitle.gohome1 {
  background: #7c0835;
}
a:hover .subtitle.gohome2 {
  background: #051c2c;
}
a:hover .subtitle.gohome3 {
  background: #045f99;
}

.icon.icon1:hover {
  background-image: linear-gradient(
      to bottom,
      rgba(8, 28, 55, 0.3) 0%,
      rgba(8, 28, 55, 0.2) 50%,
      rgba(8, 28, 55, 0.4) 75%,
      rgba(8, 28, 55, 0.9) 100%
    ),
    url(./img/sub1_1.jpg);
  background-size: 135%; /* hover 시 확대 */
}
.icon.icon2:hover {
  background-image: linear-gradient(
      to bottom,
      rgba(8, 28, 55, 0.3) 0%,
      rgba(8, 28, 55, 0.2) 50%,
      rgba(8, 28, 55, 0.4) 75%,
      rgba(8, 28, 55, 0.9) 100%
    ),
    url(./img/sub2_2.jpg);
  background-size: 135%; /* hover 시 확대 */
}
.icon.icon3:hover {
  background-image: linear-gradient(
      to bottom,
      rgba(8, 28, 55, 0.3) 0%,
      rgba(8, 28, 55, 0.2) 50%,
      rgba(8, 28, 55, 0.4) 75%,
      rgba(8, 28, 55, 0.9) 100%
    ),
    url(./img/sub3_2.jpg);
  background-size: 135%; /* hover 시 확대 */
}

footer {
  color: #999;
  font-size: 11px;
  border-top: 1px solid #ddd;
  padding-top: 20px;
  padding-bottom: 20px;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.9);
}

.title1 br {
  display: none;
}

@media (max-width: 768px) {
  .height120 {
    height: 60px;
  }
  .title1 br {
    display: block;
  }
  section {
    padding-top: 60px;
    padding-bottom: 40px;
  }
  .companylogo {
    max-width: 240px;
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
}
