@font-face {
    font-family: "Flexa";
    src: url("./assets/fregular.otf") format("woff2");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "Flexa";
    src: url("./assets/fmedium.otf") format("woff2");
    font-weight: 500;
    font-style: normal;
}

*,
*::after,
*::before {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    outline: 0;
    border: 0;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
p:not(last-child) {
    margin-bottom: 22.4px;
}
html {
    background: rgb(248 244 240 / 20%);
}
body {
    font-family: "Flexa";
    font-size: 16px;
    line-height: 25px;
    color: #222222;
    padding: 20px;
}
@media screen and (min-width: 768px) {
    body {
        padding: 40px 60px;
    }
}
.section {
    display: grid;
    grid-row-gap: 20px;
}

@media screen and (min-width: 768px) {
    .section {
        grid-template-columns: 330px 1fr;
        grid-template-rows: 1fr;
        grid-column-gap: 0px;
        grid-row-gap: 0px;
    }
}
.section:not(last-child) {
    margin-bottom: 40px;
}
.section > div:nth-child(2) {
    max-width: 700px;
}
h6 {
    font-size: 16px;
    font-weight: 500;
}
li {
    line-height: 30px;
    list-style: none;
}
a {
    position: relative;
    display: inline-flex;
    font-size: 16px;
    color: #545454;
    letter-spacing: 0;
    line-height: 34px;
    padding-bottom: 2px;
    text-decoration: none;
    border-bottom: 1px solid #cfcfcf;
    align-items: center;
    margin-bottom: 0px;
}

a:before {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0px;
    width: 0%;
    height: 1px;
    background: #000;
    transition: width 0.2s ease-in-out;
    width: 0%;
    opacity: 1;
}

a:hover:before {
    width: 100%;
}
a:hover {
    color: #222222;
    transition: color 0.2s ease-in-out;
}
.contact:not(last-child) {
    margin-bottom: 28px;
}