:root {
    --background-primary: #32313b;

    --accent: #4c60aa;
    --accent-secondary: #4ab9a3;
}

@font-face {
    font-family: "Roboto";
    src: url("../fonts/roboto-latin-400-normal.woff2");
    font-weight: normal;
}

@font-face {
    font-family: "Roboto Normal Italic";
    src: url("../fonts/roboto-latin-400-italic.woff2");
    font-weight: bold;
}


@font-face {
    font-family: "Roboto Bold";
    src: url("../fonts/roboto-latin-700-normal.woff2");
    font-weight: bold;
}


html, body {
    margin: 0;

    width: 100%;
    height: 100%;
}

body {
    font-family: "Roboto";
}

h1,h2 {
    font-family: "Roboto Bold";
}

.text-bold {
    font-family: "Roboto Bold";
}

.color-accent {
    color: var(--accent);
}

.section  {
    margin-left: 1.5rem;
    margin-right: 1.5rem;
    width: calc(100%-3rem);
}

.square-ratio {
    height: 100%;
    aspect-ratio: 1;
}

.svg-icon {
    vertical-align: middle;
}

.svg-icon svg {
    font-color: var(--accent);
}

.horizontal-list {
    padding: 0;
}

.horizontal-list li {
    display: inline-block;

    height: 100%;
}

nav {
    height: 2.5rem;
    width: 100%;

    position: sticky;
    top: 0;

    line-height: .5rem;
    text-align: center;
    align-content: center;

    background: var(--background-primary);
    border-bottom: .3rem solid var(--accent);
}

nav ul li :hover {
    border-bottom: .3rem solid var(--accent-secondary)
}

nav ul li + li {
    margin-left: 1rem;
}

nav ul li a {
    text-decoration: none;
    font-family: "Roboto Bold";
    color: white;
}

.banner {
    width: 100%;
    height: 20rem;

    background-color: var(--background-primary);

    align-content: center;
    text-align: center;

    color: white;
}

.banner h1 {
    color: var(--accent);
}

.banner img {
    aspect-ratio: 1;
    height: 45%;

    border-radius: 20%;

    background: var(--accent-secondary);
    border: solid .25rem var(--accent);
}

.contacts-list {
    height: 2rem;
    align-content: center;
}

.cv {
    padding:0;
    width: 100%;

    list-style: none;
    gap: 1rem;

     border-left: solid .4rem var(--accent);
}

.cv > li+li {
    margin-top: 1.5rem;
}

.cv > li {
    margin-left: .8rem;
    display:flex;
}

.cv li div {
    width: 15%;
}
