About Us.css 6.09 KB
/*---------텍스트 부분---------*/
#p1{
    font-size: 200%;
    color: rgb(235, 123, 123);
    font-family: Noto Sans KR;
    text-align: center;
}
#p2{
    font-size: 200%;
    color: rgb(235, 123, 123);
    font-family: Noto Sans KR;
    text-align: center;
}
#p3{
    font-size: 200%;
    color: rgb(235, 123, 123);
    font-family: Noto Sans KR;
    text-align: center;
}
#p4{
    font-size: 200%;
    color: rgb(235, 123, 123);
    font-family: Noto Sans KR;
    text-align: center;
}
#p5{
    font-size: 200%;
    color: rgb(235, 123, 123);
    font-family: Noto Sans KR;
    text-align: center;
}
/*---------텍스트 부분---------*/


/*---------버튼 부분---------*/
@keyframes fall {
    from {
      top: -10px;
      -webkit-transform: rotate(0);
      -moz-transform: rotate(0);
      -ms-transform: rotate(0);
      -o-transform: rotate(0);
      transform: rotate(0);
    }
    to {
      top: 110vh;
      -webkit-transform: rotate(360deg);
      -moz-transform: rotate(360deg);
      -ms-transform: rotate(360deg);
      -o-transform: rotate(360deg);
      transform: rotate(360deg);
    }
  }
  .confetti {
    position: absolute;
    -webkit-transition: all 0.1s ease;
    -moz-transition: all 0.1s ease;
    transition: all 0.1s ease;
    pointer-events: none;
    width: 10px;
    height: 10px;
    font-size: 25px;
    animation: fall 2s cubic-bezier(0.05, 0.46, 1, 1);
  }
  
  .mui-button {
    position: relative;
    padding: 0;
    margin: 0;
    width: 150px;
    height: 50px;
    border: none;
    background: #F85F73;
    color: #FBE8D3;
    box-shadow: 0 0 10px 0.5px rgba(0, 0, 0, 0);
    -webkit-transition: all 0.15s linear;
    -moz-transition: all 0.15s linear;
    transition: all 0.15s linear;
  }
  .mui-button:hover {
    box-shadow: 0 0 10px 0.5px rgba(0, 0, 0, 0.2);
    -webkit-transform: scale(0.98);
    -moz-transform: scale(0.98);
    -ms-transform: scale(0.98);
    -o-transform: scale(0.98);
    transform: scale(0.98);
    background: #ec5a6d;
    cursor: pointer;
  }
  .mui-button:active, .mui-button:focus {
    outline: none;
  }
  .mui-button .ripple {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
  }
  @keyframes ripple {
    from {
      -webkit-transform: scale(0);
      -moz-transform: scale(0);
      -ms-transform: scale(0);
      -o-transform: scale(0);
      transform: scale(0);
      opacity: 1;
    }
    to {
      opacity: 0;
      -webkit-transform: scale(250);
      -moz-transform: scale(250);
      -ms-transform: scale(250);
      -o-transform: scale(250);
      transform: scale(250);
    }
  }
  .mui-button .ripple .circle {
    position: absolute;
    background: rgba(251, 232, 211, 0.2);
    border: 1px solid transparent;
    border-radius: 50%;
    pointer-events: none;
    animation: ripple 0.75s 1;
    top: 50%;
    left: 50%;
  }
  .mui-button p {
    z-index: 1;
  }
/*---------버튼 부분---------*/



/*---------scroll snap 부분---------*/
body {
    overflow: hidden;
    font-family: Noto Sans KR, Bold;
}
/* Scroll down */
#container{
    width:100%;
    height:100vh; 
    overflow: auto;
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
}

.list{
    width:100%; 
    height:100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    scroll-snap-align: center;
}

/* .list:nth-child(1){
    background-color: rgb(0, 0, 0);
    background-size: cover;
    background-attachment: fixed; 
    background-position: center; 
} */

.list:nth-child(1){
    background-color: #25fdcb;
    background-size: cover;
    background-attachment: fixed; 
    background-position: center; 
}

.list:nth-child(2){
    background-color: #000000;
    background-size: cover;
    background-attachment: fixed; 
    background-position: center; 
}

.list:nth-child(3){
    background-color: #eeff2e;
    background-size: cover;
    background-attachment: fixed; 
    background-position: center; 
}
/*---------scroll snap 부분---------*/


/*---------프로필 부분---------*/
body, ul, h2, p {
    margin: 0;
    padding: 0;
}

li {
    list-style-type: none;
}

body {
    background-color: #111;
    color: #999;
}

.wrapper {
    display: flex;
    height: 100vh;
    justify-content: center;
    align-items: center;
}

.team {
    display: flex;
    justify-content: center;
    align-items: center;
}

.team-item {
    flex-basis: 100px;
    flex-shrink: 0;
    margin: 0 4px;
    opacity: 0.4;
    transition: all .4s;
}

.team-item:hover {
    opacity: 1;
    flex-basis: 160px;
    margin: 0 20px;
}

.team-item img {
    width: 100%;
}

.profile {
    background-color: #222;
    position: relative;
    overflow: hidden;
}

.profile:before {
    content: ' ';
    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#000000+0,000000+100&0+0,0.95+100 */
background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.95) 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.95) 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0.95) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#f2000000',GradientType=0 ); /* IE6-9 */
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 200px;
}

.profile_red {
    color: #ff4949;
}

.profile_beige {
    color: beige;
}

.profile_green {
    color: darkseagreen;
}

.profile_pink {
    color: pink;
}

.profile_purple {
    color: violet;
}

.profile-contents {
    position: absolute;
    left: 0;
    bottom: 0;
    padding: 10px;
}

.profile-contents h2 {
    font-size: 17px;
}

.profile-contents h2 span {
    display: block;
    font-size: 10px;
}

.profile-contents p {
    color: white;
    font-size: 10px;
    min-width: 140px;
    max-height: 0;
    overflow: hidden;
    line-height: 1.2;
    transition: all 1s;
    opacity: 0;
}

.team-item:hover .profile-contents p {
    opacity: 1;
    transition-delay: .4s;
    max-height: 6em;
    margin-top: 0.4em;
}
/*---------프로필 부분---------*/