* {
     margin: 0;
     padding: 0;
     border: 0;
     box-sizing: border-box;
     font-size: 100%;
     font: inherit;
     vertical-align: baseline;
 }
 body{
    background-color: #3C6851;
    overflow-x: hidden; 
 }

a {
    color: inherit;
    text-decoration: inherit;
}


/* ----------font---------- */
h1{
    font-family: cabin;
    font-size: 120px;
    line-height: 120px;
    font-weight: 400;
    text-shadow: #294637a4 -10px 10px 5px ;
}
h2{
    font-family: cabin;
    font-size: 35px;
    font-weight: 700;
    margin-bottom: 10px;
    color:white;
}
h3{
    display: inline-block;
    font-family: lato;
    font-size: 50px;
    font-weight: 700;
    margin-right:10px;
    text-align: center;
    color: #849b8f;
}
span {
    display: block;
    font-size: 30px;
    margin-bottom: 30px;
    font-weight: 700;
}
p{
    font-family: lato;
    font-size: 20px;
    font-weight: 400;
    color: black;
}
.workTitle p{
    color: white;
}
.nickName {
    color: white;
    font-weight: 700;
}
.copy p{
    color: white;
}
/* -------------------- */
.container {
    width: 90vw;
    padding: 0 5% 5% 5% ;
    margin: auto;
    position: relative;
}
.contact{
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    height: 50px;
    padding-top: 20px;
}
#linkedinIcon, #emailIcon{
    display: inline-block;
    margin-right:25px;
    width: auto;
    height: 35px;
    cursor: pointer;
}
.copy{
    margin-right: 25px;
    width: fit-content;
    height: 35px;
    border: white solid 1px;
    border-radius: 5px;
    padding: 4px; 
}
#copyMessage{
    display: none;
}
#copiedMessage{
    display: none;
}
.myName {
    top:40px;
    width: fit-content;
    position: sticky;
    background-image: linear-gradient(to right, rgba(60, 104, 81, 1), rgba(60, 104, 81, 0));
    z-index: 2;
}
.indicator{
    height: 80px;
    width:fit-content;
    position: absolute;
    top:40px;
    right: 5%;  
}
#arrow{
    height: 100%;
    width: auto;
}
.scrollText{
    display:inline-block ;
    height: 60px;
    width: fit-content;
    overflow: hidden;
}
.work{
    width: 100%;
    margin-top: 70px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.workDetail {
    width: 30%;
    height: fit-content;
    position: -webkit-sticky;
    position: sticky;
    top: 55vh;
}
.workPic{
   width: 50%;
   height: fit-content;
   position: relative;
}
.workPic img {
    width: 100%;
    height: auto;
    margin-bottom: 40px;
}
.workTitle {
    text-align: center;
    position: absolute;
    top: 100px;
    left: 50%;
    transform: translateX(-50%)
}
/* ----------hover animation---------- */
@media only screen and (min-width: 1100px) {
.color {
        display: none
    }

    .workPic:hover .blackWhite {
        display: none
    }

    .workPic:hover .workTitle {
        display: none
    }

    .workPic:hover .color {
        display: block
    }
}

/* ----------media query---------- */
@media only screen and (max-width: 1200px) {
    .indicator {
            top: 50vh;
        }
}
@media only screen and (max-width: 1100px) {
    .myName {
            margin-top: 40px;
            position: static;
        }
    .work {
           flex-direction: column;  
        }
    .workDetail {
        width: 100%;
        position: static;
        margin: 40px 0 40px 0;
    }
    .workPic {
        width: 100%;
    }
    .blackWhite, .workTitle{
        display: none;

    }
    .color{
        display: block;

    }
}
@media only screen and (max-width: 750px) {
    h1{
        font-size: 100px;
        line-height: 100px;
    }
    #linkedinIcon,
    #emailIcon {
        height: 30px;
    }
    .indicator {
        height: 60px;
        
    }
}
@media only screen and (max-width: 600px) {
    h1{
        font-size: 80px;
        line-height: 80px;
    }
    h3{
        font-size:35px;
    }
    .indicator {
        height: 45px;
        top: 38vh;
    }
    span {
        font-size: 24px;
        margin-bottom: 30px;
    }
    p {
        font-size: 16px;
    }
    .copy {
        margin-right: 20px;
        height: 30px;
        border-radius: 4px;
        padding: 3px;
    }
    .scrollText {
        height: 45px;
    }
}
@media only screen and (max-width: 470px) {
    h1{
        font-size: 65px;
        line-height: 65px;
    }
    h3{
        font-size:35px;
    }
    .indicator {
        height: 45px;
        top: 38vh;
    }
    span {
        font-size: 24px;
        margin-bottom: 30px;
    }
    p {
        font-size: 16px;
    }
    .copy {
        margin-right: 20px;
        height: 30px;
        border-radius: 4px;
        padding: 3px;
    }
    .scrollText {
        height: 45px;
    }
}