@import 'https://cdn.jsdelivr.net/npm/tailwindcss@2.2.16/dist/tailwind.min.css';

/* Font extra light */

@font-face {
    font-family: 'Circe_extra_light';
    /* Name to reference the font */
    src: url('../assets/fonts/CRC25.woff') format('opentype'),
}

/* Font light */
@font-face {
    font-family: 'Circe_light';
    /* Name to reference the font */
    src: url('../assets/fonts/CRC35.woff') format('opentype'),
}

/* Font */
@font-face {
    font-family: 'Circe';
    /* Name to reference the font */
    src: url('../assets/fonts/CRC55.woff') format('opentype'),
}

/* Font bold */
@font-face {
    font-family: 'Circe_bold';
    /* Name to reference the font */
    src: url('../assets/fonts/CRC65.woff') format('opentype'),
}

/* Font classes for the project */
.circe {
    font-family: Circe_bold;
}

.circe_light {
    font-family: Circe_light;
}

.circe_extra_light {
    font-family: Circe_extra_light;
}

.circe_bold {
    font-family: Circe_bold;
}

/* .logo {
    width: 80px;
    height: 68px;
} */

body {
    margin: 0;
    padding: 0;
    font-family: 'Circe';
    font-weight: normal;
}

/* Fonts */
/* This is the universal box sizing element */
html {
    box-sizing: border-box;
    scroll-behavior: smooth;
    background-color: #f7f7f7;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

.project-letter {
    font-family: 'Circe';
}

.fade-in {
    opacity: 0;
    /* Elements are initially hidden */
    transform: translateY(30px);
    transition: all 0.5s ease-in-out;
    /* Smooth fade-in effect */
}

.fade-in.visible {
    transform: translateY(0);
    opacity: 1;
    /* Elements become visible when the class is added */
}


/* Section */
.vertical-line {
    border-left: 2px solid black;
    /* Change the color and width as needed */
    height: 100px;
    /* Adjust the height of the line */
    margin: 0 20px;
    /* Adjust the spacing around the line */
}

.main__nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100px;
    padding: 10px 30px;
}

.main__list {
    position: fixed;
    z-index: 10;
    flex-direction: column;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background-color: #333;
    transition: 0.3s;
    opacity: 0;
}

.main__list.active {
    left: 0;
    opacity: 1;
}

.main__list li {
    margin: 20px 0;
    padding: 0px 30px;
    font-size: 14px;
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.main__list li a {
    color: #fff;
}

.main__hamburger-btn {
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    z-index: 1005;
    /* display: none; */
}

.main__hamburger-btn .bar {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #000;
    margin: 5px 0;
    transition: all 0.3s ease-in-out;
}

/* Turn the hamburger button to an X */
.main__hamburger-btn.active .bar:nth-of-type(1) {
    transform: translateY(7px) rotate(45deg);
}

.main__hamburger-btn.active .bar:nth-of-type(2) {
    opacity: 0;
}

.main__hamburger-btn.active .bar:nth-of-type(3) {
    transform: translateY(-7px) rotate(-45deg);
}


.center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hover-line {
    position: relative;
}

.hover-line::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: black;
    transition: width 0.2s ease;
}

.hover-line:hover::after {
    width: 100%;
}

/* The sections  the header section */
.about {
    display: flex;
    flex-direction: column;
    position: relative;
    padding: 50px 70px;
    gap: 30px;
}

.about__content {
    display: inherit;
    flex-direction: inherit;
    gap: 20px;
    font-size: 16px;
}

.about__name {
    position: absolute;
    inset: 0;
    font-weight: 900;
    display: flex;
    justify-content: center;
    padding-top: 60px;
}

.about__name p {
    color: rgba(87, 85, 85, 0.05);
    font-size: 70px;
    word-spacing: 40px;
}

/* Media queries */

@media (min-width: 768px) {
    .about {
        display: flex;
        padding: 30px 125px 0px 125px;
        justify-content: center;
        height: 550px;

    }
}

@media (min-width:992px) {
    .main__list li a {
        color: #000;
    }

    .main__content {
        margin-top: 150px;
        margin-left: 225px;

    }

    .title {
        font-size: 70px;
    }

    .detail {
        font-size: 15px;
    }

    .main__hamburger-btn {
        display: none;
    }

    .main__list {
        position: relative;
        display: flex;
        flex-direction: row;
        height: 100%;
        left: 0;
        opacity: 1;
        gap: 20px;
        width: auto;
        background-color: transparent;
    }

    .main__list li {
        opacity: 1;
        color: #f7f7f7;
    }

    .nav-list li {
        margin: 20px 0;
    }

}