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

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* font-family: 'Barlow Condensed', sans-serif;
    font-family: 'Bellefair', serif;*/
}

:root {
    --clr-black: hsl(230, 35%, 7%);
    --clr-purple: hsl(231, 77%, 90%);
    --clr-bege: hsl(0, 0%, 100%)
}

body {
    display: block;
    background: url(../assets/technology/background-technology-desktop.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    height: 900px;
    justify-content: center;

}

.navbar {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
}

.navbar .fas {
    display: none;
}

.navbar img {
    margin: 64px 55px;
}

.navbar .line {
    position: absolute;
    width: 475px;
    left: 110px;
    z-index: 1;
}

.navbar ul {
    list-style: none;
    width: 930px;
    padding-left: 80px;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(40.7742px);
    /* Note: backdrop-filter has minim */
}

.navbar li {
    display: inline-block;
    margin: 35px 35px;
}

.navbar ul li a span {
    font-weight: 700;
}

.navbar ul li a {
    font-family: 'Barlow Condensed', sans-serif;
    position: relative;
    text-decoration: none;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 18px;
}

.navbar ul li a::after {
    content: '';
    width: 0;
    height: 4px;
    background: #ffffff;
    mix-blend-mode: normal;
    opacity: 0.5;
    position: absolute;
    left: 0;
    bottom: -35px;
    transition: 0.5s ease;
}

.navbar ul li a:hover::after {
    width: 100%;
}

.navbar .active-link::after {
    width: 100%;
    background: #ffffff;
    opacity: 1;
}

@media only screen and (max-width: 1440px) {
    .navbar ul {
        width: 840px;
        padding-left: 70px;
    }

    .navbar .line {
        width: 440px;
    }

    .navbar li {
        margin: 35px 25px;
    }
}

/* -------------- content technology ------------- */

main .content h2 {
    position: absolute;
    height: 34px;
    left: 165px;
    right: 2.3%;
    top: 210px;

    font-family: 'Barlow Condensed';
    font-style: normal;
    font-weight: 400;
    font-size: 28px;
    line-height: 34px;
    text-transform: uppercase;
    /* identical to box height */

    letter-spacing: 4.725px;

    color: #FFFFFF;

}

main .content h2 span {
    font-family: 'Barlow Condensed';
    font-style: normal;
    font-weight: 700;
    font-size: 28px;
    line-height: 34px;
    /* identical to box height */

    letter-spacing: 4.725px;


    color: #FFFFFF;

    mix-blend-mode: normal;
    opacity: 0.25;
}

main .content .description {
    position: absolute;
    width: 470px;
    height: 303px;
    left: 325px;
    top: 383px;
}

main .content .description h4 {
    position: absolute;
    height: 19px;
    left: 0%;
    right: 58.09%;
    top: calc(50% - 19px/2 - 142px);

    font-family: 'Barlow Condensed';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 19px;
    letter-spacing: 2.7px;
    text-transform: uppercase;

    color: #D0D6F9;
}

main .content .description h1 {
    position: absolute;
    height: 64px;
    left: 0%;
    right: 0%;
    top: calc(50% - 64px/2 - 89.5px);

    font-family: 'Bellefair';
    font-style: normal;
    font-weight: 400;
    font-size: 56px;
    line-height: 64px;
    text-transform: uppercase;

    color: #FFFFFF;
}

main .content .description p {
    position: absolute;
    height: 192px;
    left: 0%;
    right: 5.53%;
    top: calc(50% - 192px/2 + 55.5px);

    font-family: 'Barlow';
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 32px;
    /* or 178% */


    color: #D0D6F9;
}

.image {
    position: absolute;
    background-image: url(../assets/technology/image-launch-vehicle-portrait.jpg);
    width: 515px;
    height: 527px;
    left: 902px;
    top: 272px;
}

.image1 {
    position: absolute;
    background-image: url(../assets/technology/image-spaceport-portrait.jpg);
    width: 515px;
    height: 527px;
    left: 902px;
    top: 272px;
}

.image2 {
    position: absolute;
    background-image: url(../assets/technology/image-space-capsule-portrait.jpg);
    width: 515px;
    height: 527px;
    left: 902px;
    top: 272px;
}

main .links {
    position: absolute;
    height: 300px;
    left: 165px;
    top: 383px;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    align-items: center;

}

main .dot {
    display: flex;
    width: 80px;
    height: 80px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(241, 239, 239, 0.25);
    border-radius: 50px;
    font-size: 30px;
    color: #ffffff;
    cursor: pointer;
}

main .dot:hover {
    border: 2px solid rgba(241, 239, 239, 0.85);
}

.dot.active-link {
    background: #ffffff;
    color: var(--clr-black);
}

.tab-content {
    display: none;
}

.tab-content.active-tab {
    display: block;
}

/* --------- configuração da screen 770px ----------- */
@media only screen and (max-width: 770px) {

    body {
        background: url(../assets/technology/background-technology-tablet.jpg);
        background-size: cover;
        height: 1024px;
    }

    /* ---------- nav --------------- */
    .navbar img {
        margin: 20px 39px;
    }

    .navbar .line {
        display: none;
    }

    .navbar ul {
        width: 450px;
        padding-left: 20px;
    }

    .navbar li {
        margin: 35px 15px;
    }

    .navbar li span {
        display: none;
    }

    .navbar ul li a {
        font-size: 14px;
    }

    /* --------- content technology ----------- */

    main .content h2 {
        position: absolute;
        height: 24px;
        left: 39px;
        right: 1.84%;
        top: 136px;

        font-size: 20px;
        line-height: 24px;

    }

    main .content h2 span {
        font-size: 22px;
    }

    main .content .description {
        position: absolute;
        width: 458px;
        height: 237px;
        left: 155px;
        top: 690px;
    }

    main .content .description h4 {
        left: 33.84%;
        right: 30.41%;
        top: calc(50% - 19px/2 - 109px);
    }

    main .content .description h1 {
        height: 46px;
        left: 0.11%;
        right: 0.11%;
        top: calc(50% - 46px/2 - 60.5px);

        font-size: 40px;

        text-align: center;
    }

    main .content .description p {
        position: absolute;
        height: 140px;
        left: 0%;
        right: 0%;
        top: calc(50% - 140px/2 + 48.5px);

        font-size: 16px;

        text-align: center;
    }

    .content img {
        display: none;
    }

    .image {
        position: absolute;
        background-image: url(../assets/technology/image-launch-vehicle-landscape.jpg);
        width: 100%;
        height: 310px;
        left: 0px;
        top: 220px;
    }

    .image1 {
        position: absolute;
        background-image: url(../assets/technology/image-spaceport-landscape.jpg);
        width: 100%;
        height: 310px;
        left: 0px;
        top: 220px;
    }

    .image2 {
        position: absolute;
        background-image: url(../assets/technology/image-space-capsule-landscape.jpg);
        width: 100%;
        height: 310px;
        left: 0px;
        top: 220px;
    }

    main .links {
        width: 220px;
        height: 60px;
        left: 277px;
        top: 586px;
        flex-direction: row;
    }

    main .dot {
        width: 60px;
        height: 60px;
    }
}

/* --------- configuração da screen 770px ----------- */
@media only screen and (max-width: 380px) {
    body {
        background: url(../assets/technology/background-technology-mobile.jpg);
        background-size: cover;
        height: 710px;
    }

    /* ---------- nav --------------- */
    .navbar img {
        position: absolute;
        width: 40px;
        height: 40px;
        left: 0;
        top: 24px;
    }

    .navbar ul {
        position: fixed;
        width: 254px;
        height: 100vh;
        right: -254px;
        top: 0px;
        padding-top: 100px;
        z-index: 1;
        transition: right 0.5s;
    }

    .navbar .fas.fa-bars {
        position: absolute;
        left: 300px;
        top: 43.95px;
    }

    .navbar .fas {
        display: block;
        font-size: 35px;
        color: #FFFFFF;
        position: absolute;
        left: 180px;
        top: 43.95px;
        cursor: pointer;
    }

    .navbar li {
        margin: 35px 5px;
        display: block;
    }

    .navbar li span {
        display: inline-block;
    }

    .navbar ul li a {
        font-size: 16px;
    }

    .navbar ul li a::after {
        display: none;
    }

    /* -------------- content technology ------------- */

    main .content h2 {
        width: 276px;
        height: 19px;
        left: 70px;
        top: 118px;
    }

    main .content h2 span {
        font-size: 21px;
    }

    main .content .description {
        position: absolute;
        width: 350px;
        height: 220px;
        left: 5px;
        top: 460px;
    }

    main .content .description h4 {
        left: 105px;
        right: 0;
        top: 0px;
    }

    main .content .description h1 {
        font-size: 24px;
        top: 15px;
    }

    main .content .description p {
        left: 4%;
        right: 0%;
        top: 65px;
        
        font-size: 15px;
        line-height: 25px;
    }

    .image {
        position: absolute;
        background-image: url(../assets/technology/image-launch-vehicle-landscape.jpg);
        background-size: cover;
        width: 380px;
        height: 170px;
        left: 0px;
        top: 169px;
    }

    .image1 {
        position: absolute;
        background-image: url(../assets/technology/image-spaceport-landscape.jpg);
        background-size: cover;
        width: 380px;
        height: 170px;
        left: 0px;
        top: 169px;
    }

    .image2 {
        position: absolute;
        background-image: url(../assets/technology/image-space-capsule-landscape.jpg);
        background-size: cover;
        width: 380px;
        height: 170px;
        left: 0px;
        top: 169px;
    }

    main .links {
        width: 160px;
        height: 60px;
        left: 105px;
        top: 376px;
        flex-direction: row;
    }

    main .dot {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}