html{
    font-size: 100%;
}

body{
    font-family: 'Dancing Script', cursive;
    color: #333;
}

img{
    max-width: 100%;
    vertical-align: bottom;
}

.container{
    margin: 0 3%;
    padding-top: 5%;
    background-image: url(../img/bg.jpg);
    background-size: cover;
}

.page-title{
    text-align: center;
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 50px;
}




/* header */
#header{
    width: 100%;
    padding: 2% 5% ;
    background-color: #fff;
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    z-index: 10;
}

.nav-list{
    display: flex;
    justify-content: flex-start;
    margin-left: 50px;
    gap: 0 60px;
}

.nav-list li a{
    font-size: 1.8rem;
    position: relative;
}

.nav-list li a::after {
    content: '';
    position: absolute;
    top:50%;
    left: 10%;
    width: 80%;
    height: 2px;
    background: dodgerBlue;
    transition: all .4s;
    transform: scale(0, 1);
    transform-origin: center top;
}

.nav-list li a:hover::after {
    transform: scale(1, 1);
}




/* main */
#main{
    display: flex;
}

.main-content{
    width: 50%;
    padding: 10% 0 0 5%;
}

.title-item{
    text-align: center;
    margin-bottom: 40px;
}

.title{
    font-size: 9rem;
    font-weight: 400;
    display: inline-block;
}

.rotate{
    display: inline-block;
    line-height: 1;
    font-size: 1.8rem;
    margin-left: 30px;
}

.main-content .text{
    line-height: 1.7;
    padding-left: 5%;
    font-family:'Times New Roman', Times, serif;
}

.detail{
    color: dodgerBlue;
}

svg{
    filter: drop-shadow(10px 10px 3px rgba(119, 138, 156, 0.747));
}




/* gradation */
.lily-box{
    width: 50%;
}

path{
    fill: url(#gradient);
}

#stop1{
    animation: stop1 5s ease-in-out infinite alternate;
}
 #stop2{
    animation: stop2 5s ease-in-out infinite alternate;
}
 @keyframes stop1{ 
    0% {stop-color: #7A5FFF;}
    100% {stop-color: #01FF89;}
}
 @keyframes stop2{
    0% {stop-color: #01FF89;}
    100% {stop-color: #7A5FFF;}
}
  



/* about */
.about{
    padding: 15% 10%;
}

.profiel{
    display: flex;
    justify-content: flex-start;
    font-family:'Times New Roman', Times, serif;
    gap: 0 60px;
}

.profiel-icon{
    width: 25%;
}

.profiel-icon img{
    border-radius: 50%;
}

.profiel-text .title{
    border-bottom: solid 2px gray;
    padding-bottom: 5px;
}

.profiel-icon p{
    text-align: center;
    font-weight: 700;
    font-size: 1.5rem;
    margin-top: 15px;
}

.profiel-text{
    width: 75%;
}

.profiel-text p{
    line-height: 1.7;
}

.greeting{
    margin-bottom: 50px;
}

.greeting .title,
.career .title{
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.skills{
    margin-top: 100px;
}

.skills-list{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0 5%;
    margin-top: 40px;
}

.skills-title{
    text-align: center;
    font-family: none;
    font-size: 1,8rem;
    font-weight: 700;
    margin: 10px 0;
}

.skills-item{
    text-align: center;
    font-family:'Times New Roman', Times, serif;
}

.skills-item img{
    width: 100px;
    height: 100px;
    text-align: center;
}

.skills-item p{
    line-height: 1.5;
}




/* works */
.works{
    padding: 15% 5%;
}

.works-list{
    display: flex;
    flex-wrap: wrap;
    gap: 120px 0;
}

.works-item{
    display: flex;
    gap: 0 30px;
}

.works-item:nth-child(odd){
    flex-direction: row-reverse;
}

.works-img{
    width: 60%;
    filter: drop-shadow(2px 2px 6px #333);
}

.works-text{
    width: 40%;
    display: flex;
    flex-wrap: wrap;
    font-family:'Times New Roman', Times, serif;
}

.works-text dt{
    width: 30%;
    margin-bottom: 10px;
    font-weight: normal;
}

.works-text dt{
    margin-bottom: 0;
}

.works-text dd{
    width: 70%;
    margin-bottom: 10px;
}

.works-text dd:last-child{
    margin-bottom: 0;
}

.works-btn{
    width: 120px;
    height: 40px;
    line-height: 2.5;
    display: block;
    margin: 0 auto;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.works-btn span{
    position: relative;
    display: block;
    text-align: center;
    width: 100%;
    height: 100%;
}

.works-btn::before,
.works-btn::after{
    position: absolute;
    content: "";
    right: 0;
    bottom: 0;
    background: #aaa;
    transition: all 0.3s ease;
}

.works-btn span::before,
.works-btn span::after{
    position: absolute;
    content: "";
    left: 0;
    top: 0;
    background: #aaa;
    transition: all 0.3s ease;
}

.works-btn::before,
.works-btn span::before{
    width: 2px;
    height: 50%;
}

.works-btn::after,
.works-btn span::after{
    width: 20%;
    height: 2px;
}

.works-btn:hover::before,
.works-btn span:hover::before{
    height: 100%;
}

.works-btn:hover::after,
.works-btn span:hover::after{
    width: 100%;
}

.fadein{
    opacity: 0;
    transition: transform 0.5s linear;
    animation-duration: 2.5s;
    animation-fill-mode: both;
}

.fadeIn{
    animation-name: fadeUp;
    opacity: 1;
    transition: 0.8s;
}

@keyframes fadeUp{
    0%{
        opacity: 0;
        filter: brightness(300%);
    }
    50%{
        opacity: 0.5s;
        filter: brightness(200%);
    }
    100%{
        opacity: 1;
        filter: brightness(100%);
    }
}




/* contact */
.contact-form{
    padding: 15% 10% 5%;
}

input[type="text"]{
    width: 60%;
    border: 2px solid #aaa;
    border-radius: 4px;
    margin: 8px 0;
    outline: none;
    padding: 10px;
    box-sizing: border-box;
    transition: 0.3s;
}

  
input[type="text"]:focus{
    border-color: dodgerBlue;
    box-shadow: 0 0 8px 0 dodgerBlue;
}
  
.inputWithIcon input[type="text"]{
    padding-left: 40px;
    text-align: left;
}
  
.inputWithIcon{
    position: relative;
    text-align: center;
}
  
.inputWithIcon i{
    position: absolute;
    left: 20%;
    top: 33%;
    padding: 9px 8px;
    color: #aaa;
    transition: 0.3s;
}
  
.inputWithIcon input[type="text"]:focus + i{
    color: dodgerBlue;
}
  
.inputWithIcon.inputIconBg i{
    background-color: #aaa;
    color: #fff;
    padding: 9px 4px;
    border-radius: 4px 0 0 4px;
}
  
.inputWithIcon.inputIconBg input[type="text"]:focus + i{
    color: #fff;
    background-color: dodgerBlue;
}

.message{
    width: 60%;
    border: 2px solid #aaa;
    border-radius: 4px;
    margin: 8px 0;
    outline: none;
    padding: 30px;
    box-sizing: border-box;
    transition: 0.3s;
    padding-left: 40px;
    text-align: left;
}

.message:focus{
    border-color: dodgerBlue;
    box-shadow: 0 0 8px 0 dodgerBlue;
}

.inputWithIcon .fa-solid{
    position: absolute;
    left: 20%;
    top: 35%;
    padding: 9px 8px;
    color: #aaa;
    transition: 0.3s;
  }


.submit-btn{
    width: 100px;
    display: block;
    text-align: center;
    padding: 5px;
    margin: 20px auto 0;
    position: relative;
}

.submit-btn::before,
.submit-btn::after{
    content: "";
    position: absolute;
    border: solid #aaa;
    width: 10px;
    height: 10px;
    transition: all 0.3s ease-in-out;
}

.submit-btn::before{
    top: 0;
    left: 0;
    border-width: 2px 0 0 2px;
}

.submit-btn::after{
    bottom: 0;
    right: 0;
    border-width: 0 2px 2px 0;
}

.submit-btn:hover::before,
.submit-btn:hover::after{
    width: calc(100% - 2px);
    height: calc(100% - 2px);
    border-color: dodgerBlue;
}




/* thanks page */
.thanks{
    padding: 20% 3%;
    text-align: center;
}

.thanks h2{
    font-size: 8rem;
    letter-spacing: 0.1em;
    margin-bottom: 50px;
}

.thanks p{
    font-family:'Times New Roman', Times, serif;
    line-height: 1.5;
}




 /* footer */
.copyright{
    text-align: center;
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 0.8rem;
    margin: 30px 0 10px;
}




/* tb */
@media(max-width:768px){
    /* header */
    #header{
        padding: 2% 3%;
    }

    .nav-list{
        gap: 0 30px;
    }

    .nav-list{
        margin-left: 30px;
    }

    .nav-list li a{
        font-size: 1.5rem;
    }
    

    /* main */
    #main{
        padding-top: 4%;
    }

    .title-item{
        margin-bottom: 20px;
    }

    .title{
        font-size: 6rem;
    }

    .rotate{
        font-size: 1.5rem;
    }

    .main-content .text{
        line-height: 1.2;
    }


    /* about */
    .about{
        padding:20% 5%;
    }

    .profiel{
        flex-direction: column;
        align-items: center;
    }

    .profiel-icon{
        width: 50%;
    }

    .profiel-text{
        width: 100%;
        margin-top: 50px;
    }

    .skills-list{
        gap: 0 8px;
    }


    /* works */
    .works{
        padding-top: 20%;
    }

    .works-item{
        flex-direction: column;
        gap: 40px 0;
    }

    .works-item:nth-child(odd){
        flex-direction: column;
    }

    .works-img{
        width: 100%;
    }

    .works-text{
        width: 100%;
        line-height: 1.7;
    }

    .works-text dt{
        text-align: center;
    }

    .works-btn{
        margin-top: 30px;
    }


    /* contact */
    .contact-form{
        padding-top: 20%;
    }


    /* thankspage */

    .thanks h2{
        font-size: 5rem;
    }

    .thanks p{
        line-height: 1.2;
    }
}




/* sp */
@media(max-width:425px){
    /* header */
    #header{
        padding: 2% 3%;
    }

    .nav-list{
        gap: 0 30px;
    }

    .nav-list{
        margin-left: 30px;
    }

    .nav-list li a{
        font-size: 1.3rem;
    }


    /* main */
    .title{
        font-size: 9rem;
    }

    .rotate{
        display: block;
        text-align: right;
    }

    .main-content{
        width: 100%;
        padding: 20% 5%;
    }

    .main-content .text{
        line-height: 2;
        margin-top: 30px;
    }

    .lily-box{
        display: none;
    }


    /* about */
    .about{
        padding:25% 5%;
    }

    .profiel{
        flex-direction: column;
        align-items: center;
    }

    .profiel-icon{
        width: 70%;
    }

    .profiel-text{
        width: 100%;
        margin-top: 50px;
    }

    .skills{
        flex-direction: column;
        align-items: center;
    }

    .skills-item{
        margin-bottom: 50px;
    }

    .skills-item:last-child{
        margin-bottom: 0;
    }

    .skills-list{
        flex-direction: column;
        align-items: center;
    }


    /* works */
    .works{
        padding-top: 25%;
    }

    .works-text{
        font-size: 0.7rem;
    }

    .works-text dt{
        width: 35%;
    }

    .works-text dd{
        width: 65%;
    }

    .works-btn{
        line-height: 3.5;
    }


    /* contact */
    .contact-form{
        padding-top: 25%;
    }

    input[type="text"]{
        width: 100%;
    }

    .inputWithIcon i{
        left: 2%;
        top: 33%;
    }

    .message{
        width: 100%;
    }

    .inputWithIcon .fa-solid{
        left: 2%;
        top: 35%;
    }

    
    /* thankspage */
    .thanks{
        padding-top: 30%;
    }

    .thanks h2{
        font-size: 3rem;
        margin-bottom: 25px;
    }

    .thanks p{
        font-size: 0.8rem;
        line-height: 1;
    }
}