@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100;300;400;500;700&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Ruda:wght@800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@500&display=swap');

*{
    margin: 0;
    padding: 0;
    font-family: 'Noto Sans TC', sans-serif;
}

body{
    background: #e9e3d3;
}

.wrapper{
    background-image: url("../images/bg.jpg");
    background-size: 170%;
    background-position: top 0 right 50% ;
    background-repeat: no-repeat;
}

@media screen and (min-width: 992px){
    .wrapper{
        background-image: url("../images/bg.jpg");
        background-size: 105%;
        background-position: top 0 right 50% ;
    }
}

.container{
    margin: 0 auto;
}

.img-fluid {
    max-width: 100%;
    height: auto;
  }

/* $header */
.header{
    width: 90%;
    height: 100vh;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}
.logo{
    width: 70%;
    position: absolute;
    top: 0;
    margin-top: 50px;
    transition: 0.2s;
}
.nineoneone{
    width: 90%;
    position: absolute;
    top: 60px;
    left: 40px;
}
@media screen and (max-width: 575px){
    .header{
        width: 100%;
    }
    .logo{
        margin-top: 30px;

    }
    .nineoneone{
        top: 40px;
    }
}
@media screen and (min-width: 576px) and (max-width: 991px) {
    .header{
        width: 80%;
        height: 100vh;
        display: flex;
        align-items: flex-end;
    }
    .logo{
        width: 60%;
     }
    .nineoneone{
        width: 80%;
        position: absolute;
        top: 100px;
        left: 40px;
    }
}
@media screen and (min-width: 992px){
    .header{
        width: 80%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 100vh;
    }
    .logo{
        width: 50%;
    }
    .nineoneone{
        width: 80%;
        top: 140px;
        left: 70px;
    }
}
.logo img{
    filter: drop-shadow(2px 2px 5px rgba(0,0,0,0.4));
  }
.time{
    position: absolute;
    bottom: 120px;
    color: #fff;
    font-size: 1.75rem;
    text-shadow: 0px 0px 8px #000;
    transition: 0.1s;
}
.time-text{
    margin-bottom: 10px;
}
.time p{
    text-align: center;
    font-size: 1.25rem;
}
.time span{
    font-size: 3.5rem;
    font-family: 'Oswald', sans-serif;
    color: #E8CF2E;
}
@media screen and (max-width: 575px){
    .time p{
        font-size: 1rem;
    }
    .time span{
        font-size: 2.5rem;
    }
}

/* $icon */
.icon-group{
    margin: 20px 0px;
}
.icon-group ul li{
    display: inline-block;
    margin: 0 5px;
    list-style: none;
}
.icon-group ul li svg{
    background-color: #E8CF2E;
    width: 30px;
    height: 30px;
    padding: 15px;
    border-radius: 49%;
    margin: 10px 0px;
    border: 2px solid transparent;
    fill: #462C0D;
}
.icon-group ul li svg:hover{
    border: 2px solid #E8CF2E;
    background-color: rgba(232, 207, 46,0);
    fill: #E8CF2E;
    filter: drop-shadow(0 0 4px #462C0D);
    transition: 0.5s;
}
@media screen and (max-width: 575px){
    .icon-group ul li svg{
        width: 25px;
        height: 25px;
        padding: 8px;
    }
}
@media screen and (min-width: 576px) and (max-width: 991px) {
    .icon-group ul li svg{
        width: 28px;
        height: 28px;
        padding: 12px;
        margin: 0 10px;
    }
}
@media screen and (min-width: 992px){
    .icon-group ul{
        position: fixed;
        top: 25%;
        z-index: 555;
    }
    .time{
        font-size: 2rem;
        bottom: 50px;
    }
    .time p{
        text-align: left;
        font-size: 1.75rem;
    }
    .time span{
        font-size: 4rem;
    }
    .icon-group{
        margin: 0;
    }
    .icon-group ul li{
        display: block;
        margin: 0;
    }
}

/* $main */
main{
    background: 
    url("../images/yellow.svg"),
    url("../images/yellow2.svg"),
    url("../images/yellow2.svg"),
    rgba(233, 227, 211,0.8);
    background-repeat: no-repeat;
    background-size: 70%,70%,70%;
    background-position: 
    bottom 420px right -100px,
    bottom 0px left -100px,
    bottom 1000px left -100px;
    padding: 10px 60px;
}
.main{
    max-width: 1200px;
    margin: 0 auto;
}
main h3{
    width: 65%;
    margin: 0 auto;
    padding-bottom: 30px;
}
.main .photo{
    padding: 20px 0;
}

@media screen and (min-width: 576px) and (max-width: 991px) {
    main h3{
        width: 40%;
    }
}
@media screen and (min-width: 992px){
    main{
        background-size: 45%,50%;
        background-position: 
        bottom 500px right -200px,
        bottom 0px left -350px,
        top 1100px left 50%;
        padding: 0px 100px;
    }
    main h3{
        width: 30%;
        margin: 0 auto;
    }
    .main .photo{
        padding: 50px 0;
    }
}
.item-text{
    width: 100%;
    margin: 0 auto;
    color: #462C0D;
    font-size: 1.25rem;
    line-height: 1.7;
    padding-right: 50px;
}
.item-1 .item-pic-1{
    width: 100%;
}
.main-deco{
    color: rgba(133, 101, 43,0.1);
    font-size: 3rem;
    font-family: 'Ruda', sans-serif;
    text-align: center;
}
.photo-2{
    text-align: right;
}
.photo-4{
    margin: 0 auto;
    overflow: hidden;
}
@media screen and (max-width: 575px){
    .main-deco{
        font-size: 2rem;
    }
}
@media screen and (min-width: 576px) and (max-width: 991px) {
    .main-deco{
        font-size: 3rem;
    }
}
@media screen and (min-width: 992px){
    .item-text{
        font-size: 1.5rem;
    }
    .item-1{
        display: flex;
        align-items: center;
    }
    .item-text{
        width: 50%;
    }
    .item-1 .item-pic-1{
        width: 50%;
    }
    .main-deco{
        font-size: 5rem;
        padding-top: 50px;
    }
    .photo-3{
        width: 60%;
    }
    .photo-4{
        width: 85%;
    }
}

/* $footer */
.copyright{
    background-color: #85652B;
    color: #fff;
    text-align: center;
    padding: 20px;
    font-size: 1.125rem;
}

/* $back-to-top */
.back-to-top {
    display: none;
    position: fixed;
    right: 10px;
    bottom: 16%;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    padding: 10px 15px 15px 15px;
    color: #85652B;
    border: 1px #85652B solid;
    background-color: rgb(255, 255, 255,0.5);
    transition: .5s;
    text-align: center;
}
  
  .back-to-top:active {
    background-color: #85652B;
    color: #fff;
}

 @media screen and (max-width: 575px){
    .back-to-top {
        right: 8%;
        bottom: 16%;
        width: 60px;
        height: 60px;
        border-radius: 50%;
        cursor: pointer;
        padding: 10px 15px 15px 15px;
        color: #85652B;
        border: 1px #85652B solid;
        background-color: rgb(255, 255, 255,0.5);
        transition: .5s;
        text-align: center;
    }
}
  @media screen and (min-width: 992px){
    .back-to-top {
        right: 15px;
        bottom: 6%;
    }
}