@import url('https://fonts.googleapis.com/css2?family=Kumbh+Sans:wght@100..900&display=swap');

:root {
    --dark-cyan: hsl(185, 75%, 39%);
    --very-dark-blue: hsl(229, 23%, 23%);
    --dark--grayish-blue: hsl(227, 10%, 46%);
    --dark-gray: hsl(0, 0%, 59%);
    --font: 'Kumbh Sans', serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--dark-cyan);
}

.container {
    display: flex;
    width: 100%;
    height: 100vh   ;
}

.img-top-bg {
    width: 50%;
    position: relative;
    overflow: hidden;
}

.img-bottom-bg {
    width: 50%;
    position: relative;
    overflow: hidden;
}

.img-top-bg img {
    width: 100%;
    height: 100%;
    position: absolute;
    margin-top: -50%;
}

.img-bottom-bg img {
    width: 100%;
    height: 100%;
    position: absolute;
    margin-top: 50%;
}

main {
    position: absolute;
    width: 350px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 14px;
    overflow: hidden;
    background-color: white;
}

.main-top-bg {
    height: 140px;
}

.main-face-img {
    width: fit-content;
    position: relative;
}

.main-face-img img {
    position: absolute;
    border-radius: 50%;
    margin-top: -48px;
    margin-left: 127px;
    border: 8px solid white;
}

.main-content {
    background-color: white;
    margin-top: 80px;
    font-family: var(--font);
}

.titles {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 10px;
    border-bottom: 1px solid var(--dark-gray);
    padding-bottom: 20px;
}

.titles h2 {
    font-size: 18px;
    color: var(--very-dark-blue);
}

.titles h2 span {
    color: var(--dark-gray);
    font-weight: 400;
}

.titles h3 {
    color: var(--dark-gray);
    font-weight: 400;
    font-size: 14px;
}

footer {
    display: flex;
    justify-content: space-around;
    padding: 24px;
    align-content: center;
    align-items: center;
    font-family: var(--font);
}

footer div {
    display: flex;
    flex-direction: column;
    align-items: center;
}

footer div h2 {
    color: var(--very-dark-blue);
    font-size: 22px;
    font-weight: 700;
}

footer div p {
    color: var(--dark-gray);
    font-size: 14px;
    font-weight: 400;
}