@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}

body {
    background: #192b27;
    min-height: 1500px;
}

section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

section::before{
    content: '';
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, #20332f, transparent) ;
    z-index: 999;
}

section::after{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.12);
    /* background: radial-gradient(circle, #000000, transparent); */
    z-index: 999;
    /* mix-blend-mode: color-dodge; */
}

section img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

section a{
    position: absolute;
    width: 5vh;
    height: 5vh;
    top: 5rem;
    z-index: 10000;
}

#linkedin{
    right: 18rem;
}

#instagram{
    right: 14rem;
}

#twitter{
    right: 10rem;
}

#linkedin:hover, #instagram:hover, #twitter:hover{
    cursor: pointer;
}


#text {
    position: relative;
    z-index: 10000;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    color: #e0e0e0;
}

#text-name {
    font-size: 4em;
    letter-spacing: 0.2em;
}

#text-job {
    font-size: 3em;
}

#text-job span {
    color: #20332f;
    transition: transform 0.3s ease-in-out;
}

.profile-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 100px;
    font-size: 1.8em;
    text-align: justify;
}

.profile-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background-image: url('./public/profil.png');
    background-size: cover;
    margin-bottom: 20px;
}

.profile-info {
    padding: 40px;
    color: #e0e0e0;
    flex: 1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

@media only screen and (max-width: 768px) {

    #linkedin{
        right: 12rem;
    }

    #instagram{
        right: 8rem;
    }

    #twitter{
        right: 4rem;
    }

    #text-name{
        font-size: 2.5em;
    }

    #text-job {
        font-size: 2em;
    }

    .profile-info {
        padding: 0;
    }

}

@media only screen and (max-width: 576px) {

    #linkedin{
        right: 11rem;
    }

    #instagram{
        right: 7rem;
    }

    #twitter{
        right: 3rem;
    }

    #text-name{
        font-size: 2.5em;
    }

    #text-job {
        font-size: 2em;
    }

    .profile-card {
      padding: 70px;
      font-size: 1.5em;
    }

    .profile-info {
        padding: 0;
    }

}

@media only screen and (max-width: 500px) {

    section a{
        width: 4vh;
        height: 4vh;
    }

    #linkedin{
        right: 8rem;
    }

    #instagram{
        right: 5rem;
    }

    #twitter{
        right: 2rem;
    }

    #text-name{
        font-size: 1.6em;
    }

    #text-job {
        font-size: 1.2em;
    }

    .profile-card {
      padding: 70px;
      font-size: 1em;
    }

    .profile-img {
        width: 100px;
        height: 100px;
        margin-bottom: 18px;
    }

    .profile-info {
        padding: 0;
    }
}
