@charset "UTF-8";
/* ------큰사이즈------ */
/* ---header--- */
header {
  display:flex;
  flex-direction: column;
  align-items:center;
  width:100%;
  height:1500px;
  background:url("../img/header_back.png")no-repeat;
  background-position:center;
  background-size:cover;
}

#header_top {
  display:flex;
  justify-content:space-between;
  align-items: center;
  margin-top:15px;
  width:1150px;
  height:80px;
}
#header_top .PIXARlogo {
  width:150px;
}

/* ------nav------ */
#menuicon {
  display:none;
}
#menuicon + label {
  display:block;
  width:50px;
  height:40px;
  position: relative;
  cursor: pointer;
}
#menuicon + label>span {
  display:block;
  position:absolute;
  width:90%;
  height:5px;
  border-radius:30px;
  background-color:#000;
  transition:all .35s;
}
#menuicon + label>span:nth-child(1) {
  top:0;
}
#menuicon + label>span:nth-child(2) {
  top:50%;
  transform:translateY(-50%);
}
#menuicon + label>span:nth-child(3) {
  bottom:0;
}

/* --------체크하면 메뉴나옴-------- */
#menuicon:checked + label>span:nth-child(1) {
  top:50%;
  transform:translateY(-50%) rotate(45deg);
}
#menuicon:checked + label>span:nth-child(2) {
  opacity:0;
}
#menuicon:checked + label>span:nth-child(3) {
  bottom:50%;
  transform:translateY(50%) rotate(-45deg);
}
.overlay {
  display:flex;
  justify-content:center;
  align-items: center;
  position:absolute;
  visibility:hidden;
  padding:10px;
  top:90px;
  left:0;
  width:100%;
  height:80px;
  background-color: rgba(0, 0, 0, 0.829);
}
.menu {
  height:100%;
}
.menu ul li{
  margin:1em 3em;
  float: left;
}
.menu ul img {
  display:block;
  margin:0 auto;
  width:80px;
  opacity:0.7;
  transition:opacity 0.2s ease;
}
.menu ul li a{
  opacity:0.5;
  font-size:20px;
  transition:opacity 0.2s ease;
  color: white;

}
.menu ul li a:hover{
  opacity:1;
}
.menu ul img:hover {
  opacity:1;
}

/* ---footer--- */
footer {
  display: flex;
  flex-direction: column;
  justify-content:space-evenly;
  align-items: center;
  width:100%;
  height:470px;
  background:url(../img/footer.jpg) no-repeat;
  background-position:center;
  background:cocer;
}
footer>img {
  width:160px;
  cursor: pointer;
  transition:all 0.5s;
}
footer>img:hover {
  opacity:0.5;
}
footer>p {
  color: white;
  text-align: center;
  line-height:50px;
}
footer p>span {
  margin:0 10px;
  cursor: pointer;
  transition:all 0.5s;
}
footer span:hover {
  color:#4c97be;
}



/* -----중간사이즈------ */
/* ---header--- */

@media (min-width:769px) and (max-width:1199px){
  header {
    height:1000px;
  }
  #header_top {
    width:90%;
  }
  .overlay {
    width:100%;
    height:70px;
  }

/* ---footer--- */
  footer {
    height:300px;
  }
  footer>img {
    width:130px;
  }
  footer p {
    font-size:13px;
    line-height:30px;
  }
  footer p>span {
    margin:0 5px;
  }
}
/* -----모바일사이즈------ */
/* ---header--- */
@media (max-width:768px) {
  header {
    height:600px;
  }
  #header_top {
    width:90%;
  }
  #header_top .PIXARlogo {
    width:80px;
  }
  .overlay {
    width:100%;
    height:250px;
  }
  #menuicon + label {
    width:30px;
    height:20px;
  }
  #menuicon + label>span {
    height:3px;
  }
  .menu ul li {
    float:none;
    text-align: center;
  }
  .menu ul li a {
    font-size:16px;
  }

/* ---footer--- */
  footer {
    height:200px;
  }
  footer>img {
    width:100px;
  }
  footer p {
    font-size: 10px;
    line-height:20px;
  }
  footer p>span {
    margin:0 3px;
  }
}