@import url('https://fonts.googleapis.com/css?family=EB+Garamond:400,400i,700&display=swap');

*,
*::before,
*::after {
    box-sizing: border-box;
}

strong {
    font-weight: bold;
}

i {
    font-style: italic;
}

a {
    text-decoration: none;
    color: #008faf;
}

body {
    font: 16px 'EB Garamond', 'Times New Roman', serif;
    background: url('../img/bg.png');
}

.container {
    max-width: 1024px;
    height: 100%;
    margin: 40px auto 0;
}

.contact-wrap {
    display: flex;
    justify-content: space-between;
    margin-bottom: 70px;
}

.contact-info {
    flex-basis: 65%;
}

.contact-info__heading {
    font-size: 42px;
    font-weight: bold;
    border-bottom: 1px solid #999;
}

.contact-info__title {
    display: block;
    margin-bottom: 20px;
    font-style: italic;
}

.contact-list {
    margin-bottom: 40px;
}

.contact-list__title {
    display: inline-block;
    vertical-align: middle;
    width: 45px;
    margin-right: 15px;
}

.contact-list__link,
.card__link {
    transition: all 0.4s;
}

.contact-list__link:hover,
.card__link:hover {
    text-shadow: 1px 1px 10px #00515b;
}

.contact-info__desc {
    font-size: 17px;
}

.contact-img {
    width: 200px;
    height: 200px;
    background: url('../img/profile-img.jpg') center center no-repeat;
    background-size: cover;
    border-radius: 50%;
    animation: radial-pulse 1.2s infinite;
}

@keyframes radial-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.5);
    }

    100% {
        box-shadow: 0 0 0 40px rgba(0, 0, 0, 0);
    }
}

/* Section Styles */

.card {
    display: flex;
}

.card {
    margin-bottom: 25px;
}

.card__title {
    flex-basis: 25%;
    padding-right: 30px;
    font-size: 22px;
    font-weight: bold;
    font-style: italic;
    text-align: right;
    border-right: 2px solid;
}

.card__desc {
    padding-left: 30px;
    font-size: 18px;
}

.card__list-resp {
    margin-left: 30px;
    list-style: circle;
    line-height: 25px;
}

.card__list-resp:first-of-type {
    margin-bottom: 20px;
}