:root{
    --orange:#F66F4F;
    --black: #222120;
    --white: #F7F4F2;
    --black2: #282726;
    --gray: #5F5B5A;
}
@import url('https://fonts.googleapis.com/css2?family=Libre+Franklin:wght@700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&display=swap');

body{
    margin: 0;
    padding: 0;
    box-sizing: border-box;   
    background-color: rgb(255, 255, 255);
    /* hide scrollbar but allow scrolling */
    -ms-overflow-style: none; /* for Internet Explorer, Edge */
    scrollbar-width: none; /* for Firefox */
    overflow-y: scroll;      
}
body::-webkit-scrollbar {
display: none; /* for Chrome, Safari, and Opera */
}
.wrapper{
    display: flex;
    flex-direction: column;
}

/* nav bar */
nav{
    position: fixed;
    padding: 27px 40px 48px 40px;
    width: calc(100vw - 80px);
    z-index: 1;
    height: 10px;
    opacity: 0;
}
nav ul{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 0;
    margin: 0;
    list-style: none;
}   
.nav-name{
    width: 30px;
}
.nav-right a:last-child,    .nav-right a:nth-child(3){
    display: none;
    }
.nav-right a:first-child,    .nav-right a:nth-child(2){
    display: block;
}
.nav-right{
    display: flex;
}
nav img{
    width: 25px;
    padding-left: 10px;
}

/* section 1 */
.tablet-section{
    display: none;
}
.desktop-section{
    display: none;
}
.phone-section{
    display: flex;
    height: 100vh;
}

.background-text1, .background-text1 span{
    opacity: 0;
}

.section1{
    height: 100vh;   
    position: relative;
    justify-content: center;
}

.section1 h2{
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--white);
    font-style: italic;
    font-size: 47px;
    letter-spacing: -0.01em;
    z-index: 0;
    margin: 0;
    line-height: 50px;
}
.block{
    display: flex;
    align-items: center;
}
.block h2{
    justify-content: center;
    align-items: center;
    display: flex;
}
.block h1{
    margin-top: 0;
    margin-bottom: 0;
    text-align: left!important;

}

.background-text1{
    position: absolute;
    top: 23vh;
    width: 100vw;
}

.background-text1 :first-child{
    text-align: center;
    padding-right: 36px;
}
.background-text1 :nth-child(2){
    text-align: right;
}
.background-text1 :nth-child(3){
    text-align: center;
}
.background-text1 :nth-child(4){
    text-align: right;
    padding-right: 13px;
}
.background-text1 :nth-child(5){
    text-align: left;
    padding-left: 6px;
}
.background-text1 :nth-child(6){
    text-align: right;
}
.background-text1 :nth-child(7){
    text-align: center;
}
.background-text1 :nth-child(8){
    text-align: right;
    padding-right: 19px;
}
h1{
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--black);
    font-style: normal;
    font-size: 18px;
    letter-spacing: -0.01em;
    margin-left: 34px;
}

/* section 2 */
span,a{
    color: var(--orange)
}

a{
    font-family: 'Libre Franklin', sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 18px;
    letter-spacing: 0.1em;
    text-align: left;
    text-decoration: none;
}
p a{
    color: white;
}

.section2{
    height: 100vh;
    position: relative;
}

.background-text2{
    margin-top: 21vh;
}
p{
    font-family: 'Libre Franklin', sans-serif;
    font-style: normal;
    font-weight: 300;
    font-size: 13px;
    line-height: 23px;
    letter-spacing: 0.01em;
    color: white;
    margin-left: 40px;
    width: 60vw;
}
.section2 h2{
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--white);
    font-style: italic;
    font-size: 47px;
    letter-spacing: -0.01em;
    z-index: 0;
    margin: 0;
    line-height: 50px;
    position: absolute;
    bottom: 61px;
    right: 0;
}

.section2 h2{
    color: #282726;
    margin-right: 20px;
    text-align: right;
    font-size: 67px;
    line-height: 64px;
}  

.clipboard{
    width: 139px;
}

@media screen and (min-width: 320px) {
    .section2 h2{
        margin-right: 40px;
        width: 278px;
    }
    .background-text1 {
        width: 334px;
    }
}
@media screen and (min-width: 569px) {
    .background-text2{
        margin-top: 27vh;

    }
    .background-text1 :nth-child(4) {
        padding-right: 93px;
    }
    .tablet-section{
        display: flex;
        height: 120vh;
    }
    .phone-section{
        display: none;
    }
    .desktop-section{
        display: none;
    }
    .section2 h2 {
        margin-right: 40px;
        width: 378px;
    }
    .section1 h2{
        font-size: 60px;
        line-height: 62px;
    } 
    .background-text1 {
        width: 538px;
    }
    .background-text1 :nth-child(5) {
        position: absolute;
        bottom: 169px;
    }
    .background-text1 :nth-child(6) {
        text-align: center;
    }
    .background-text1 :nth-child(8) {
        text-align: center;
        padding-right: 19px;
    }
    .background-text1 :nth-child(2) {
        text-align: center;
    }
    .background-text1 :first-child {
        text-align: center;
    }
    p{
        width: 400px;
        line-height: 30px;
    }
}

@media screen and (min-width: 769px) {
    .section2 h2 {
        margin-right: 40px;
        width: 778px;
    }

    .section1 h2{
        line-height: 62px;
    }
    .background-text1 {
        position: absolute;
        top: 23vh;
        max-width: none;
        width: 629px;
    }
    .tablet-section{
        display: flex;
    }
    .phone-section{
        display: none;
    }
    .desktop-section{
        display: none;
    }
    .section1 h2{
        font-size: 80px;
    }
    .section2 h2 {
        font-size: 94px;
        bottom: 134px;
    }
    .background-text1 :nth-child(5) {
        position: absolute;
        bottom: 169px;
        left: 100px;
    }
    .background-text1 :nth-child(5) {
        position: absolute;
        bottom: 167px;
        left: -32px;
    }
    .background-text1 :nth-child(6) {
        text-align: center;
    }
    .background-text1 :nth-child(8) {
        text-align: center;
        padding-right: 19px;
    }
    .background-text1 :nth-child(2) {
        text-align: center;
    }
    .background-text1 :first-child {
        text-align: center;
    }
    p{
        font-size: 14px;
        width: 400px;
        margin-left: 197px;
        line-height: 30px;
    }
}


@media screen and (min-width: 1023px) {
    nav{
        height: 60px;
        padding: 58px 80px;
        width: calc(100vw - 160px);
    }
    .nav-right a{
        padding-left: 70px;
        color: var(--gray);
        font-family: 'Libre Franklin', sans-serif;
        font-style: normal;
        font-weight: 300;
        font-size: 12px;
        line-height: 18px;
        letter-spacing: 0.1em;
    }
    .nav-right span{
        font-weight: 600;
        text-align: right;
        letter-spacing: 0.1em;
        padding-left: 20px;
        color: var(--black);
    }
    .nav-name{
        width: initial;
    }
    .nav-right:nth-child(3), .nav-right:nth-child(4){
        display: block;
    }

    .background-text2 {
        margin-top: 30vh;
    }
    p{
        font-size: 14px;
        width: 400px;
        margin-left: 197px;
        line-height: 30px;
    }
    .tablet-section{
        display: none;
    }
    .phone-section{
        display: none;
    }
    .desktop-section{
        display: flex;
    }
    .background-text1 {
        width: 872px;
        max-width: none;
    }
    .background-text1 :nth-child(5) {
        position: initial;
    }
    .section1 h2 {
        line-height: 107px;
        font-size: 88px;
    }
    .section2 h2{
        bottom: 10vh;
    }
    .background-text1 :nth-child(4) {
        position: absolute;
        bottom: 88px;
    }
    .background-text1 :first-child {
        padding-right: 89px;
    }
    .background-text1 :nth-child(2) {
        text-align: center;
        padding-left: 40px;
    }
    .block h1{
        font-size: 30px;
    }
    .nav-right a:last-child,    .nav-right a:nth-child(3){
        display: block;
    }
    .nav-right a:first-child,    .nav-right a:nth-child(2){
        display: none;
    }
    .section1{
        height: 120vh;   
        position: relative;
        justify-content: center;
    }
}
    
@media screen and (min-width: 1223px) {
    nav{
        height: 60px;
        padding: 58px 15vw;
        width: calc(100vw - 30vw);
    }
}

      
  
  
