@import url('https://fonts.googleapis.com/css2?family=Roboto+Flex:opsz@8..144&display=swap');

body {
    background: linear-gradient(70deg, rgb(191, 191, 193), rgb(248, 235, 237));
    color: #0f141e;
    font: normal 16px 'Roboto', sans-serif;
}
h1 {
    font-size: 25px;
    letter-spacing: 5px;
    color: blue;
}
.contacts {
    display: flex;
}
.contacts {
    list-style-type: none;
    margin-left: 40px;
}
.contacts a {
    margin-left: 20px;
}
.contacts img:hover {
    transform: scale(1.4)
}
.contacts img {

    width: 25px;
}
.avatar {
    width: 160px;
    height: 165px;
    border-radius: 28px;
    box-shadow: 4px 4px 14px rgba(0, 0, 0, 0.40);
}
.avatar:hover {
    transform: scale(1.2)
}
.bg-yellow {
    background: #fff9dc;
}
.bg-green {
    background: #e5ffe7;
}
.bg-red {
    background: #ffe5e5;
}
.header {
    display: flex;
}
.header-text {
    margin-left:40px;
}

.header-text h4 {
    margin-bottom: 5px;
}

.header h2 {
    color: #86898f;
}

@media (max-width: 700px) {
    .header {
        text-align: center;
        display: block;
    }
}
.container {
    max-width: 800px;
    margin: auto;
    padding-top: 30px;
}
.card {
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 15px;
}
.list {
    list-style: none;
}
.list li {
    color: #86898f;
    margin-bottom: 8px;
}
.table {
    width: 100%;
}
.table td {
    padding-bottom: 10px;
}
.table td:nth-child(2), .table td:nth-child(3) {
    color: #86898f;
}
.contact h3{
    text-align: center;
}

.form-group label {
    display: block;
    font-size: 14px;
    color: #86898f;
}

.form-group input,  
.form-group textarea {
    font-family: inherit;
    width: 100%;
    box-sizing: border-box;
    border: none;
    background: transparent;
    border-bottom: 1px solid #ccc;
    color: #000;
    padding: 15px 0 10px;
    outline: none;
}
.row {
    display: flex;
    margin-bottom: 20px;
}

.row > .form-group {
    width: 50%;
    margin-right: 20px;
}
.row > .form-group:last-child {
    margin-right: 0;
}

.btn {
    background: #0f141e;
    padding: 15px 20px;
    color: #ccc;
    border: none;
    font-family: inherit;
    cursor: pointer;
    border-radius: 10px;
}
.btn:hover {
    opacity: 0.8;
}
