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

body {
    /* background-color: #EA9684; */
    font-family: Arial, Helvetica, sans-serif;
  /*  background: rgb(255,154,158);
    background: linear-gradient(13deg, rgba(255,154,158,1) 0%, rgba(250,208,196,1) 50%)*/;
}

main {
    width: 340px;
    overflow: hidden;
    background-color: #f1f1f1;
    font-size: 16px;
    line-height: 22px;
    color: #000;
    border-radius: 7px;
    box-shadow: -5px -5px 25px rgba(0, 0, 0, 0.705);
    margin: 50px auto;

    animation-name: rotate;
    animation-duration: 1.5s;
    animation-fill-mode: both;
}

.top-card {
    width: 100%;
    /* height: 200px; */
}

.top-card img {
    width: 100%;
}

.top-card .menu-icon {
    position: relative;
    width: 22px;
    bottom: 13.7em;
    left: 1.1em;
    cursor: pointer;
}

.top-card .menu-icon .menu {
    position: relative;
    display: block;
    width: 100%;
    height: 4px;
    background-color: #000;
    margin-bottom: 6px;
    opacity: .5;
    transition: .4s;
}

.top-card .menu-icon .item1 {
    left: -5px;
}

.top-card .menu-icon .item2 {
    left: 5px;
}

.top-card .menu-icon:hover .menu {
    left: 0;
    border-radius: 1px;
}

.top-card .name {
    width: 50%;
    height: 0;
    text-align: center;
    float: right;
}

.top-card .name p {
    position: relative;
    font-size: 50px;
    font-weight: 800;
    color: #000;
    opacity: .5;
    bottom: 140px;
    line-height: 50px;
    text-align: center;
}

.top-card .name span {
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
}

h1 {
    font-size: 20px;
    color: #000;
    font-weight: 600;
    margin: 12px 0;
    border-bottom: 4px solid rgba(1, 106, 175, 0.603);
    width: 10%;
}

.middle-card, footer {
    margin: 5px 25px;
}

.middle-card {
    text-align: justify;
}

footer {
    text-align: center;
}

footer .social-icon {
    /* padding: 7%; */
    font-size: 20px;
    margin: 0 5%;
    color: rgba(0, 0, 0, .9);
}

.facebook:hover {color:#3b5999;}
.twitter:hover {color: #55acee;}
.google:hover {color: #dd4b39;}
.github:hover {color: #302f2f;}
.linkedin:hover {color: #0077B5;}

footer .links {
    border-top: 2px solid rgba(0, 0, 0, .1);
    text-align: center;
    margin-top: 10px;
    padding: 8px 0;
}

footer .links  address {
    font-size: 15px;
}

footer .links a {
    text-decoration: none;
    font-weight: 600;
    color: rgba(0, 0, 0, .9);
}


/* ANIMATION */
@keyframes rotate {
    0% {
        transform-origin: left bottom;
        transform: rotate3d(0, 0, 1, 45deg);
        opacity: 0;
    }
    100% {
        transform-origin: left bottom;
        transform: none;
        opacity: 1;
    }
}
