@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../../assets/fonts/Inter-Regular.woff") format("woff");
}

@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../../assets/fonts/Inter-Italic.woff") format("woff");
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../../assets/fonts/Inter-Medium.woff") format("woff");
}

@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("../../assets/fonts/Inter-MediumItalic.woff") format("woff");
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../../assets/fonts/Inter-SemiBold.woff") format("woff");
}

@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url("../../assets/fonts/Inter-SemiBoldItalic.woff") format("woff");
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../../assets/fonts/Inter-Bold.woff") format("woff");
}

@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url("../../assets/fonts/Inter-BoldItalic.woff") format("woff");
}

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

:root {
    --color-black: #020617;
    --color-white: #ffffff;
    --color-fun-blue: #3f8cdc;
    --color-fun-orange: #e86420;

    --box-background-color: #0c1021;
    --box-border-color: #242838;
    --box-border-radius: 4px;
    --box-shadow-petrol: #019a8d;
    --standard-box-text-inner-padding: 2rem;

    --standard-width: 80%;

    --h1-font-size: calc(2vw + 3rem);
    --h1-font-size-media-1: 2.7rem;
    --h1-font-weight: 700;
    --h1-font-line-height: 1.1;
    --h1-letter-spacing: 0.4px;

    --h2-font-size: 1.8rem;
    --h2-font-weight: 600;
    --h2-font-line-height: 1.1;
    --h2-letter-spacing: 0.4px;

    --h3-font-size: 1.4rem;
    --h3-font-weight: 600;
    --h3-font-line-height: 1.1;
    --h3-letter-spacing: 0.4px;

    --h4-font-size: 1.4rem;
    --h4-font-weight: 600;
    --h4-font-line-height: 1.1;
    --h4-letter-spacing: 0.4px;

    --h5-font-size: 1.4rem;
    --h5-font-weight: 600;
    --h5-font-line-height: 1.1;
    --h5-letter-spacing: 0.4px;

    --standard-text-font-size: 1.2rem;
    --standard-text-font-weight: 400;
    --standard-text-font-line-height: 1.1;
    --standard-text-letter-spacing: 0.5px;

    --caption-text-font-size: 1rem;
    --caption-text-font-weight: 400;
    --caption-text-font-line-height: 1.1;
    --caption-text-letter-spacing: 0.5px;
}

html {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  font-size: 16px;
}

body {
    background: #f5f5f5;
    color: #000000;
}

h1 {
    font-style: normal;
    font-size: var(--h1-font-size);
    font-weight: var(--h1-font-weight);
    line-height: var(--h1-font-line-height);
    letter-spacing: var(--h1-letter-spacing);
}

h2 {
    font-style: normal;
    font-size: var(--h2-font-size);
    font-weight: var(--h2-font-weight);
    line-height: var(--h2-font-line-height);
    letter-spacing: var(--h2-letter-spacing);
}

h3 {
    font-style: normal;
    font-size: var(--h3-font-size);
    font-weight: var(--h3-font-weight);
    line-height: var(--h3-font-line-height);
    letter-spacing: var(--h3-letter-spacing);
}

h4 {
    font-style: normal;
    font-size: var(--h4-font-size);
    font-weight: var(--h4-font-weight);
    line-height: var(--h4-font-line-height);
    letter-spacing: var(--h4-letter-spacing);
}

h5 {
    font-style: normal;
    font-size: var(--h5-font-size);
    font-weight: var(--h5-font-weight);
    line-height: var(--h5-font-line-height);
    letter-spacing: var(--h5-letter-spacing);
}

p {
    color: #000000;
    font-style: normal;
    font-size: var(--standard-text-font-size);
    font-weight: var(--standard-text-font-weight);
    letter-spacing: var(--standard-text-letter-spacing);
}

ul {
    list-style: none;
    padding: 0;
    font-style: normal;
    font-size: var(--standard-text-font-size);
    font-weight: var(--standard-text-font-weight);
    letter-spacing: var(--standard-text-letter-spacing);
}

ol {
    padding: 0;
    font-style: normal;
    font-size: var(--standard-text-font-size);
    font-weight: var(--standard-text-font-weight);
    letter-spacing: var(--standard-text-letter-spacing);
}

time {
    font-style: normal;
    font-size: var(--standard-text-font-size);
    font-weight: var(--standard-text-font-weight);
    letter-spacing: var(--standard-text-letter-spacing);
}

figcaption {
    color: #ffffff;
    font-style: normal;
    font-size: var(--caption-text-font-size);
    font-weight: var(--caption-text-font-weight);
    letter-spacing: var(--caption-text-letter-spacing);
}

img {
    border: none;
}

a {
    text-decoration: none;
    color: #000000;
    font-style: normal;
    font-size: var(--standard-text-font-size);
    font-weight: var(--standard-text-font-weight);
    letter-spacing: var(--standard-text-letter-spacing);
}

/*Nav style.*/
.grid-container nav {
    width: 98%;
    position: fixed;
    top: 0.8em;
    left: 50%;
    transform: translateX(-50%);
    height: auto;
    z-index: 1;

    background-color: rgba(255,255,255,0.5);
    backdrop-filter: blur(10px);
    border-radius: 25px;

    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1rem;
}

.grid-container nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    column-gap: 2rem;
}

.grid-container nav a {
    font-style: normal;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.grid-container nav ul.nav_left li a img  {
    width: 40px;
    height: 40px;
    object-fit: cover;
    display: block;
    border-radius: 5px;
}

.grid-container nav ul.nav_right li a img  {
    width: 30px;
    height: 30px;
    object-fit: cover;
    display: block;
}

/*Footer style.*/
.grid-container footer {
    grid-area: footer;
    width: 100%;
    height: 5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.grid-container footer ul {
    display: flex;
    gap: 20px;
}
  
.grid-container footer ul li {
    display: inline-block;
}
