@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Barlow:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Bellefair&family=Heebo:wght@100..900&display=swap');

:root {
    --white: rgba(255, 255, 255, 1); 
    --primary-color: rgba(208, 214, 249, 1);
    --secondary-color: rgba(11, 13, 23, 1);

    --text-barlow: "Barlow", serif;
    --text-barlow-condensed:  "Barlow Condensed", serif;
    --text-bellefair: "Bellefair", serif;
    --text--heebo:  "Heebo", serif;
}

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


/* Navbar */

.container nav{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: auto;
    padding-top: 30px;
}

.nav-logo{
    margin-left: 100px;
    display: flex;
    align-items: center;
    position: relative;
    flex: 1;
}


.line{
    width: calc(100% - 70px);
    height: 1px;
    background: var(--white);
    opacity: 25%;
    position: absolute;
    left: 120px;
    z-index: 10;
}

.nav-btn{
    width: 50px;
    height: 50px;
    margin-right: 50px;
    display: none;
    place-items: center;
    transition: all 0.5s ease;
    cursor: pointer;
}

.nav-btn div{
    width: 30px;
    height: 30px;
    position: relative;
}

.nav-btn div span{
    position: absolute;
    width: 100%;
    height: 3px;
    border-radius: 5px;
    background: var(--primary-color);
    inset: 50%;
    transform: translate(-50%,-50%);
    z-index: 10;
    transition: all 0.5s ease;
}

.nav-btn .line-1{
    transform: translate(-50%,-10px);
}

.nav-btn .line-3{
    transform: translate(-50%,8px);
}

.nav-btn.open .line-1{
    transform: translate(-50%,-50%) rotate(-45deg);
}

.nav-btn.open .line-2{
    width: 0;
}

.nav-btn.open .line-3{
    transform: translate(-50%,-50%) rotate(45deg);
}

.navbar{
    background: rgb(255,255,255,0.1);
    backdrop-filter: blur(5px);
    padding: 25px 150px;
}

.nav-item{
    display: flex;
    align-items: center;
    gap: 40px;
}


.nav-link{
    color: var(--white);
    font-family: var(--text-barlow-condensed);
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 1px;
    word-spacing: 2px;
    position: relative;
    transition: all 0.3s ease;
    font-size: 18px;
    font-weight: bold;
}

.nav-link span{
    font-weight: normal !important;
}

.nav-link::after{
    position: absolute;
    content: '';
    width: 0;
    height: 2px;
    background: var(--white);
    left: 0;
    bottom: -25px;
    transition: all 0.5s ease;
}

.nav-link.active::after,
.nav-link:hover::after{
    width: calc(100% + 5px);
}
/* main */
main{
    width: 1450px;
    margin: auto;
    transition: opacity 0.5s ease-in-out;
    opacity: 1;
}

main.hidden{
    opacity: 0;
}

.heading,
.caption{
    font-size: 28px;
    font-family: var(--text-barlow-condensed);
    color: var(--primary-color);
    letter-spacing: 4px;
    text-transform: uppercase;
}

.caption{
    color: var(--white);
    align-self: flex-start;
}

.caption span{
    opacity: 25%;
    font-weight: bold;
    letter-spacing: 4.72px;
}

.title{
    font-size: 144px;
    font-family: var(--text-bellefair);
    color: var(--white);
    text-transform: uppercase;
}

.text,.text-2{
    font-size: 18px;
    color: var(--primary-color);
    font-family: var(--text-barlow);
    line-height: 180%;
}

.text-2{
    color: var(--primary-color);
}

.res-img{
    max-width: 100%;
    height: auto;
}
#destination-main,
#crew-main,
#technology-main{
    display: flex;
    flex-direction: column;
    gap: 150px;
    margin-top: 30px;
}

#crew-main{
    gap: 130px;
}


.role{
    font-size: 32px;
    font-family: var(--text-bellefair);
    color: var(--white);
    opacity: 50.42%;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.hidden{
    opacity: 0;
}
