* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.first {
    background-image: url(../image/background1.jpg);
    width: 100%;
    height: 100vh;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;

    &:hover {
        >.first1 {
            opacity: 1;
            bottom: -100px;
        }
    }

    >.container {
        width: 100%;
        height: 90px;
        border-bottom: 1px solid white;
        display: flex;

        >div {
            display: flex;

            &:nth-of-type(1) {
                width: 15%;
                border-right: 1px solid white;

                >img {
                    height: 100%;
                    width: 90%;
                }
            }

            &:nth-of-type(2) {
                width: 70%;

                >ul {
                    width: 100%;
                    height: 100%;
                    display: flex;

                    >li {
                        /* border: 1px solid black; */
                        width: 20%;
                        list-style-type: none;
                        position: relative;

                        &:hover {
                            >ul {
                                opacity: 1;
                                visibility: visible;
                            }
                        }

                        >ul {
                            width: 200px;
                            /* height: 110px; */
                            display: flex;
                            flex-direction: column;
                            position: absolute;
                            top: 100;
                            left: 0px;
                            background-color: rgba(248, 247, 247, 0.295);
                            opacity: 0;
                            visibility: hidden;
                            position: relative;
                            z-index: 2;

                            >li {
                                list-style-type: none;
                                width: 100%;
                                height: 40px;
                                border-bottom: 1px solid rgba(255, 255, 255, 0.619);

                                &:hover {
                                    background-color: white;

                                    >a {
                                        color: rgb(170, 184, 190);
                                    }
                                }

                                >a {
                                    font-size: 16px;
                                    color: white;
                                    text-decoration: none;
                                    width: 100%;
                                    height: 100%;
                                    display: flex;
                                    justify-content: start;
                                    align-items: center;
                                    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
                                }
                            }
                        }

                        >a {
                            text-decoration: none;
                            width: 100%;
                            height: 100%;
                            display: flex;
                            justify-content: center;
                            align-items: center;
                            color: white;
                            font-size: 16px;
                            font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
                        }
                    }
                }
            }

            &:nth-of-type(3) {
                width: 15%;
                border-left: 1px solid white;
                display: flex;
                justify-content: center;
                align-items: center;
                gap: 20px;

                >a {

                    >i {
                        color: white;
                        font-size: 20px;
                    }
                }

            }
        }
    }

    >.first1 {
        width: 100%;
        height: 100%;
        opacity: 0;
        transition: 2s;
        position: absolute;
        bottom: -200px;



        >div {
            width: 70%;
            height: 50%;
            /* border: 2px solid red; */
            display: flex;
            flex-direction: column;
            margin: 8% auto;


            >h1 {
                font-size: 100px;
                color: white;
                display: flex;
                justify-content: center;
                font-family: Georgia, 'Times New Roman', Times, serif;
            }

            >h3 {
                font-size: 30px;
                background-color: rgb(92, 160, 163);
                color: white;
                font-family: Georgia, 'Times New Roman', Times, serif;
                width: 50%;
                display: flex;
                justify-content: center;
                margin: 20px auto;
            }

            >div {
                display: flex;
                gap: 15px;
                margin: 60px auto;

                >a {
                    font-size: 20px;
                    color: white;
                    border: 2px solid white;
                    padding: 15px;
                    text-decoration: none;
                    /* margin: 20px auto; */

                }
            }
        }
    }
}

.line1 {
    width: 100%;
    height: 40vh;
    background-color: rgb(18, 18, 19);

    >h2 {
        /* border: 1px solid red; */
        font-size: 40px;
        color: white;
        font-family: Georgia, 'Times New Roman', Times, serif;
        display: flex;
        justify-content: center;
        padding-top: 60px;
        padding-bottom: 30px;
        position: relative;

        &:hover {
            &::before {
                width: 50%;
            }
        }

        &::before {
            content: '';
            position: absolute;
            bottom: -5px;
            background-color: rgb(92, 159, 162);
            width: 100px;
            height: 2px;
            display: flex;
            transition: 1s;
        }
    }

    >p {
        color: white;
        font-size: 18px;
        width: 70%;
        height: 100px;
        margin: 30px auto;
        text-align: center;
        line-height: 25px;
        font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
        letter-spacing: 1px;

    }
}

figure {
    width: 100%;
    height: 60vh;
    background-color: rgb(18, 18, 19);
    display: flex;

    >div {
        display: flex;

        &:first-of-type {
            width: 50%;
            height: 100%;
            /* border: 2px solid red; */
            display: flex;
            flex-direction: column;

            >h3 {
                font-size: 30px;
                color: white;
                font-family: Georgia, 'Times New Roman', Times, serif;
                display: flex;
                justify-content: center;
                /* border: 1px solid blue; */
                width: 100%;
                height: 100px;
                padding-top: 50px;
            }

            >h4 {
                font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
                font-size: 18px;
                color: white;
                width: 100%;
                display: flex;
                justify-content: center;
                letter-spacing: 3px;
            }

            >p {
                font-size: 18px;
                font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
                color: white;
                width: 80%;
                height: 100px;
                line-height: 25px;
                padding-top: 30px;
                text-align: center;
                /* border: 1px solid orange; */
                margin: 10px auto;
            }

            >a {
                font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
                font-size: 16px;
                border: 1px solid white;
                padding: 10px;
                width: 30%;
                text-decoration: none;
                color: white;
                margin: 40px auto;
                transition: 0.5s;

                &:hover {
                    background-color: rgb(174, 138, 136);
                    color: black;
                }
            }
        }

        &:last-of-type {
            width: 50%;
            height: 100%;
            overflow: hidden;

            >img {
                width: 100%;
                height: 100%;
                object-fit: cover;
            }
        }
    }
}

.line2 {
    width: 100%;
    height: 70vh;
    background-image: url(../image/2.jpg);
    background-position: center;
    background-repeat: none;
    background-size: cover;
    display: flex;
    /* align-items: flex-end;
    justify-content: flex-end; */
    padding: 10%;
    gap: 40px;

    &:hover {
        >.box1 {
            transform: translateY(0);
            opacity: 1;
        }
    }

    >.box1 {
        width: 60%;
        height: 20vh;
        border: 5px solid rgba(255, 255, 255);


        transform: translateX(-100px);
        opacity: 0;
        transition: 2s;

        >p {
            font-size: 40px;
            color: rgb(255, 255, 255);
            font-family: Georgia, 'Times New Roman', Times, serif;
            line-height: 50px;
            text-align: center;
            padding-top: 20px;
        }
    }

    >.box2 {
        width: 30%;
        height: 20vh;
        background-color: rgba(60, 135, 145, 0.374);
        display: flex;
        justify-content: center;
        align-items: center;

        >a {
            color: white;
            text-decoration: none;
            font-size: 20px;
            border: 2px solid rgb(255, 255, 255);
            padding: 20px;
        }
    }
}

.line3 {
    width: 100%;
    height: 40vh;
    background-color: rgb(18, 18, 19);

    >h2 {
        color: white;
        font-family: Georgia, 'Times New Roman', Times, serif;
        font-size: 40px;
        display: flex;
        justify-content: center;
        padding-top: 50px;
        position: relative;

        &:hover {
            &::after {
                width: 50%;
            }
        }

        &::after {
            content: '';
            position: absolute;
            bottom: -30px;
            background-color: rgb(92, 159, 162);
            width: 100px;
            height: 2px;
            display: flex;
            transition: 1s;
        }
    }

    >p {
        color: white;
        font-size: 18px;
        width: 70%;
        height: 100px;
        margin: 50px auto;
        text-align: center;
        line-height: 25px;
        font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
        letter-spacing: 1px;
    }
}

.line4 {
    width: 100%;
    height: 70vh;
    background-color: rgb(18, 18, 19);
    padding: 0 10%;


    >.row {
        width: 100%;
        min-height: 100px;
        justify-content: space-between;
        /* border: 1px solid red; */
        display: flex;

        >.card {
            width: 25%;
            /* background-color: pink; */
            padding: 20px;


            >figure {
                width: 100%;
                height: 250px;
                transition: 1s;

                &:hover {
                    width: 50%;
                    height: 50%;
                }

                .img {
                    width: 100%;
                    height: 100%;
                    object-fit: cover;



                }
            }

            >div {
                margin-top: 20px;
                text-transform: capitalize;
                text-align: center;

                >h3 {
                    color: white;
                    font-family: Georgia, 'Times New Roman', Times, serif;
                    font-size: 30px;
                }

                >p {
                    color: white;
                    font-size: 16px;
                    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
                    letter-spacing: 5px;
                    padding-top: 10px;
                }
            }
        }
    }
}

.film {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background-color: rgb(18, 18, 19);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: -10px;

    >video {
        width: 100%;
        height: 95%;
        object-fit: cover;
        display: block;

    }
}

.line5 {
    width: 100%;
    height: 30vh;
    background-color: rgb(18, 18, 19);

    >h3 {
        font-size: 40px;
        color: white;
        font-family: Georgia, 'Times New Roman', Times, serif;
        width: 100%;
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;

        &:hover {
            &::before {
                width: 50%;
            }
        }

        &::before {
            content: '';
            position: absolute;
            bottom: 70px;
            display: flex;
            background-color: rgb(92, 160, 163);
            width: 100px;
            height: 2px;
            transition: 1s;
        }
    }
}

.grid {
    width: 100%;
    height: 200vh;
    background-color: rgb(18, 18, 19);
    display: grid;
    grid-template-rows: repeat(4, 1fr);
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;

    >div {
        /* border: 1px solid rgb(235, 16, 16); */
        position: relative;
        overflow: hidden;


        &:hover {

            >img {
                top: -40px;
            }

            >span {
                opacity: 1;
            }
        }

        &:nth-of-type(1) {
            grid-area: 1 / 1 / span 2 / span 1;

        }

        &:nth-of-type(2) {
            grid-area: 1 / 2 / span 1 /span 1;

        }

        &:nth-of-type(3) {
            grid-area: 1 / 3 / span 1 /span 1;

        }

        &:nth-of-type(4) {
            grid-area: 2 / 2 / span 1 /span 1;

        }

        &:nth-of-type(5) {
            grid-area: 2 / 3 / span 2 /span 1;
        }

        &:nth-of-type(6) {
            grid-area: 3 / 1 / span 1 /span 1;

        }

        &:nth-of-type(7) {
            grid-area: 3 / 2 / span 2 /span 1;

        }

        &:nth-of-type(8) {
            grid-area: 4 / 1 / span 1 /span 1;

        }

        &:nth-of-type(9) {
            grid-area: 4 / 3 / span 1 /span 1;

        }

        >img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            position: absolute;
            top: 0;
            left: 0;
            transition: 0.5s;

        }

        >a {
            position: absolute;
            left: 20px;
            bottom: 40px;
            color: white;
            font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
            text-decoration: none;
            letter-spacing: 5PX;

            &:hover {
                color: rgb(76, 169, 180);
            }
        }

        >span {
            color: white;
            font-family: Georgia, 'Times New Roman', Times, serif;
            font-size: 13px;
            position: absolute;
            bottom: 0;
            height: 0;
            z-index: 2;
            width: 100%;
            height: 30px;
            background-color: rgb(18, 18, 19);
            display: flex;
            justify-content: start;
            align-items: center;
            padding-left: 20px;
            letter-spacing: 4px;
            opacity: 0;
            /* transition: 1s; */
        }
    }
}

.line6 {
    width: 100%;
    height: 40vh;
    background-color: rgb(18, 18, 19);

    >h2 {
        font-size: 40px;
        color: white;
        font-family: Georgia, 'Times New Roman', Times, serif;
        width: 100%;
        /* height: 100%; */
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
        padding-top: 100px;

        &:hover {
            &::after {
                width: 50%;
            }
        }

        &::after {
            content: '';
            position: absolute;
            bottom: -25px;
            display: flex;
            background-color: rgb(92, 160, 163);
            width: 100px;
            height: 2px;
            transition: 1s;
        }
    }

    >p {
        color: rgb(255, 255, 255);
        font-size: 18px;
        width: 70%;
        height: 100px;
        margin: 50px auto;
        text-align: center;
        line-height: 25px;
        font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
        letter-spacing: 1px;
    }
}

.pic {
    width: 100%;
    height: 80vh;
    background-color: rgb(18, 18, 19);

    >img {
        width: 70%;
        height: 60%;
        object-fit: cover;
        margin: 20px auto;
        transition: transform 0.3s ease, filter 0.3s ease;
    }
}

.line7 {
    width: 100%;
    height: 100vh;
    background-color: rgb(18, 18, 19);
    display: flex;

    >div {

        &:first-of-type {
            width: 50%;
            height: 100%;
            /* border: 2px solid blue; */


            >h3 {
                font-family: Georgia, 'Times New Roman', Times, serif;
                color: white;
                font-size: 40px;
                width: 100%;
                text-align: center;
                margin: 60px 0 20px 0;

            }

            >h4 {
                font-family: Georgia, 'Times New Roman', Times, serif;
                color: white;
                font-size: 18px;
                letter-spacing: 5px;
                width: 100%;
                text-align: center;
            }

            >.row {
                width: 100%;
                height: 60%;
                /* border: 2px solid yellow; */
                margin: 100px auto;
                display: flex;

                >.card {

                    border: 1px solid rgba(255, 255, 255, 0.434);
                    /* gap: 20px; */
                    width: 40%;
                    height: 90%;
                    display: flex;
                    flex-direction: column;
                    margin: 0 40px;
                    overflow: hidden;

                    &:hover {
                        >img {
                            transform: scale(1.09) rotate(2deg);

                        }
                    }

                    >img {
                        width: 100%;
                        height: 50%;
                        object-fit: cover;
                        transition: 0.5s;

                    }

                    >h2 {
                        font-family: Georgia, 'Times New Roman', Times, serif;
                        color: white;
                        font-size: 22px;
                        width: 100%;
                        text-align: center;
                        margin: 20px auto;
                        /* border: 1px solid purple; */
                    }

                    >p {
                        color: white;
                        font-size: 16px;
                        font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
                        padding: 0 20px;
                        letter-spacing: 2px;
                        text-align: center;

                    }

                    >.click {
                        border-top: 1px solid rgba(255, 255, 255, 0.509);
                        width: 100%;
                        margin: 20px auto;

                        >a {
                            background-color: rgb(76, 169, 180);
                            font-size: 16px;
                            width: 40%;
                            text-decoration: none;
                            color: white;
                            display: inline-block;
                            margin: 10px auto;
                            padding: 5px 10px;
                            display: flex;
                            justify-content: center;
                            border: 2px solid rgb(76, 169, 180);

                            &:hover {
                                border: 2px solid rgb(255, 255, 255);
                                background-color: rgb(18, 18, 19);
                            }
                        }
                    }
                }
            }
        }

        &:last-of-type {

            width: 50%;
            height: 100%;
            /* border: 2px solid red; */
            background-image: url(../image/bi.jpg);

            >.matn {
                width: 100%;
                text-align: center;
                margin-top: 100px;

                >h3 {
                    font-family: Georgia, 'Times New Roman', Times, serif;
                    font-size: 40px;
                    color: white;
                    margin-bottom: 20px;

                }

                >h4 {
                    font-family: Georgia, 'Times New Roman', Times, serif;
                    color: white;
                    font-size: 18px;
                    letter-spacing: 5px;

                }
            }

            >.idea {
                width: 100%;
                height: 70%;
                /* border: 1px solid red; */
                display: flex;
                flex-direction: column;
                align-items: center;

                >img {
                    width: 150px;
                    height: 150px;
                    border-radius: 50%;
                    margin-top: 60px;
                }

                >p {
                    margin: 40px;
                    text-align: center;
                    font-size: 18px;
                    color: white;
                    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
                    letter-spacing: 2px;
                    line-height: 25px;
                }

                >h4 {
                    color: white;
                    font-size: 20px;
                    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
                }
            }
        }
    }
}

.footer {
    width: 100%;
    height: 40vh;
    background-color: rgb(18, 18, 19);
    display: flex;
    border-top: 1px solid white;
    margin: 0;
    padding: 0;


    >div {

        &:first-of-type {
            width: 50%;
            height: 100%;
            /* border: 1px solid red; */
            position: relative;

            >figure {
                width: 200px;
                height: 200px;
                /* border: 1px solid white; */
                border-radius: 64% 36% 57% 43% / 40% 53% 47% 60%;
                box-shadow: 0 0 20px 5px rgb(76, 169, 180);
                overflow: hidden;
                margin: 50px 100px;

                &:hover {
                    >img {
                        transform: scale(1.05);
                    }

                    >div {
                        >a {
                            opacity: 1;
                            transform: translateX(0);
                        }
                    }
                }

                >img {
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                }

                >.icon {
                    position: absolute;
                    right: 50px;
                    top: 60px;
                    display: flex;
                    flex-direction: column;
                    /* border: 1px solid red; */
                    width: 50%;
                    height: 70%;

                    >a {
                        font-family: Georgia, 'Times New Roman', Times, serif;
                        font-size: 20px;
                        color: white;
                        background-color: rgb(76, 169, 180);
                        width: 35px;
                        height: 35px;
                        display: flex;
                        justify-content: center;
                        align-items: center;
                        text-decoration: none;
                        border-radius: 50%;
                        margin: 10px 0;
                        opacity: 0;
                        transition: all 0.5s ease;
                        transform: translateX(40px);

                        &:nth-child(1) {
                            transition-delay: 0.1s;
                        }

                        &:nth-child(2) {
                            transition-delay: 0.2s;
                        }

                        &:nth-child(3) {
                            transition-delay: 0.3s;
                        }

                    }
                }

            }
        }


        &:last-of-type {
            width: 50%;
            height: 100%;
            /* border: 1px solid blue; */

            >p {
                font-size: 40px;
                font-family: Georgia, 'Times New Roman', Times, serif;
                color: rgb(76, 169, 180);
                text-align: center;
                margin: 80px auto 20px;
            }

            >div {
                border: 1px solid rgb(76, 169, 180);
                width: 180px;
                height: 50px;
                margin: 0 auto;
                display: flex;
                align-items: center;
                justify-content: center;
                position: relative;
                overflow: hidden;

                &::before {
                    content: '';
                    position: absolute;
                    width: 200px;
                    height: 300px;
                    background-color: rgb(146, 199, 237);
                    top: -200px;
                    left: -191px;
                    display: flex;
                    transform: rotate(30deg);
                    transition: 1s;
                }

                &:hover {

                    border: 1px solid white;
                    &::before{
                        left: 28px;
                    }
                    >a{
                        color: black;
                    }
                }

                >a {
                    font-family: Georgia, 'Times New Roman', Times, serif;
                    font-size: 16px;
                    letter-spacing: 3px;
                    color: white;
                    text-decoration: none;
                    position: relative;
                    z-index: 2;
                }
            }
        }
    }
}