
body {
  position: relative;
  height: 100%;
  color: rgb(34, 34, 34);
  z-index: -9999;
}

.fa-toggle-on{
  display: none;
}
.fa-toggle-off{
  color : black;
}
.toggleOn{
  display: none;
}
.toggleOff{
  display: inline;
  color : white;
}
main{
  width : 100%;
  height : 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background : no-repeat center url(../img/main.jpg);
  transition: all 1s;
  opacity: 0.9;
}
.darkmodeBtn{
  font-size: 3.5em;
  position: absolute;
  right : 80px;
  top : 20px;
  z-index: 2;
  cursor: pointer;
}
.darkmodeBtn i:hover{
  transition: all 0.3s;
  transform :scale(1.1);
}
.darkimg{
  background : no-repeat center url(../img/main2.jpg);
}
.darkmodeBtn i{
  position: absolute;
}

main .main-div{
  width : 90%;
  height: 100vh;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
.main-contents{
  position: relative;
  top: 3vw;
  left: 0;
  width: 40%;
  height: calc(100% - 200px);
  transition: all 0.8s;
  z-index: 99;
  border-radius: 100px;
  background-color :rgba(230, 230, 230, 0.95)
}
/* 메인 콘텐츠 배경색 글자색변경 */
.changeColor{
  background-color: rgba(0, 56, 139, 0.8);
  color : white;
}
.menu-div{
  position: absolute;
  top:0;
  left : -100%;
  width : 60%;
  height: 100%;
  background-color :rgb(255, 255, 255, 0.95);
  transition: all 0.7s;
  border-radius: 100px;
  font-size : 35px;
  z-index: 99;
  opacity: 0;
}
.open {
  left : 0;
  background-color: #eceff1;
  opacity: 1;
}
.scrollMenu{
  width : 8%;
  height: 40%;
  position: fixed;
  top : 0%;
  left : 0;
  z-index: 999;
  font-size : 26px;
  text-align: center;
  transition: all 0s;
  opacity: 1;
  border-radius : 0 0 100px 100px;
  
}
.menu-list {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.menu-list li{
  position: relative;
  padding : 20px;
  cursor: pointer;
  transition: all 0.5s;
  z-index: 999;
  color : black;
  text-align: center;
}
.menu-list li span::after {
  content: '';
  width: 0%;
  height: 2px;
  background: rgba(0, 0, 0, 0.8);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 20px;
  transition: width 0.5s;
}
.menu-list li:hover span::after {
  width: 75%;
}
.open {
  left : 0;
  background-color: #eceff1;
}
.icon-arrow i{
  position: relative;
  left : 60px;
  top: 30px;
  font-size : 40px;
  cursor: pointer;
  transition: all 0.5s;
  z-index: 999;
}
.icon-click{
  transform: scale(1.3) rotate( -180deg );
  color : black;
}

.main-text{
  position: absolute;
  left : 30%;
  top : -100%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  animation: fadein-text 1.2s ease-in-out 0s forwards normal;
  z-index: -1;
}
@keyframes fadein-text {
  0% {opacity : 0;}
  100% {position: absolute;  top: 300px; opacity: 1;}
}
@keyframes fadein-name {
  0% {opacity : 0;}
  100% {position: absolute;  left: 8%; opacity: 1;}
}
.main-contents h1 {
  position: absolute;
  left: -100%;
  top : 120px;
  letter-spacing: 5px;
  animation: fadein-name 2s ease-out 0s forwards normal;
  font-size : 24px;
  z-index: -1;

}
.main-contents strong{
  font-weight: bold;
}
.main-text h3{
  font-size : 40px;
  font-weight: bold;
  padding-bottom: 100px;  
}
.main-text span{
  font-family: 'Noto Sans KR';
  font-size : 20px;  
}