*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;


}

.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 100%;
    height: 100vh;
    background-color: rgba(30, 39, 46, 0.71);
    padding: 250px 10% 0;
    color: white;
    font-family: "Open Sans", sans-serif;
    overflow-x: hidden;
}


.hero-content{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    text-align: center;
}

.hero h1{
    font-size: 69px;
    text-shadow:  0 0 10px gold;
    /*animation-name: animate02;*/
    animation-duration: 5s;
    animation-timing-function: linear;


}

.hero h2{
    font-size: 61px;
    position: relative;
    top: -30px;
    line-height: 1.4;
    color: gold;
    overflow-x: hidden;
    text-shadow:  0 0 5px gold;

    /*animation-name: animate;*/
    animation-duration: 26s;
    /*animation-iteration-count: infinite;*/
    animation-timing-function: linear;
}

@keyframes animate {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

.hero p{
    font-size: 24px;
    width: 60%;
    margin-top: -20px;
    line-height: 1.6;
    align-items: center;
    /*animation-name: animate02;*/
    animation-duration: 5s;
    animation-timing-function: linear;
}

@keyframes animate02 {
    0%{
        transform: translatey(-15px);
        opacity: 0;
    }
    100%{
        transform: translatey(0px);
        opacity: 1;
    }
}


.social-icons a{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    margin: 10px;
    margin-top: 30px;
    /*background-color: white;*/
    border-radius: 50%;
    border: 2px solid gold;
    color: gold;
    font-size: 2.0rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 0 5px gold;
    /*animation-name: animate02;*/
    animation-duration: 5s;
    animation-timing-function: linear;

}

.social-icons a:hover{
    transform: translateY(-10px);
}

.social-icons a:hover{
    background-color: gold;
    color: black;
    box-shadow: 0 0 10px gold;

}

.btn-cv{
    border:2px solid gold;
    background-color: gold;
    width: 13vw;
    height: 7vh;
    font-weight: 700;
    border-radius: 20px;
    position: absolute;
    left: 0;
    right: 0;
    top: 520px;
    bottom: 0;
    margin: auto;
    cursor: pointer;
    transition-duration: 800ms;
    /*animation-name: animate02;*/
    animation-duration: 5s;
    animation-timing-function: linear;
}

.btn-cv:hover{
    transform: translateY(15px);
}

.btn-cv:hover{
    box-shadow: 0 0 10px gold;
}

.profile-image{
    width: 250px;
    height: 380px;
    border-radius: 50%;
    position: absolute;
    top: 30%;
    left: 70%;
}

@media (max-width: 1024px) {
    .hero {
        padding: 200px 5% 0;
    }
    .hero p {
        width: 80%;
    }
    .profile-image {
        top: 55%;
        left: 65%;
        width: 200px;
        height: 300px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 150px 5% 0;
        overflow-x: hidden;
    }
    .hero h1 {
        font-size: 35px;
    }
    .hero h2 {
        font-size: 28px;
        top: -20px;
    }
    .hero p {
        font-size: 18px;
        width: 90%;
    }
    .btn-cv {
        margin-left: 0;
        top: 0;
        margin-top: 20px;
    }
    .profile-image {
        position: static;
        margin-top: 30px;
        width: 200px;
        height: 300px;
    }
    .hero {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 425px) {
    .hero {
        overflow-x: hidden;
    }
    .hero h1 {
        font-size: 30px;
    }
    .hero h2 {
        font-size: 24px;
        top: -15px;
    }
    .hero p {
        font-size: 16px;
    }
    .profile-image {
        width: 180px;
        height: 260px;
    }
    .btn-cv {
        width: 40vw;
        height: 6vh;
    }
}

@media (max-width: 375px) {
    .hero h1 {
        font-size: 28px;
    }
    .hero h2 {
        font-size: 22px;
    }
    .hero p {
        font-size: 15px;
    }
    .profile-image {
        width: 170px;
        height: 250px;
    }
}
@media (min-width: 1024px) and (max-width: 1290px) {
    .btn-cv {
        width: 20vw;
        height: 8vh;
        position: relative;
        bottom: 0;
        top: 40%;
    }

    .hero h2 {
        font-size: 45px;
    }

    .hero h1 {
        font-size: 50px;
    }
}

@media (min-width: 651px) and (max-width: 1023px){
    .btn-cv {
        width: 25vw;
        height: 8vh;
        position: relative;
        bottom: 0;
        top: 10%;
    }

    .hero h2 {
        font-size: 30px;
    }
    .hero h1 {
        font-size: 40px;
    }

    .hero p {
        font-size: 18px;
    }
}

@media (min-width: 376px) and (max-width: 650px) {

    body{
        overflow-x: hidden;
    }
    .hero{
        flex-direction: column;
        text-align: center;
        overflow-x: hidden;
    }

    .profile-image{
        display: none;
    }

    .hero h1 {
        font-size: 25px;
    }
    .hero h2 {
        font-size: 26px;
    }
    .hero p {
        font-size: 16px;
        left: 20px;
    }
    .btn-cv {
        width: 45vw;
        height: 7vh;
        position: relative;
        bottom: 0;
        top: 10%;
    }

    .social-icons a{
        font-size: 27px;
        margin: 8px;
        position: relative;
        top: 10px;
    }
}

@media (min-width: 300px) and (max-width: 376px) {

    body {
        overflow-x: hidden;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        overflow-x: hidden;
    }

    .profile-image {
        display: none;
    }

    .hero h1 {
        font-size: 25px;
    }

    .hero h2 {
        font-size: 20px;
    }

    .hero p {
        font-size: 16px;
        left: 20px;
    }

    .btn-cv {
        width: 45vw;
        height: 7vh;
        position: relative;
        bottom: 0;
        top: 10%;
    }

    .social-icons a {
        font-size: 27px;
        margin: 8px;
        position: relative;
        top: 10px;
    }
}
