/**
 *
 * Template name: 
 * �������أ�Http://www.bootstrapmb.com
 * Author: Kri8thm (kri8thm.in) <kri8thm@gmail.com>
 * Version: 1.0.0
 * Written by: Kri8thm
 * ---------------------------------------------------------------- */

/**
 * Table of contents
 *
 * 01. CSS Variables
 * 02. Dark Styles
 * 03. Reboot CSS
 * 04. Typography
 * 05. Spacing
 * 06. Grid System
 * 07. Components
 * 08. Core Styles
 * 09. Homepage
 * 10. Footer Styles
 * 11. Animation
 * 12. Responsive Styles
 *
 */


/** 
 *
 * 01. CSS Variables
 * ---------------------------------------------------------------- */
:root {
    /* Theme colors */
    --primary: #176B87;
    --primary-rgb: 23, 107, 135;    
    --secondary: #64CCC5;
    --secondary-rgb: 100, 204, 197;    
    --dark: #04364A;
    --dark-rgb: 4, 54, 74;
    --light: #DAFFFB;
    --light-rgb: 218, 255, 251;

    /* Body config */
    --body-color: var(--primary);
    --body-bg: var(--light);
    --body-font-family: 'Work Sans', sans-serif;
    --body-font-size: 1rem;
    --body-font-weight: 400;
    --body-line-height: 1.5;
    --body-text-align: left;

    /* Link<a> config */
    --link-color: var(--primary);
    --link-hover-color: var(--dark);
    --lang-link-color: var(--dark);

    /* Heading config */
    --heading-font-family: 'Playfair Display', serif;
    --heading-font-weight: 900;
    --heading-margin-bottom: 8px;
    --heading-line-height: 1.5;
    --heading-color: var(--dark);
    
    /* Theme border */
    --border-width: 1px;
    --border-color: rgba(var(--dark-rgb), 0.1);
    --border-radius: 24px;

    /* Grid config */
    --gutter-x: 32px;
    --gutter-y: 0;
    --section-padding-top: 32px;
    --section-padding-bottom: 80px;
    --section-heading-spacing: 40px;

    /* Button config */
    --btn-padding-x: 2rem;
    --btn-padding-y: 1rem;
    --btn-font-family: 'Playfair Display', serif;
    --btn-font-size: 16px;
    --btn-font-weight: 400;
    --btn-line-height: 1.5rem;
    --btn-color: var(--bs-body-color);
    --btn-bg: transparent;
    --btn-border-radius: 8px;
    --btn-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075);
    --btn-icon-bg: transparent;
    --btn-icon-color: transparent;

    --sidebar-width: 280px;

    /* Swiper slider config */
    --swiper-pagination-bullet-inactive-opacity: 0.15;
    --swiper-pagination-color: var(--primary);

    /* Animation */
    --animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --animation-duration: 1.5s;
    --animation-name: ;
}


/** 
 *
 * 02. Dark Styles
 * ---------------------------------------------------------------- */
[data-theme=dark] {
    --border-color: rgba(var(--light-rgb), 0.1);
    --lang-link-color: var(--light);
    --body-color: var(--secondary);
    --body-bg: var(--dark);
    --heading-color: var(--light);
}

[data-theme=dark] blockquote {
    border-color: var(--primary);
}

[data-theme=dark] .hero-1 .hero-border,
[data-theme=dark] .hero-2 .hero-border {
    border-color: var(--light);
}

[data-theme=dark] .skill-list .skill-list__title {
    color: var(--light);
}

[data-theme=dark] .shape.shape--4, 
[data-theme=dark] .shape.shape--7,
[data-theme=dark] .shape.shape--10,
[data-theme=dark] .shape.shape--12 {
    color: var(--primary);
}


/** 
 *
 * 03. Reboot CSS
 * ---------------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

@media (prefers-reduced-motion: no-preference) {
    :root {
        scroll-behavior: smooth;
    }

    [data-animate] {
        opacity: 0;
    }
}

@media (prefers-reduced-motion) {
    [data-animate] {
        -webkit-animation: none !important;
        animation: none !important;
    }
}

body {
    margin: 0;
    font-family: var(--body-font-family);
    font-size: var(--body-font-size);
    font-weight: var(--body-font-weight);
    line-height: var(--body-line-height);
    color: var(--body-color);
    text-align: var(--body-text-align);
    background-color: var(--body-bg);
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

hr {
    margin: 1rem 0;
    color: inherit;
    border: 0;
    border-top: var(--border-width) solid;
    opacity: 0.25;
}

p {
    margin: 0;
}

p:not(:last-child) {
    margin-bottom: 1rem;
}

abbr[title] {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
    cursor: help;
    -webkit-text-decoration-skip-ink: none;
    text-decoration-skip-ink: none;
}

address {
    margin-bottom: 1rem;
    font-style: normal;
    line-height: inherit;
}

ol,
ul {
    padding-left: 2rem;
}

ol,
ul,
dl {
    margin-top: 0;
    margin-bottom: 1rem;
}

ol ol,
ul ul,
ol ul,
ul ol {
    margin-bottom: 0;
}

dt {
    font-weight: 700;
}

dd {
    margin-bottom: 0.5rem;
    margin-left: 0;
}

blockquote {
    margin: 0 0 16px;
    padding: 24px 32px;
    border-radius: 16px;
    background-color: var(--secondary);
    color: var(--dark);
    border-left: 4px solid var(--dark);
}

b,
strong {
    font-weight: bolder;
}

small,
.small {
    font-size: 0.875em;
}

mark,
.mark {
    padding: 0.1875em;
    color: var(--highlight-color);
    background-color: var(--highlight-bg);
}

sub,
sup {
    position: relative;
    font-size: 0.75em;
    line-height: 0;
    vertical-align: baseline;
}

sub {
    bottom: -0.25em;
}

sup {
    top: -0.5em;
}

a {
    color: var(--link-color);
    text-decoration: none;
}

a:hover {
    --link-color: var(--link-hover-color);
}

a:not([href]):not([class]),
a:not([href]):not([class]):hover {
    color: inherit;
    text-decoration: none;
}

pre,
code,
kbd,
samp {
    font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 1em;
}

pre {
    display: block;
    margin-top: 0;
    margin-bottom: 1rem;
    overflow: auto;
    font-size: 0.875em;
}

pre code {
    font-size: inherit;
    color: inherit;
    word-break: normal;
}

code {
    font-size: 0.875em;
    color: #eb5160;
    word-wrap: break-word;
}

a > code {
    color: inherit;
}

kbd {
    padding: 0.1875rem 0.375rem;
    font-size: 0.875em;
    color: var(--body-bg);
    background-color: var(--body-color);
    border-radius: 0.25rem;
}

kbd kbd {
    padding: 0;
    font-size: 1em;
}

figure {
    margin: 0 0 1rem;
}

img,
svg {
    vertical-align: middle;
    max-width: 100%;
}

table {
    caption-side: bottom;
    border-collapse: collapse;
}

caption {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    text-align: left;
}

th {
    text-align: inherit;
    text-align: -webkit-match-parent;
}

thead,
tbody,
tfoot,
tr,
td,
th {
    border-color: inherit;
    border-style: solid;
    border-width: 0;
}

label {
    display: inline-block;
}

button {
    border-radius: 0;
}

button:focus:not(:focus-visible) {
    outline: 0;
}

input,
button,
select,
optgroup,
textarea {
    margin: 0;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}

button,
select {
    text-transform: none;
}

[role=button] {
    cursor: pointer;
}

select {
    word-wrap: normal;
}

select:disabled {
    opacity: 1;
}

[list]:not([type=date]):not([type=datetime-local]):not([type=month]):not([type=week]):not([type=time])::-webkit-calendar-picker-indicator {
    display: none !important;
}

button,
[type=button],
[type=reset],
[type=submit] {
    -webkit-appearance: button;
}

button:not(:disabled),
[type=button]:not(:disabled),
[type=reset]:not(:disabled),
[type=submit]:not(:disabled) {
    cursor: pointer;
}

::-moz-focus-inner {
    padding: 0;
    border-style: none;
}

textarea {
    resize: vertical;
}

fieldset {
    min-width: 0;
    padding: 0;
    margin: 0;
    border: 0;
}

legend {
    float: left;
    width: 100%;
    padding: 0;
    margin-bottom: 0.5rem;
    font-size: calc(1.275rem + 0.3vw);
    line-height: inherit;
}

@media (min-width: 1200px) {
    legend {
        font-size: 1.5rem;
    }
}

legend + * {
    clear: left;
}

::-webkit-datetime-edit-fields-wrapper,
::-webkit-datetime-edit-text,
::-webkit-datetime-edit-minute,
::-webkit-datetime-edit-hour-field,
::-webkit-datetime-edit-day-field,
::-webkit-datetime-edit-month-field,
::-webkit-datetime-edit-year-field {
    padding: 0;
}

::-webkit-inner-spin-button {
    height: auto;
}

[type=search] {
    -webkit-appearance: textfield;
    outline-offset: -2px;
}

::-webkit-search-decoration {
    -webkit-appearance: none;
}

::-webkit-color-swatch-wrapper {
    padding: 0;
}

::-webkit-file-upload-button {
    font: inherit;
    -webkit-appearance: button;
}

::file-selector-button {
    font: inherit;
    -webkit-appearance: button;
}

::selection {
    background: var(--secondary);
    color: var(--dark);
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(0,0,0, 0.15);
}

::-webkit-scrollbar-thumb {
    background-color: var(--primary);
}

output {
    display: inline-block;
}

iframe {
    border: 0;
}

summary {
    display: list-item;
    cursor: pointer;
}

progress {
    vertical-align: baseline;
}

[hidden] {
    display: none !important;
}


/** 
 *
 * 04. Typography
 * ---------------------------------------------------------------- */
h6, h5, h4, h3, h2, h1,
.h6, .h5, .h4, .h3, .h2, .h1 {
    margin-top: 0;
    margin-bottom: var(--heading-margin-bottom);
    font-weight: var(--heading-font-weight);
    font-family: var(--heading-font-family);
    line-height: var(--heading-line-height);
    color: var(--heading-color);
}

h1, .h1 {
    font-size: calc(1.375rem + 1.5vw);
}

h2, .h2 {
    font-size: calc(1.325rem + 0.9vw);
}

h3, .h3 {
    font-size: calc(1.3rem + 0.6vw);
}

h4, .h4 {
    font-size: calc(1.275rem + 0.3vw);
}

h5, .h5 {
    font-size: 1.25rem;
}

h6, .h6 {
    font-size: 1rem;
}

.fw-medium {
    font-weight: 500 !important;
}

.fw-semibold {
    font-weight: 600 !important;
}


/** 
 *
 * 05. Spacing
 * ---------------------------------------------------------------- */
.mb-0 {
    margin-bottom: 0 !important;
}

.mb-48 {
    margin-bottom: 32px !important;
}

.mb-64 {
    margin-bottom: var(--section-heading-spacing) !important;
}


/** 
 *
 * 06. Grid System
 * ---------------------------------------------------------------- */
.container {
    max-width: var(--container-width);
    width: 100%;
    padding-right: calc(var(--gutter-x) * 0.5);
    padding-left: calc(var(--gutter-x) * 0.5);
    margin-right: auto;
    margin-left: auto;
}

.row {    
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-top: calc(-1 * var(--gutter-y));
    margin-left: calc(-0.5 * var(--gutter-x));
    margin-right: calc(-0.5 * var(--gutter-x));
}

.row > * {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
    padding-right: calc(var(--gutter-x) * 0.5);
    padding-left: calc(var(--gutter-x) * 0.5);
    margin-top: var(--gutter-y);
}


/** 
 *
 * 07. Components
 * ---------------------------------------------------------------- */

/* Button */
.btn {
    --btn-focus-box-shadow: 0 0 0 0.25rem rgba(var(--btn-focus-shadow-rgb), .25);
    display: inline-block;
    padding: var(--btn-padding-y) var(--btn-padding-x);
    font-family: var(--btn-font-family);
    font-size: var(--btn-font-size);
    font-weight: var(--btn-font-weight);
    line-height: var(--btn-line-height);
    color: var(--btn-color);
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    border: none;
    border-radius: var(--btn-border-radius);
    background-color: var(--btn-bg);
    position: relative;
    letter-spacing: 1px;
    -webkit-transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    -o-transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

@media (prefers-reduced-motion: reduce) {
    .btn {
        -webkit-transition: none;
        -o-transition: none;
        transition: none;
    }
}

.btn:hover,
.btn:focus-visible {
    color: var(--btn-hover-color);
    background-color: var(--btn-hover-bg);
}

.btn:focus-visible {
    outline: 0;
    box-shadow: var(--btn-focus-box-shadow);
}

.btn:disabled,
.btn.disabled {
    opacity: 0.65;
}

.btn > * {
    display: inline-block;
}

.btn.btn--group {
    position: relative;
    padding: 0;
}

.btn .btn__icon {
    position: absolute;
    top: 12px;
    right: -16px;
    width: 32px;
    height: 32px;
    border-radius: 32px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    background-color: var(--btn-icon-bg);
    color: var(--btn-icon-color);
}

.btn.btn--primary {
    --btn-color: #fff;
    --btn-bg: var(--primary);
    --btn-hover-color: #fff;
    --btn-hover-bg: #17576d;
    --btn-focus-shadow-rgb: var(--primary-rgb);
    --btn-icon-color: var(--dark);
    --btn-icon-bg: var(--secondary);
}

.btn.btn--secondary {
    --btn-color: var(--dark);
    --btn-bg: var(--secondary);
    --btn-hover-color: var(--dark);
    --btn-hover-bg: #3fbeb6;
    --btn-focus-shadow-rgb: var(--secondary-rgb);
    --btn-icon-color: var(--dark);
    --btn-icon-bg: var(--light);
}

/* Card */
.card a {
    color: inherit;
}

.card:hover {
    top: -8px;
}

.card .card__cover {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    margin-bottom: 16px;
    display: block;
}

.card .card__cover:before {
    content: '';
    display: block;
    padding-bottom: 100%;
}

.card .card__cover > * {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    -webkit-transition: -webkit-transform 0.35s ease-in-out;
    -o-transition: transform 0.35s ease-in-out;
    transition: transform 0.35s ease-in-out, -webkit-transform 0.35s ease-in-out;
}

.card:hover .card__cover > * {
    -webkit-transform: scale(1.15);
    -ms-transform: scale(1.15);
    transform: scale(1.15);
}

.card .card__subtitle {
    display: block;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 4px;
}

.card-list {
    --gutter-y: var(--gutter-x);
    -webkit-box-align: flex-start !important;
    -ms-flex-align: flex-start !important;
    align-items: flex-start !important;
}

.card-list .card {
    flex: 0 0 auto;
}

/* Form */
.form-group {
    position: relative;
    margin-bottom: 24px;
}

.form-error {
    position: absolute;
    top: 90%;
    left: 16px;
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 500;
    line-height: 16px;
    border-radius: 32px;
    background-color: #FF8591;
    color: #000000;
    z-index: 1;
}

.form-error:after {
    content: '';
    position: absolute;
    top: -6px;
    left: 14px;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #FF8591;
}

.form-control {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    display: block;
    width: 100%;
    color: var(--dark);
    padding: 26px 24px 8px;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    background-color: var(--secondary);
    background-clip: padding-box;
    border: 1px solid transparent;
    border-radius: 16px;
    -webkit-transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    -o-transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

@media (prefers-reduced-motion: reduce) {
    .form-control {
        -webkit-transition: none;
        -o-transition: none;
        transition: none;
    }
}
  
.form-control:focus {
    outline: 0;
    border-color: rgba(var(--dark-rgb), 0.35);
    box-shadow: 0 0 0 0.25rem rgba(var(--secondary-rgb), 0.25);
}

.form-control::-moz-placeholder {
    color: var(--primary);
    opacity: 1;
}

.form-control::placeholder {
    color: var(--primary);
    opacity: 1;
}

.form-control:disabled {
    opacity: 0.5;
}

.form-label {
    margin-bottom: 0;
    position: absolute;
    top: 10px;
    left: 26px;
    color: var(--dark);
    font-size: 12px;
    font-weight: 500;
}

/* Swiper */
.swiper-pagination {
    position: relative;
    bottom: initial !important;
    top: initial !important;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin-top: 32px;
}

.swiper-pagination.swiper-pagination-lock {
    display: none;
}


/** 
 *
 * 08. Core Styles
 * ---------------------------------------------------------------- */

/* Loader */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
}

#loader:after,
#loader:before {
    content: '';
    position: absolute;
    left: 0;
    height: 50%;
    width: 100%;
    background-color: #000;
    -webkit-transition: -webkit-transform 0.25s ease-in-out 0.25s;
    -o-transition: transform 0.25s ease-in-out 0.25s;
    transition: transform 0.25s ease-in-out 0.25s, -webkit-transform 0.25s ease-in-out 0.25s;
}

#loader:after {
    bottom: 0;
}

#loader:before {
    top: 0;
}

#loader_bar {
    position: absolute;
    top: 50%;
    left: 0;
    background-color: #fff;
    width: 0;
    height: 1px;
    z-index: 1;
    -webkit-animation: width 3s linear both;
    animation: width 3s linear both;
}

.loaded #loader {
    opacity: 0;
    visibility: hidden;
}

#loader.hide #loader_bar {
    -webkit-animation: none;
    animation: none;
    -webkit-transition: width 0.15s ease-in-out, opacity 0.15s ease-in-out 0.1s;
    -o-transition: width 0.15s ease-in-out, opacity 0.15s ease-in-out 0.1s;
    transition: width 0.15s ease-in-out, opacity 0.15s ease-in-out 0.1s;
    width: 100%;
    opacity: 0;
}

#loader.hide:before {
    -webkit-transform: translateY(-100%);
    -ms-transform: translateY(-100%);
    transform: translateY(-100%);
}

#loader.hide:after {
    -webkit-transform: translateY(100%);
    -ms-transform: translateY(100%);
    transform: translateY(100%);
}

@-webkit-keyframes width {
    0% {
        width: 0;
    } 100% {
        width: 100%;
    }
}

@keyframes width {
    0% {
        width: 0;
    } 100% {
        width: 100%;
    }
}

/* Block */
#wrapper {
    overflow: hidden;
    position: relative;
    min-height: 100vh;
}

.section {
    padding-top: var(--section-padding-top);
    padding-bottom: var(--section-padding-bottom);
}

.section .section__head {
    text-align: center;
    margin: 0 auto var(--section-heading-spacing);
}

.section .section__subtitle {
    display: block;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
}

/* Slider */
#sidebar {
    position: fixed;
    top: 0;
    right: calc(-1 * var(--sidebar-width));
    bottom: 0;
    background-color: var(--primary);
    width: var(--sidebar-width);
    padding: 64px 24px 40px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    text-align: center;
    color: #ffffff;
    z-index: 100;
    -webkit-transition: all 0.25s;
    -o-transition: all 0.25s;
    transition: all 0.25s;
}

#sidebar.show {
    right: 0;
}

#sidebar_close {
    font-size: 24px;
    font-weight: 300;
    position: absolute;
    top: 16px;
    right: 16px;
    color: inherit;
    line-height: 32px;
    display: block;
    width: 32px;
    height: 32px;
    border-radius: 24px;
    background-color: rgba(var(--dark-rgb), 0.5);
}

.sidebar-body {
    padding: 24px 0;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.navbar {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
}

.unlist,
.navbar ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.navbar ul li:not(:first-child) {
    margin-top: 24px;
}

.social li a,
.navbar ul li a {
    color: inherit;
    -webkit-transition: color 0.15s ease-in-out;
    -o-transition: color 0.15s ease-in-out;
    transition: color 0.15s ease-in-out;
}

.navbar ul li a:hover {
    color: var(--secondary);
}

.social {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin-bottom: 24px;
}

.social li:not(:first-child) {
    margin-left: 16px;
}

.social li a:hover {
    color: var(--secondary);
}

#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99;
    background-color: rgba(0,0,0, 0.6);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    -webkit-transition: all 0.25s;
    -o-transition: all 0.25s;
    transition: all 0.25s;
    opacity: 0;
    visibility: hidden;
}

#overlay.show {
    opacity: 1;
    visibility: visible;
}

#main {
    min-height: 100vh;
    position: relative;
}

/* Header */
#header {
    position: absolute;
    top: 24px;
    left: 0;
    right: 0;
}

#header .container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: space-between;
    -ms-flex-pack: space-between;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.lang {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    text-transform: uppercase;
}

.lang a {
    color: var(--lang-link-color);
}

.lang a:not(.active) {
    opacity: 0.7;
}

.lang li:not(:first-child) {
    margin-left: 32px;
}

.hidden {
    border: 0;
    padding: 0;
    margin: 0;
    position: absolute !important;
    height: 1px; 
    width: 1px;
    overflow: hidden;
    clip: rect(1px 1px 1px 1px);
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    -webkit-clip-path: inset(50%);
    white-space: nowrap;
}

#hamburger {
    display: block;
    width: 24px;
    height: 12px;
    margin-left: 16px;
    color: var(--lang-link-color);
    border-top: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    opacity: 0.6;
}

#hamburger:hover {
    opacity: 1;
}

#intro {
    --heading-margin-bottom: 32px;
    --heading-line-height: 1.345;
    padding-top: 140px;
    padding-bottom: var(--section-padding-bottom);
}

#intro .row {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.link-group {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.link-group > *:not(:first-child) {
    margin-left: 32px;
}

.relative {
    position: relative;
}

/* Shapes */
.shape {
    position: absolute;
}

.shape.shape--4,
.shape.shape--7,
.shape.shape--10,
.shape.shape--12 {
    color: #7DE0E1;
}

.shape.shape--1 {
    top: 40px;
    left: -36px;
}

.shape.shape--1,
.shape.shape--6 {
    width: 140px;
}

.shape.shape--4,
.shape.shape--5,
.shape.shape--7,
.shape.shape--8,
.shape.shape--10 {
    width: 120px;
}

.shape.shape--2,
.shape.shape--3,
.shape.shape--9,
.shape.shape--11,
.shape.shape--12,
.shape.shape--14 {
    width: 100px;
}

.shape.shape--2 {
    top: -30px;
    left: 45%;
}

.shape.shape--3 {
    bottom: -80px;
    left: 10%;
}

.shape.shape--4 {
    left: -50px;
    top: -70px;
}

.shape.shape--5 {
    top: -30px;
    right: 0;
}

.shape.shape--6 {
    right: -50px;
    top: -60px;
}

.shape.shape--7 {
    left: -72px;
    top: 10px;
}

.shape.shape--8 {
    bottom: -64px;
    left: -40px;
}

.shape.shape--9 {
    top: -30px;
    right: 10%;
}

.shape.shape--10 {
    bottom: 10px;
    right: 40%;
    width: 120px;
}

.shape.shape--11 {
    top: -30px;
    left: 34%;
}

.shape.shape--12 {
    bottom: -48px;
    right: 0;
}

.shape.shape--13 {
    right: -26px;
    top: 26px;
}

.shape.shape--14 {
    right: 20%;
    top: -26px;
}

.circle {
    display: block;
    width: 100px;
    height: 100px;
    border-radius: 100px;
    background-color: var(--secondary);
    padding: 8px;
}

.circle img {
    width: 100%;
    height: 100%;
}

.arrow-link {
    color: var(--heading-color);
    font-size: var(--btn-font-size);
}

.underline-animation {
    background-image: -webkit-gradient(linear, left top, left bottom, from(currentColor), to(currentColor));
    background-image: -o-linear-gradient(currentColor, currentColor);
    background-image: linear-gradient(currentColor, currentColor);
    background-position: 100% 100%;
    background-repeat: no-repeat;
    background-size: 0% 1px;
    -webkit-transition: background-size .5s;
    -o-transition: background-size .5s;
    transition: background-size .5s;
}

.underline-animation:hover {
    background-size: 100% 1px;
    background-position: 0% 100%;
}

.page-container {
    --heading-margin-bottom: 16px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.page-head,
.page-foot {
    text-align: center;
}

.page-cover {
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 40vh;
}

.page-cover > * {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/** 
 *
 * 09. Homepage
 * ---------------------------------------------------------------- */

/* Hero section */
.intro-content,
.hero-2-content {
    text-align: center;
}

.intro-content .link-group,
.hero-2-content .link-group {
    justify-content: center;
}

.hero-1 .hero-cover {
    max-width: 200px;
    margin-top: 64px;
    margin-left: auto;
    margin-right: auto;
    background-color: var(--primary);
}

.hero-1 .hero-cover:before {
    content: '';
    display: block;
    padding-bottom: 160%;
}

.hero-1 .hero-cover,
.hero-1 .hero-cover .hero-cover__image {
    border-radius: 200px;
}

.hero-1 .scroll-down {
    position: absolute;
    right: 0;
    bottom: -32px;
    z-index: 5;
}

.hero-1 .hero-border {
    top: -10px;
    left: -10px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--dark);
}

.hero-2 .hero-cover {
    max-width: 280px;
    margin: 0 auto 64px;
}

.hero-2 .hero-cover,
.hero-2 .hero-cover .hero-cover__image {
    border-radius: 50%;
}

.hero-2 .hero-cover {
    position: relative;
    background-color: var(--primary);
}

.hero-2 .hero-cover:before {
    content: '';
    display: block;
    padding-bottom: 100%;
}

.hero-2 .hero-border {
    top: -12px;
    left: -12px;
    width: calc(100% + 24px);
    height: calc(100% + 24px);
    border: 1px solid var(--dark);
}

.hero-2 .hero-shape {
    position: absolute;
    left: -24px;
    bottom: -24px;
    width: calc(100% + 48px);
    height: calc(100% + 48px);
    border-left: 24px solid var(--secondary);
    border-bottom: 24px solid var(--secondary);
    border-top: 24px solid transparent;
    border-right: 24px solid transparent;
    z-index: 1;
    border-radius: 50%;
    -webkit-transform: rotate(-10deg);
    -ms-transform: rotate(-10deg);
    transform: rotate(-10deg);
}

.hero-2-content {
    --heading-margin-bottom: 16px;
}

.hero-2-content h1, 
.hero-2-content .h1 {
    font-size: calc(1.75rem + 0.9vw);
}

.hero-2-content h1 > * {
    display: inline-block;
}

.hero-2-content .hero-2-content__title {
    text-align: right;
}

.hero-2-content .hero-2-content__text {
    margin-bottom: 32px;
    color: var(--heading-color);
    position: relative;
}

.hero-2-content .scroll-down {
    margin: 48px auto 0;
}

.hero-3 .intro-text {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin-bottom: 64px;
}

.hero-3 h1, 
.hero-3 .h1 {
    font-size: calc(1.5rem + 0.9vw);
}

.hero-3 .title {
    margin-bottom: 8px;
}

.hero-3 .title,
.hero-3 .title:last-child > * {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.hero-3 .title .title__avatar {
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: var(--primary);
    margin: 2.5% 4px 0;
    overflow: hidden;
    position: relative;
}

.hero-3 .title .title__avatar > img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-3 .title .title__text {
    padding: 6px 16px 8px;
    border-radius: 48px;
    background-color: var(--secondary);
    font-size: 60%;
    display: inline-block;
    line-height: 1;
    margin: 8px 6px 0;
    color: var(--dark);
}

.hero-3 .title .contact-link,
.hero-3 .title .portfolio-link {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-transition: all 0.5s var(--animation-timing-function);
    -o-transition: all 0.5s var(--animation-timing-function);
    transition: all 0.5s var(--animation-timing-function);
}

.hero-3 .title .contact-link {
    margin-right: 4px;
    width: 32px;
}

.hero-3 .title .contact-link:hover {
    -webkit-transform: translate(-8px, 8px);
    -ms-transform: translate(-8px, 8px);
    transform: translate(-8px, 8px);
}

.hero-3 .title .portfolio-link {
    margin-left: 8px;
    width: 40px;
}

.hero-3 .title .portfolio-link:hover {
    -webkit-transform: translate(8px, -8px);
    -ms-transform: translate(8px, -8px);
    transform: translate(8px, -8px);
}

.hero-3 .scroll-down {
    margin: auto;
}

.hero-cover .hero-cover__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.hero-border {
    border-radius: inherit;
    position: absolute;
    z-index: 2;
}

/* About section */
.skill,
.about-info,
.experience,
.about-content {
    width: 100%;
}

.skill,
.about-content {
    margin-top: 48px;
}

.stats {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: space-between;
    -ms-flex-pack: space-between;
    justify-content: space-between;
    margin: 0 calc(-0.5 * var(--gutter-x));
}

.stats .stats__item {
    flex: 0 0 auto;
    width: 50%;
    padding: 0 calc(0.5 * var(--gutter-x));
    margin-top: 24px;
}

.stats .stats__number {
    font-size: calc(1.375rem + 1.5vw);
    font-weight: 700;
    color: var(--heading-color);
    line-height: 1;
    margin-bottom: 8px;
}

.about-info .about-info__block {
    margin-bottom: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
}

.about-info .about-info__text,
.experience-list .experience-list__title {
    color: var(--heading-color);
}

.about-info .about-info__item:not(:first-child) {
    margin-top: 16px;
}

.about-info .about-info__item span {
    display: block;
}

.about-block {
    margin-top: 64px;
}

.experience-list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin: -32px calc(-0.5 * var(--gutter-x)) 0;
}

.experience-list .experience-list__item {
    padding-left: calc(0.5 * var(--gutter-x));
    padding-right: calc(0.5 * var(--gutter-x));
    margin-top: 32px;
    flex: 0 0 auto;
    width: 100%;
}

.experience-list .experience-list__block {
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.experience-list .experience-list__subtitle {
    display: block;
    margin-bottom: 16px;
    font-weight: 500;
}

.experience-list .experience-list__title {
    display: block;
    font-weight: 600;
    font-size: 18px;
}

.skill-list .skill-list__item:not(:first-child) {
    margin-top: 32px;
}

.skill-list .skill-list__title {
    display: block;
    margin-bottom: 16px;
}

.progress {
    position: relative;
    height: 2px;
    border-radius: 2px;
    background-color: var(--border-color);
}

.progress .progress__bar {
    height: 6px;
    width: 0;
    border-radius: 6px;
    background-color: var(--secondary);
    position: absolute;
    left: 0;
    top: -2px;
    -webkit-transition: width 1s var(--animation-timing-function) 0.5s;
    -o-transition: width 1s var(--animation-timing-function) 0.5s;
    transition: width 1s var(--animation-timing-function) 0.5s;
}

.progress .progress__badge {
    width: 40px;
    height: 20px;
    display: block;
    position: absolute;
    top: -14px;
    left: 100%;
    margin-left: -20px;
    background-color: var(--secondary);
    font-size: 10px;
    font-weight: 500;
    line-height: 20px;
    text-align: center;
    color: var(--dark);
    border-radius: 20px;
    opacity: 0;
    -webkit-transition: top 0.5s var(--animation-timing-function) 1.35s, opacity 0.5s var(--animation-timing-function) 1.35s;
    -o-transition: top 0.5s var(--animation-timing-function) 1.35s, opacity 0.5s var(--animation-timing-function) 1.35s;
    transition: top 0.5s var(--animation-timing-function) 1.35s, opacity 0.5s var(--animation-timing-function) 1.35s;
}

.fade-left .progress .progress__bar {
    width: var(--progress-width);
}

.fade-left .progress .progress__badge {
    opacity: 1;
    top: -34px;
}

.progress .progress__badge:after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 14px;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid var(--secondary);
}

/* Services section */
.service .service__item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
}

.service .service__item:not(:first-child) {
    margin-top: 48px;
}

.service .service__number {
    flex: 0 0 auto;
    font-size: calc(1.3rem + 0.6vw);
    font-weight: 700;
    opacity: 0.3;
    line-height: 1;
    width: 100%;
    padding-right: var(--gutter-x);
}

.service .service__info {
    flex: 0 0 auto;
    width: 100%;
    margin-top: 16px;
    margin-bottom: 8px;
}

.service .service__title {
    display: block;
    font-size: calc(1.275rem + 0.3vw);
    font-weight: 600;
    line-height: 1;
    color: var(--heading-color);
    margin-top: 8px;
}

.service .service__text {
    flex: 0 0 auto;
    width: 100%;
}

/* Portfolio section */
.blog-head,
.portfolio-head {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
    -webkit-box-pack: space-between;
    -ms-flex-pack: space-between;
    justify-content: space-between;
    -webkit-box-align: flex-end;
    -ms-flex-align: flex-end;
    align-items: flex-end;
}

.portfolio-head,
.portfolio-body {
    padding-left: calc(.5 * var(--gutter-x));
    margin-left: calc(-.5 * var(--gutter-x));
}

.portfolio-head {
    --heading-color: #ffffff;
    background-color: var(--primary);
    padding-bottom: var(--section-heading-spacing);
    padding-top: 32px;
    border-top-left-radius: var(--border-radius);
    color: #ffffff;
}

.portfolio-head:after,
.portfolio-body:after,
.portfolio-body:before {
    content: '';
    position: absolute;
    top: 0;
    background-color: var(--primary);
}

.portfolio-head:after,
.portfolio-body:after {
    width: 50vw;
    left: 100%;
}

.portfolio-head:after {
    height: 100%;
}

.portfolio-head .arrow-link {
    margin-top: 16px;
}

.portfolio-body:after,
.portfolio-body:before {
    height: 40%;
}

.portfolio-body:before {
    left: 0;
    width: 100%;
    border-bottom-left-radius: var(--border-radius);
}

.portfolio-content {
    flex: 0 0 auto;
    width: 100%;
}

/* Testimonials section */
.quote {
    margin-bottom: 16px;
}

.testimonial {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    font-size: calc(1.275rem + 0.3vw);
}

.author {
    font-size: 16px;
    margin-top: 32px;
}

.author .author__image {
    width: 80px;
    height: 80px;
    border-radius: 80px;
    overflow: hidden;
    margin: 0 auto 16px;
}

.author .author__name {
    display: block;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.25;
}

/* Call-to-action section */
.cta {
    background-color: var(--primary);
    color: #fff;
    padding: 24px;
    border-radius: var(--border-radius);
    text-align: center;
}

.cta .cta__title {
    --heading-color: #fff;
}

.cta .cta__content .arrow-link {
    color: #fff;
}

.cta .cta__content .link-group {
    justify-content: center;
    margin-top: 32px;
}

.cta .cta__content .link-group .arrow-link {
    flex: 0 0 auto;
    width: 100%;
    margin: 16px auto 0;
}

/* Blog section */
.blog-head {
    margin-bottom: var(--section-heading-spacing);
}

#blog_cards .card .card__cover:before {
    padding-bottom: 75%;
}

/* Contact section */
#contact.section {
    padding-bottom: 0;
}

.contact-form,
.contact-cover {
    flex: 0 0 auto;
    width: 100%;
}

.contact-cover {
    text-align: right;
    padding-left: calc(.5 * var(--gutter-x));
    margin-top: -56px;
}

.contact-cover .contact-cover__image {
    width: 50%;
}

#form_message {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 16px;
    text-align: center;
    z-index: 1;
}

#form_message > * {
    max-width: 380px;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 500;
    display: inline-block;
    width: 100%;
    text-align: left;
}

#form_message .success {
    background-color: var(--secondary);
    color: var(--dark);
}

#form_message .error {
    background-color: #FF8591;
    color: #000000;
}

.portfolio-collage {
    -webkit-column-gap: var(--gutter-x);
    -moz-column-gap: var(--gutter-x);
    column-gap: var(--gutter-x);
    margin-top: 32px;
    margin-bottom: 16px;
}

.portfolio-collage img {
    display: -ms-grid;
    display: grid;
    -ms-grid-rows: 1fr auto;
    grid-template-rows: 1fr auto;
    margin-bottom: var(--gutter-x);
    -webkit-column-break-inside: avoid;
    -moz-column-break-inside: avoid;
    break-inside: avoid;
}

.share {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: flex-start;
    -ms-flex-pack: flex-start;
    justify-content: flex-start;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-top: 32px;
}

.share .social {
    margin-bottom: 0;
    margin-left: 16px;
    color: var(--heading-color);
}

/** 
 *
 * 10. Footer Styles
 * ---------------------------------------------------------------- */
.footer {
    --heading-color: #fff;
    padding: 32px 0 40px 16px;
    border-top-left-radius: var(--border-radius);
    background-color: var(--primary);
    color: #fff;
    margin-left: calc(-.5 * var(--gutter-x));
}

.footer:after {
    content: '';
    position: absolute;
    top: 0;
    left: 100%;
    height: 100%;
    width: 50vw;
    background-color: var(--primary);
}

.footer-head {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: space-between;
    -ms-flex-pack: space-between;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-content {
    flex: 0 0 auto;
    width: 64%;
}

.footer-body {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-top: -24px;
}

.footer-body .footer-body__item {
    margin-top: 24px;
}

.footer-body .footer-body__item:not(:last-child) {
    margin-right: 64px;
}

.footer-body .footer-body__title {
    display: block;
    margin-bottom: 8px;
}

.footer-body .footer-body__item .underline-animation {
    color: inherit;
    font-size: calc(1.3rem + 0.6vw);
}


/** 
 *
 * 11. Animation
 * ---------------------------------------------------------------- */
@-webkit-keyframes fade {
    0% {
        opacity: 0;
    } 100% {
        opacity: 1;
    }
}

@keyframes fade {
    0% {
        opacity: 0;
    } 100% {
        opacity: 1;
    }
}

@-webkit-keyframes fade-down {
    0% {
        opacity: 0;
        -webkit-transform: translateY(-80px);
        -ms-transform: translateY(-80px);
        transform: translateY(-80px);
    } 100% {
        opacity: 1;
        -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
        transform: translateY(0);
    }
}

@keyframes fade-down {
    0% {
        opacity: 0;
        -webkit-transform: translateY(-80px);
        -ms-transform: translateY(-80px);
        transform: translateY(-80px);
    } 100% {
        opacity: 1;
        -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
        transform: translateY(0);
    }
}

@-webkit-keyframes fade-left {
    0% {
        opacity: 0;
        -webkit-transform: translateX(80px);
        -ms-transform: translateX(80px);
        transform: translateX(80px);
    } 100% {
        opacity: 1;
        -webkit-transform: translateX(0);
        -ms-transform: translateX(0);
        transform: translateX(0);
    }
}

@keyframes fade-left {
    0% {
        opacity: 0;
        -webkit-transform: translateX(80px);
        -ms-transform: translateX(80px);
        transform: translateX(80px);
    } 100% {
        opacity: 1;
        -webkit-transform: translateX(0);
        -ms-transform: translateX(0);
        transform: translateX(0);
    }
}

@-webkit-keyframes fade-right {
    0% {
        opacity: 0;
        -webkit-transform: translateX(-80px);
        -ms-transform: translateX(-80px);
        transform: translateX(-80px);
    } 100% {
        opacity: 1;
        -webkit-transform: translateX(0);
        -ms-transform: translateX(0);
        transform: translateX(0);
    }
}

@keyframes fade-right {
    0% {
        opacity: 0;
        -webkit-transform: translateX(-80px);
        -ms-transform: translateX(-80px);
        transform: translateX(-80px);
    } 100% {
        opacity: 1;
        -webkit-transform: translateX(0);
        -ms-transform: translateX(0);
        transform: translateX(0);
    }
}

@-webkit-keyframes fade-up {
    0% {
        opacity: 0;
        -webkit-transform: translateY(80px);
        -ms-transform: translateY(80px);
        transform: translateY(80px);
    } 100% {
        opacity: 1;
        -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
        transform: translateY(0);
    }
}

@keyframes fade-up {
    0% {
        opacity: 0;
        -webkit-transform: translateY(80px);
        -ms-transform: translateY(80px);
        transform: translateY(80px);
    } 100% {
        opacity: 1;
        -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
        transform: translateY(0);
    }
}

@-webkit-keyframes opacity {
    0% {
        opacity: 1;
    } 100% {
        opacity: 0.3;
    }
}

@keyframes opacity {
    0% {
        opacity: 1;
    } 100% {
        opacity: 0.3;
    }
}

[data-animate] {
    -webkit-animation-name: var(--animation-name);
    animation-name: var(--animation-name);
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-duration: var(--animation-duration);
    animation-duration: var(--animation-duration);
    -webkit-animation-timing-function: var(--animation-timing-function);
    animation-timing-function: var(--animation-timing-function);
}

.fade {
    --animation-name: fade;
}

.fade-down {
    --animation-name: fade-down;
}

.fade-left {
    --animation-name: fade-left;
}

.fade-right {
    --animation-name: fade-right;
}

.fade-up {
    --animation-name: fade-up;
}

.opacity {
    --animation-name: opacity;
    --animation-duration: 0.25s;
}


/** 
 *
 * 12. Responsive Styles
 * ---------------------------------------------------------------- */

/* Phones (landscape) */
@media (min-width: 576px) {
    body {
        --container-width: 540px;
        --gutter-x: 16px;
        --section-padding-bottom: 96px;
        --btn-font-size: 18px;
        --heading-margin-bottom: 16px;
        --border-radius: 32px;
    }
    
    .hero-3 h1, 
    .hero-3 .h1 {
        font-size: calc(2.25rem + 1.5vw);
    }

    .hero-2-content h1,
    .hero-2-content .h1 {
        font-size: 72px;
    }

    .row.card-list {
        margin-top: calc(-2 * var(--gutter-y));
    }

    .row > .card {
        margin-top: calc(2 * var(--gutter-y));
    }

    #header {
        top: 48px;
    }

    #intro {
        padding-top: 160px;
    }

    .intro-content,
    .hero-2-content {
        text-align: left;
    }

    .intro-content {
        width: 58.33333333%;
    }

    .shape.shape--11 {
        top: -20px;
    }

    .shape.shape--12 {
        right: 2.5%;
        bottom: -30px;
    }

    .shape.shape--14 {
        width: initial;
    }

    .hero-1 {
        width: 41.66666667%;
    }

    .hero-1 .hero-cover {
        max-width: 340px;
        margin-right: initial;
    }

    .hero-2-content {
        --heading-margin-bottom: 48px;
    }
    
    .hero-2-content h1 > * {
        display: block;
    }

    .hero-2-content .scroll-down {
        position: absolute;
        bottom: 56px;
        left: 0;
    }

    .hero-2-content .hero-2-content__text {
        position: absolute;
        top: 20px;
        right: 0;
        width: 170px;
    }

    .hero-3 .title .portfolio-link {
        width: 64px;
    }

    .hero-3 .title .contact-link {
        width: 56px;
    }

    .link-group > *:not(:first-child),
    .cta .cta__content .link-group .arrow-link {
        margin-left: 40px;
    }

    .experience-list .experience-list__item {
        width: 50%;
    }
    
    .experience-list .experience-list__title {
        font-size: 20px;
    }

    .portfolio-head,
    .portfolio-body {
        padding-left: 40px;
        margin-left: 0;
    }

    .portfolio-head {
        padding-top: 40px;
    }

    .portfolio-content {
        width: 65%;
    }

    .swiper-pagination {
        margin-top: 40px;
    }

    .cta {
        padding: 48px;
    }

    .cta .cta__content .link-group .arrow-link {
        display: inline-block;
        width: initial;
        margin-top: 0;
        margin-right: initial;
    }

    .card-list .card {
        width: 50%;
    }

    .portfolio-collage {
        -webkit-column-count: 2;
        -moz-column-count: 2;
        column-count: 2;
    }

    .footer {
        padding: 48px 0 56px 48px;
        margin-left: 0;
    }
}

/* Tablets (portrait) */
@media (min-width: 768px) {
    body {
        --container-width: 720px;
    }

    .hero-2 {
        width: 41.66666667%;
    }

    .hero-2 .hero-cover {
        margin: 0 60px 0 24px;
        max-width: initial;
    }

    .hero-2-content {
        --heading-margin-bottom: 64px;
    }

    .hero-2-content .link-group {
        margin-left: 110px;
    }

    .hero-2-content .hero-2-content__text {
        top: 0;
    }
    
    .hero-3 h1,
    .hero-3 .h1 {
        font-size: calc(3rem + 1.5vw);
    }

    .hero-2-content h1,
    .hero-2-content .h1 {
        font-size: calc(2.325rem + 1.5vw);
    }

    .hero-3 .title .contact-link,
    .hero-3 .title .portfolio-link {
        width: initial;
    }

    .hero-3 .title .contact-link {
        margin-right: 16px;
    }

    .hero-3 .title .portfolio-link {
        margin-left: 16px;
    }

    .hero-3 .title .title__avatar {
        width: 32px;
        height: 32px;
    }

    .mb-48 {
        margin-bottom: 48px !important;
    }

    .intro-content .link-group,
    .hero-2-content .link-group {
        justify-content: flex-start;
    }

    .hero-2 .hero-cover {
        margin-right: 40px;
    }

    .hero-2-content {
        width: 58.33333333%;
    }

    .shape.shape--2,
    .shape.shape--3,
    .shape.shape--7,
    .shape.shape--8,
    .shape.shape--10 {
        width: 140px;
    }

    .shape.shape--4,
    .shape.shape--5 {
        width: 160px;
    }

    .shape.shape--1 {
        top: 64px;
        left: -42px;
        width: 220px;
    }

    .shape.shape--2 {
        top: -54px;
        left: 29%;
    }

    .shape.shape--3 {
        left: 36%;
        bottom: -50px;
    }

    .shape.shape--4 {
        left: -100px;
        top: -64px;
    }

    .shape.shape--5 {
        top: -40px;
    }

    .shape.shape--6 {
        top: -84px;
        right: -86px;
        width: 200px;
    }

    .shape.shape--7 {
        left: -84px;
        top: 10px;
    }

    .shape.shape--8 {
        left: initial;
        right: -58px;
        bottom: 82px;
    }

    .shape.shape--9 {
        top: -40px;
        width: 120px;
    }

    .shape.shape--10 {
        right: 0;
        bottom: 10px;
    }

    .shape.shape--14 {
        width: 120px;
        right: 32%;
    }

    .circle {
        width: 120px;
        height: 120px;
        padding: 14px;
    }

    .skill,
    .about-content {
        padding-left: 44px;
        margin-top: 0;
    }

    .about-info {
        width: 35%;
    }

    .about-content {
        width: 65%;
    }

    .stats {
        margin-top: 40px;
    }

    .about-block {
        margin-top: 80px;
    }

    .skill {
        width: 60%;
    }

    .experience {
        width: 40%;
    }

    .section .section__head {
        width: 80%;
        margin-bottom: 48px;
    }

    .service .service__number {
        width: 16.66666667%;
    }

    .service .service__info {
        width: 33.33333333%;
        padding-right: var(--gutter-x);
        margin: 0;
    }

    .service .service__text {
        width: 50%;
    }

    .portfolio-head,
    .portfolio-body {
        padding-left: 80px;
    }

    .portfolio-head {
        padding-top: 56px;
    }

    .cta {
        padding: 64px;
    }

    .contact-form {
        width: 44%;
    }

    .contact-cover {
        width: 56%;
        text-align: center;
        padding-left: 48px;
    }

    .contact-cover .contact-cover__image {
        width: 80%;
        margin-top: 100px;
    }

    .footer {
        padding: 64px 0 80px 64px;
    }
}

/* Tablets (landscape) */
@media (min-width: 992px) {
    body {
        --container-width: 960px;
        --section-padding-top: 32px;
        --section-padding-bottom: 132px;
    }

    #intro {
        padding-top: 200px;
    }
    
    .hero-3 h1,
    .hero-3 .h1,
    .hero-2-content h1,
    .hero-2-content .h1 {
        font-size: 80px;
    }

    .hero-2 .hero-cover {
        margin-left: 60px;
    }

    .hero-2-content .link-group {
        margin-left: 150px;
    }

    .hero-2-content .hero-2-content__text {
        top: 20px;
    }

    .hero-3 .title .title__text {
        padding: 10px 36px 14px;
    }

    .hero-3 .title .title__text {
        margin: 12px 8px 0;
    }

    .hero-3 .title .title__avatar {
        width: 44px;
        height: 44px;
    }
    
    .shape {
        width: initial !important;
    }

    .shape.shape--1 {
        left: -56px;
    }

    .shape.shape--5 {
        top: -50px;
    }

    .shape.shape--6 {
        right: -110px;
        top: -114px;
    }

    .shape.shape--7 {    
        left: -92px;
        top: 26px;
    }

    .shape.shape--8 {
        right: -90px;
        bottom: 65px;
    }

    .shape.shape--9 {
        top: -42px;
        right: 70px;
    }

    .shape.shape--12 {
        right: 11.5%;
        bottom: -60px;
    }

    .shape.shape--14 {
        right: 20%;
    }

    .circle {
        width: 144px;
        height: 144px;
    }
    
    .about-info {
        width: 33.33333333%;
    }
    
    .about-content,
    .section .section__head {
        width: 66.66666667%;
    }

    .section .section__head {
        margin-bottom: 64px;
    }

    .stats .stats__item {
        width: 24%;
    }

    .testimonial {
        width: 83.33333333%;
    }

    .cta {
        --heading-margin-bottom: 0;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        text-align: left;
    }

    .cta .cta__title {
        flex: 0 0 auto;
        width: 38%;
    }
    
    .cta .cta__content {
        flex: 1;
        padding-left: 64px;
    }

    .cta .cta__content .link-group {
        justify-content: flex-start;
        margin-top: 0;
    }

    .contact-form {
        width: 41.66666667%;
    }

    .contact-cover {
        width: 58.33333333%;
    }

    .contact-cover .contact-cover__image {
        width: initial;
        margin-top: 0;
    }

    .card-list .card {
        width: 33.33333333%;
    }

    .footer {
        padding: 80px 0 100px 80px;
    }
}

/* Laptops */
@media (min-width: 1200px) {
    h1, .h1,
    .stats .stats__number {
        font-size: 3rem;
    }

    h2, .h2 {
        font-size: 2.5rem;
    }

    h3, .h3,
    .service .service__number,
    .footer-body .footer-body__item .underline-animation {
        font-size: 2rem;
    }

    h4, .h4,
    .testimonial,
    .service .service__title {
        font-size: 1.5rem;
    }
}

/* Desktops */
@media (min-width: 1320px) {
    #hamburger {
        display: none;
    }

    #main {
        margin-left: 312px;
    }

    #sidebar {
        top: 32px;
        left: 32px;
        bottom: 32px;
        border-radius: 16px;
    }

    #sidebar_close {
        display: none;
    }

    .hero-3 .intro-text {
        display: block;
    }
}

/* Large Desktops */
@media (min-width: 1540px) {
    body {
        --container-width: 1024px;
    }
}


/* ----------------------------------------------- */
/*                 Settings styles                 */
/* ----------------------------------------------- */
.setting {
    background-color: var(--primary);
    color: var(--secondary);
    padding: 4px;
    border-radius: 24px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-left: auto;
}

.setting input[type="checkbox"] {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
    clip: rect(1px 1px 1px 1px);
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    -webkit-clip-path: inset(50%);
}

.setting label {
    display: inline-flex;
    margin: 0;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

#light,
.setting input:checked + label #dark {
    display: none;
}

.setting input:checked + label {
    opacity: 1;
}

.setting input:checked + label #light {
    display: block;
}

.skill-lists-container {
    display: flex;
    justify-content: space-between;
}

.skill-list {
    width: 45%;
    /* 确保两个列表之间有一些间距 */
}

.hero-cover__image {
    object-fit: cover;
    object-position: center 40%;
    /* 调整垂直位置 */
    width: 100%;
    height: 100%;
    transform: scale(1.6) translateY(-20%);
    transform-origin: center center;
    
}

.hero-cover__image2{
        object-fit: cover;
        object-position: center 40%;
        /* 调整垂直位置 */
        width: 100%;
        height: 100%;
        transform: scale(1.5) translateY(-16%);
        transform-origin: center center;

    }