@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,300..700;1,14..32,300..700&display=swap');
* { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
}
:root {
    --Dark-Blue: hsl(240, 38%, 20%);
    --Grayish-Blue: hsl(240, 18%, 77%);
    --white: hsl(0, 0%, 100%);
    --black: hsl(0, 0%, 0%);
}
body {
    position: relative;
    font-family: 'Inter', sans-serif;
    font-size: 32px;
    min-height: 100vh;
    width: 100%;
    overflow: hidden;
    overflow-y: scroll;
    color: var(--Dark-Blue);
    font-weight: 300;
    line-height: 1.4;
    letter-spacing: 1.8px;
}
.decor {
    position: absolute;
    z-index: 0;
}
.decor:nth-child(1) {
    top: 25%;
    left: 18%;
}
.decor:nth-child(2) {
    bottom: 0;
    left: 0;
}
.decor:nth-child(3) {
    top: 4%;
    right: 5%;
}
.hero-content {
    position: relative;
    display: flex;
    width: 77%;
    min-height: 100vh;
    align-items: center;
    margin: auto;
}
.hero-text {
    position: relative;
    z-index: 2;
    width: 60%;
}
.author {
    font-size: 20px;
    margin-top: 30px;
    color: var(--Grayish-Blue);
}
.author span {
    font-weight: 700;
    color: var(--Dark-Blue);
}
.profile-photo {
    position: absolute;
    right: 0;
    z-index: 1;
}
.profile-photo img {
    box-shadow: 0px 24px 15px 0px hsla(257, 55%, 62%, 0.23);
}
.slider-btn {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    background-color: var(--white);
    border-radius: 30px;
    width: 110px;
    height: 55px;
    transform: translate(80%, -70%);
    box-shadow: 0px 10px 15px 0px hsla(257, 55%, 62%, 0.23);
}
.slider-btn button {
    position: relative;
    border: none;
    background-color: transparent;
    cursor: pointer;
}

.attribution { 
    position: relative;
    font-size: 11px; 
    text-align: center; 
    z-index: 3;
    margin-top: 30px;
    color: var(--Dark-Blue);
    font-weight: 600;
}
.attribution a { 
    color: hsl(228, 45%, 44%);
 }

 @media screen and (max-width: 1000px) {
    body{ 
        font-size: 25px;
    }
    .hero-content {
        width: 90%;
    }
    .hero-text {
        width: 55%;
    }
    .decor:nth-child(1) {
       width: 100px;
    }
    .decor:nth-child(3) {
        right: 0;
       width: 600px;
    }
 }
 @media screen and (max-width: 800px) {
    .author {
        font-size: 18px;
       }
   .decor:nth-child(1) {
    top: 65%;
    left: 50%;
   }
   .decor:nth-child(2) {
width: 300px;
   }
   .decor:nth-child(3) {
    right: 20%;
    width: 450px;
   }
   .hero-content {
    flex-direction: column-reverse;
   }
   .profile-photo {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    margin-top: 50px;
    width: auto;
   }
   .profile-photo img {
    width: 70%;
   }
   .hero-text {
    width: 80%;
    text-align: center;
    margin-top: 30px;
}
.slider-btn {
    transform: translate(0, -50%);
}
 }

 @media screen and (max-width: 400px) {
   body {
    font-size: 20px;
   }
   .author {
    font-size: 16px;
   }
   .hero-text {
    width: 100%;
   }
   .hero-content {
    justify-content:center;
   }
   .decor:nth-child(1) {
    top: 52%;
    left: 40%;
    width: 70px;
   }
   .decor:nth-child(2) {
width: 250px;
   }
   .decor:nth-child(3) {
    top: 8%;
    right: 2%;
    width: 380px;
   }
   .profile-photo {
    width: 100%;
   }
   .profile-photo img {
    width: 85%;
   }
   .slider-btn {
    width: 90px;
    height: 45px;
}
   .attribution { 
    margin-top: 0;
}
 }
