@charset "utf-8";




*,
*::before,
*::after {
    box-sizing: border-box;
}

body{
    font-size: 18px;
    line-height: 1.6;
    color: #2f0d34;
    font-family: 'Tmes New Roman','Baskerville', 'Yu Mincho Medium', 'YuMincho', 'Hiragino Mincho ProN', serif;
    letter-spacing: .1em;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    background: #f2eff7;
}

img{
    max-width: 100%;
    vertical-align: top;
}

p+p{
    margin-top: 15px;
}

.bg-gradient{
    background: #df81a5;
    background: linear-gradient(90deg,#df81a5 0%,#fdbb2d 100%);
}

header{
    height: 650px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url(../photos/main-image.jpg);
    background-size: cover;

}

.header h1{
    font-size: 60px;
    text-align: center;
    padding: 40px 80px;
    border: 4px double #2f0d34;
}

.header span{
    display: block;
    font-size: 40px;
    text-align: center;
    letter-spacing: 0.2em;
}


section{
    padding: 80px 0;
}

.inner{
    width: 960px;
    max-width: 90%;
    margin-inline: auto;
}

.title{
    font-size: 50px;
    text-align: center;
    margin-bottom: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.title:before,.title:after{
    border-top: 1px solid;
    content: "";
    width: 3em;
}


.title:before{
    margin-right: 1em;
}

.title:after{
    margin-left: 1em;
}

.skills{
    background-image: url(../photos/skills-bg.jpg);
    background-attachment: fixed;
    background-size: cover;
    color: #fff;
}

.skills-box{
    background-color: rgba(63, 13, 65, 0.5);
    width: 80%;
    padding: 40px;
    margin-bottom: 40px;
}

.skills-box:nth-of-type(even){
    margin-left: auto;
}

.skills-box h3{
    font-size: 32px;
    display: inline-block;
    font-weight: bold;
    border-bottom: 2px solid #fff;
    margin-bottom: 30px;
}

.works-gallery{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 60px 30px;
}

.gallery-box{
    display: flex;
    flex-direction: column;
}

.gallery-box>p{
    margin: 0 0 20px;
}
.day{
    text-align: end;
}

.works-img{
    background-image: url(https://source.unsplash.com/fcWAwPKpkTU);
    background-size: cover;
    padding: 10px;
    min-height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gallery-box:nth-of-type(even) .works-img{
    background-size: contain;
}

.works-img img{
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.works-info{
    margin-top: auto;
    background: #e7e2f0;
    padding: 10px;
    font-size: 14px;
}

.contact{
    background-image: url(../photos/contact-back.jpg);
    background-attachment: fixed;
    background-size: cover;
    background-position: bottom;
}

.contact-btn{
    text-align: center;
}

.contact-btn a{
    border: 1px solid #2f0d34;
    border-radius: 30px;
    padding: 10px 90px;
    display: inline-block;
    margin: 30px 0;
    color: #2f0d34;
    text-decoration: none;
    background-color: #fff;
}

.contact-btn a:hover{
    background-color: #9d84a1;
}

.copyright{
    text-align: center;
    padding: 10px;
    font-size: 14px;
}