* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-image: url(ola.jpg);
    background-attachment: fixed;
    /*background-color: #333;*/
}

h1 {
    font-family: 'Anton', sans-serif;
    font-size: 3.5rem;
    color: #fff;
    text-align: center;
}

h2 {
    font-family: 'Prompt', sans-serif;
    font-size: 70px;
    font-weight: 500;
    color: #fff;
    text-align: center;
    margin-bottom: 20px;
}

h3 {
    font-family: 'Rammetto One', cursive;
    color: #fff;
    text-align: center;
}


/*.container{
    max-width: 900px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    min-height: 100vh;
}*/

.card-wrapper {
    width: 400px;
    height: 600px;
    position: relative;
}

.card {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 350px;
    height: 770px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.0.6);
    /*cursor: pointer;*/
    transition: 0.5s;
}

.card .card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background-color: #000;
    transition: 0.5s;
}


/*.card:hover img {
    opacity: 0.4;
    transform: 0.5s;
}*/

.card:hover .card-image {
    transform: translateY(-120px);
    transition: all 0.9s;
}


/*** social icons ***/

.social-icons {
    text-align: center;
    position: absolute;
    top: 20%;
    left: 45%;
    transform: translate(-50%, -50%);
    z-index: 3;
    display: flex;
}

.social-icons li {
    list-style: none;
}

.social-icons li a {
    position: relative;
    display: block;
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    background: #12b8eb;
    color: blue;
    font-size: 24px;
    font-weight: bold;
    transition: 0.4s;
    transform: translateY(200px);
    opacity: 0;
    margin: 0 5px;
}


/*
.card:hover .social-icons li a{
   transform: translateY(0px);
    opacity: 1;
}

.social-icons li a:hover{
    background-color: #000;
    transition: .2s;
}
.social-icons li a:hover .bi{
    color: #fff;
}

.social-icons li a .bi{
    transition: 0.8s;
}

.social-icons li a .bi:hover{
    transition: rotateX(360deg);
    color: #fff;
}
.card:hover li:nth-child(1) a{
    transition-delay: 0.1s;
}
.card:hover li:nth-child(2) a{
    transition-delay: 0.2s;
}
.card:hover li:nth-child(3) a{
    transition-delay: 0.3s;
}*/

.details {
    position: absolute;
    bottom: 0;
    left: 0;
    background: #fff;
    width: 100%;
    height: 125px;
    z-index: 1;
    padding: 5px;
    color: #050a4b;
}

.details h2 {
    margin: 5px 0;
    padding: 0;
    text-align: center;
    font-family: 'Raleway', sans-serif;
}

.details h2 .job-title {
    font-size: 1rem;
    line-height: 1.5rem;
    color: rgb(12, 0, 0);
    font-weight: 500;
}


/**********responsive *********/

@media (max-width: 1000px) {
    .container {
        flex-direction: column;
    }
    .card-wrapper {
        margin-bottom: 10px;
    }
}