*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none
}

body{
    font-family: Arial, Helvetica, sans-serif;
    overflow-x: hidden;
}




main{
    >header{
        width: 100%;
        height: 100px;
        background-color: #fcf7f6;
        display: flex;
        flex-direction: row;
        justify-content: space-evenly;
        align-items: center;

        

        >figure{
            >img{
                width: 230px;
                margin-left: 70px;
                cursor: pointer;
            }
        }

        >nav{
            >ul{
                display: flex;
                align-items: center;
                

                >li{
                    position: relative;
                    
                    &:nth-of-type(1){
                        >a{
                            color: rgba(252, 85, 25, 0.863);
                        }
                    }

                    >a{
                        color: black;
                        padding: 20px;
                        transition: all .3s linear;
                        &:hover{
                            color: rgba(252, 85, 25, 0.863);
                        }
                    }
                }

                >.submenu{
                    position: relative;
                    padding: 5px 0;
                    
                    >a{
                        >i{
                            font-size: 10px;
                            margin: 4px;
                            
                        }
                    }
                    
                   >ul{
                    opacity: 0;
                    height: 390px;
                    visibility: hidden;
                    transition: all 0.5s;
                    width: 400px;
                    background-color: white;
                    border-radius: 20px;
                    overflow: hidden;
                    position: absolute;
                    top: 40px;
                    left: 18px;
                    z-index: 50;
                   
                    
                    >li{
                        >a{
                            color: black;
                            text-align: start;
                            position: relative;
                            display: flex;
                            flex-direction: row;
                            align-items: center;
                            

                            >div{
                                display: flex;
                                align-items: center;
                                position: relative;

                                >.icon{
                                    width: 75px;
                                    height: 75px;
                                    border-radius: 50%;
                                    background-color: #fcf7f6;
                                    display: flex;
                                    justify-content: center;
                                    align-items: center;      
                                    margin-top: 42px;
                                    margin-left: 35px;
                                    
                                    >i{
                                        font-size: 25px;
                                    }
                            }
                            }
                            
                            >div{
                                display: flex;
                                flex-direction: column;
                                
                                >h2{
                                    font-size: 22px;
                                    font-weight: 500;
                                    color: #3b3a64;
                                    margin-left: 15px;
                                    font-family: initial;
                                    margin-top: 42px;
                                }
    
                                >p{
                                   
                                    color: #38383f;
                                }
                            }
                        }
                    }
                   }

                  
                   &:hover{
                    >ul{
                        opacity: 1;
                        visibility: visible;
                    }
                   
                }
                }


                >button{
                    width: 165px;
                    height: 47px;
                    border: none;
                    background-color: rgba(252, 85, 25, 0.863);
                    border-radius: 5px;
                    color: white;
                    font-size: 15px;
                    margin: 45px;
                    margin-right: 100px;
                    cursor: pointer;
                    transition: all .2s;
                    &:hover{
                        background-color: rgb(209, 66, 14);
                    }
                }
            }
        }
    }


    >.first{
        height: 600px;
        background-image: url(../img/hero-graphic-2\ \(1\).svg);
        background-size: cover;
        display: flex;
        flex-direction: row;
        
        
        >.text{
            width: 100%;
            height: 600px;
            margin-left: 170px;
            display: flex;
            flex-direction: column;
            justify-content: center;

            opacity: 0;
            transform: translateX(-30px);
            animation: anime1 1s ease forwards 0.5s;
            
            z-index: 50;

            >h1{
                font-size: 50px;
                font-family: initial;
                color: #3b3a64;
                margin-bottom: 30px;
            }

            >p{
                font-size: 18px;
                line-height: 30px;
                color: rgb(88, 85, 85);
            }

            >button{
                width: 200px;
                height: 66px;
                margin-top: 60px;
                border: none;
                border-radius: 5px;
                background-color: #3b3a64;
                color: white;
                cursor: pointer;
                font-size: 18px;
                transition: all .2s;
                &:hover{
                    background-color: #f1642b;
                }
            }
        }

        >.pic{
            width: 2900px;
            height: 600px;
            background-image: url(../img/hero-1.jpg);
            background-size: cover;
            background-position: center;

            opacity: 0;
            transform: translateX(30px);
            animation-delay: 1s;
            animation: anime1 1s ease forwards 0.5s;
        }

        >.sign{
            width: 400px;
            height: 230px;
            
            background-image: url(../img/signature.svg);
            background-repeat: no-repeat;
            z-index: 100;
            position: absolute;
            top: 560px;
            left: 980px;

            opacity: 0;
            transform: translateX(30px);
            animation: anime1 1s ease forwards 0.5s;
        }


    }

    >.second{
        width: 100%;
        height: 600px;
        background-color:#fcf7f6;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;

        >.one{
            width: 360px;
            height: 380px;
            background-color: #ffffff;
            border-radius: 6px;
            padding: 70px 60px;
            line-height: 25px;
        
            opacity: 0;
            transform: translateY(30px);
            animation: anime2 1s ease forwards 0.5s;
            transition: all 0.3s;

            &:hover{
                transform: scale(1.05);
                cursor: pointer;
            }

            &:hover{
                transform: scale(1.1);
            }
            
            

            >h4{
                margin-bottom: 30px;
                font-weight: 600;
                margin-bottom: 20px;
                color: #38383f;
            }

            >p{
                font-size: 17px;
                line-height: 28px;
                font-weight: 300;
                color: rgb(66, 65, 65);
            }

            >button{
                margin-top: 40px;
                width: 160px;
                height: 48px;
                border-radius: 5px;
                border: none;
                background-color: #eda444;
                margin-top: 47px;
                font-size: 16px;
                font-weight: 500;
                color: white;
                cursor: pointer;
                transition: all 0.2s;
                &:hover{
                    background-color: #5b4f68;
                }
            }
        }

        >.two{
            width: 360px;
            height: 380px;
            background-color: #5b4f68;
            border-radius: 6px;
            position: relative;
            background-image: url(../img/texture-bg.svg);
            padding: 50px 60px;
            color: white;
            margin: 50px;

            opacity: 0;
            transform: translateY(30px);
            animation: anime2 1s ease forwards 0.8s;
            transition: all 0.3s ease;

            &:hover{
                transform: scale(1.03);
                cursor: pointer;
            }

            >h2{
                font-family: initial;
                margin-bottom: 20px;
                margin-top: 15px;
                font-weight: 500;
                font-size: 26px;
            }


            >.img1{
                position: absolute;
                top: 238px;
                left: 113px;
            }

            >.img2{
                position: absolute;
                top: 203px;
                left: 63px;
            }
        }

        >.three{
            position: relative;
            width: 360px;
            height: 380px;
            border-radius: 6px;
            background-size: cover;
            color: white;
            overflow: hidden;

            opacity: 0;
            transform: translateY(30px);
            animation: anime2 1s ease forwards 1s; 
            transition: all 0.3s ease;

            &:hover{   
                transform: scale(1.03);
                cursor: pointer;;
            }
            
            >.image{
                position: absolute;
                top: 0; left: 0; right: 0; bottom: 0;
                background-image: url(../img/info-bg.jpg);
                background-size: cover;
                z-index: 1;

                
            }

            >.color{
                position: absolute;
                top: 0; left: 0; right: 0; bottom: 0;
                background-color: #00172e;
                z-index: 2;
                opacity: .5;
            }


            >h2{
                padding: 60px 60px;
                position: absolute;
                font-weight: 200;
                font-size: 22px;
                line-height: 30px;
                z-index: 3;
                >a{
                    color: #eda444;
                }
            }

            >p{
                padding: 60px;
                position: absolute;
                margin-top: 220px;
                font-family: serif;
                font-size: 22px;
                z-index: 3;
            }
        }
    }

    >.third{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;

        opacity: 0;
        transform: translateY(30px);
        animation: anime2 1s ease forwards 0.5s;
        transition: all 0.3s ease;

        >h2{
            font-family: initial;
            font-size: 40px;
            font-weight: 500;
            color: #3b3a64;
            margin-top: 120px;
        }

        >p{
            color: rgb(88, 85, 85);
            margin-top: 20px;
            font-size: 18px;
        }


        >div{

            &:first-of-type{
            display: flex;
            flex-direction: row;
            justify-content: space-between;
            position: relative;
            margin-top: 100px;
            gap: 360px;

            >.img1{
                width: 290px;
                height: 360px;
                border-radius: 6px;
                background-image: url(../img/info-24.jpg);
                background-size: cover;
                background-position: center;
                
                
                >.text{
                    width: 300px;
                    height: 300px;
                    border-radius: 5px;
                    background-color: #ffffff;
                    text-align: start;
                    position: absolute;
                    top: 30px;
                    left: 260px;
                    padding: 40px;
                    transition: all 0.3s;

                    >p{
                        color: rgb(99, 202, 99);
                        margin-bottom: 30px;
                    }

                    >h2{
                        margin-bottom: 40px;
                        font-family: initial;
                        font-size: 25px;
                        font-weight: 500;
                        cursor: pointer;
                        transition: all 0.3s;
                        &:hover{
                        color: #f1642b;
                        }
                    }

                    >a{
                        color: orangered;
                        font-size: 15px;
                        transition: all 0.3s;
                        &:hover{
                            color: #eda444;
                        }
                    }

                    transition: all 0.7s linear 0.5;
                }

                
                &:hover{
                    >.text{
                        transform: translateX(-12px);
                    }
                }
            }


            >.img2{
                width: 290px;
                height: 360px;
                border-radius: 6px;
                background-image: url(../img/info-25.jpg);
                background-size: cover;
                background-position: center;
                position: relative;
                margin-right: 290px;
                
                >.text2{
                    width: 260px;
                    height: 300px;
                    border-radius: 5px;
                    background-color: #ffffff;
                    text-align: start;
                    position: absolute;
                    top: 30px;
                    left: 260px;
                    padding: 40px;
                    transition: all 0.3s;

                    >p{
                        color: rgb(99, 202, 99);
                        margin-bottom: 30px;
                    }

                    >h2{
                        margin-bottom: 40px;
                        font-family: initial;
                        font-size: 25px;
                        font-weight: 500;
                        cursor: pointer;
                        transition: all 0.3s;
                        &:hover{
                        color: #f1642b;
                        }
                    }

                    >a{
                        color: orangered;
                        font-size: 15px;
                        transition: all 0.3s;
                        &:hover{
                            color: #eda444;
                        }
                    }
                }

                transition: all 0.7s;
                
                &:hover{
                    >.text2{
                        transform: translateX(-12px);
                    }
                }
            }
        }

        &:last-of-type{
            display: flex;
            flex-direction: row;
            position: relative;
            gap: 360px;
            margin-top: 85px;

            >.img3{
                width: 290px;
                height: 360px;
                border-radius: 6px;
                background-image: url(../img/info-11.jpg);
                background-size: cover;
                background-position: center;
                

                >.text3{
                    width: 320px;
                    height: 300px;
                    border-radius: 5px;
                    background-color: #ffffff;
                    text-align: start;
                    position: absolute;
                    top: 30px;
                    left: 260px;
                    padding: 40px;
                    transition: all 0.3s;

                    >p{
                        color: rgb(99, 202, 99);
                        margin-bottom: 30px;
                    }

                    >h2{
                        margin-bottom: 40px;
                        font-family: initial;
                        font-size: 25px;
                        font-weight: 500;
                        cursor: pointer;
                        transition: all 0.3s;
                        &:hover{
                        color: #f1642b;
                        }
                    }

                    >a{
                        color: orangered;
                        font-size: 15px;
                        transition: all 0.3s;
                        &:hover{
                            color: #eda444;
                        }
                    }
                }

                transition: all 0.7s;
                
                &:hover{
                    >.text3{
                        transform: translateX(-12px);
                    }
                }
            }

            >.img4{
                width: 290px;
                height: 360px;
                border-radius: 6px;
                background-image: url(../img/info-14.jpg);
                background-size: cover;
                background-position: center;
                position: relative;
                margin-right: 290px;

                >.text4{
                    width: 320px;
                    height: 300px;
                    border-radius: 5px;
                    background-color: #ffffff;
                    text-align: start;
                    position: absolute;
                    top: 30px;
                    left: 260px;
                    padding: 40px;
                    transition: all 0.3s;

                    >p{
                        color: rgb(99, 202, 99);
                        margin-bottom: 30px;
                    }

                    >h2{
                        margin-bottom: 40px;
                        font-family: initial;
                        font-size: 25px;
                        font-weight: 500;
                        cursor: pointer;
                        transition: all 0.3s;
                        &:hover{
                        color: #f1642b;
                        }
                    }

                    >a{
                        color: orangered;
                        font-size: 15px;
                        transition: all 0.3s;
                        &:hover{
                            color: #eda444;
                        }
                    }
                }

                transition: all 0.7s;
                
                &:hover{
                    >.text4{
                        transform: translateX(-12px);
                    }
                }
                }
            }
        }
        }

    >.fourth{
            width: 72%;
            height: 610px;
            background-image: url(../img/hero-graphic-3.svg);
            background-size: cover;
            background-position: right;
            background-color: #fcf7f6;
            border-radius: 8px;
            display: flex;
            flex-direction: row;
            margin-top: 120px;
            margin-left: 270px;

            opacity: 0;
            transition: all 1.5s;
            animation: anime3 0.5s ease forwards 0.5s;
            

            >.text{
                width: 60%;
                display: flex;
                flex-direction: column;
                padding: 110px;
                
                >h2{
                font-family: initial;
                font-size: 40px;
                font-weight: 500;
                color: #3b3a64;
                }

                >p{
                    margin-top: 20px;
                    font-size: 20px;
                    line-height: 30px;
                    color: #3b3a64;
                }

                >button{
                    margin-top: 70px;
                    width: 232px;
                    height: 63px;
                    border: none;
                    border-radius: 5px;
                    background-color: #3b3a64;
                    color: white;
                    font-size: 16px;
                    font-weight: 600;
                    padding: 23px;
                    transition: all 0.2s;
                    &:hover{
                        background-color: #da4d16;
                        cursor: pointer;
                    }
                }
            }

            >.img{
                width: 60%;
                height: 460px;
                margin: 70px 90px;
                border-radius: 15px;
                background-image: url(../img/info-1.jpg);
                background-size: cover;
                background-position: center;
                position: relative;
                transition: all 0.5s;
                &:hover{
                    transform: scale(1.03);
                    cursor: pointer;
                }

                >.icon{
                    width: 110px;
                    height: 110px;
                    background-color: #fcf7f6c9;
                    border-radius: 50%;
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    position: absolute;
                    top: 175px;
                    left: 220px;
                    
                    >i{
                        font-size: 40px;
                        color: #f1642b;
                    }
                }
            }
    }

    >.fifth{
        width: 80%;
        height: 150px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin-top: 85px;
        margin-left: 200px;

        opacity: 0;
        transform: translateY(30px);
        animation: anime2 1s ease forwards 0.5s;
        transition: all 0.3s ease;

        >h4{
            color: #38383f;
        }

        >.images{
            display: flex;
            flex-direction: row;
            justify-content: center;
            align-items: center;
            cursor: pointer;

            >img{
                margin: 10px 55px;
            }
        }
    }

    >.sixth{
        display: flex;
        flex-direction: row;
        width: 100%;
        height: 600px;
        margin-top: 80px;

        >.text{
            width: 750px;
            display: flex;
            flex-direction: column;
            padding: 90px;
            margin-left:250px;

            opacity: 0;
            transform: translateX(-30px);
            animation: anime1 1s ease forwards 0.5s;
            
            >h2{
                font-family: initial;
                font-size: 60px;
                font-weight: 500;
                color: #3b3a64;
            }

            >p{
                margin-top: 20px;
                font-size: 18px;
                line-height: 30px;
                color: #38383f;
            }

            >button{
                width: 220px;
                height: 65px;
                border: none;
                border-radius: 5px;
                background-color: #f1642b;
                color: white;
                font-size: 17px;
                font-weight: 600;
                margin-top: 60px;
                cursor: pointer;
                transition: all 0.2s;
                &:hover{
                    background-color: #da4d16;
                }
            }
        }

        >.img{
            display: flex;
            flex-direction: row;
            position: relative;
            width: 1200px;

            opacity: 0;
            transform: translateX(30px);
            animation-delay: 1s;
            animation: anime1 1s ease forwards 1s;

            >figure{
                >img{
                    border: none;
                    border-radius: 8px;
                    &:first-of-type{
                        position: absolute;
                        left: 240px;
                        top: 20px;
                        z-index: 1;
                    }

                    &:last-of-type{
                        position: absolute;
                        top: 100px;
                        left: 70px;
                        z-index: 2;
                    }
                }
            }
        }
    }

    >footer{
        width: 100%;
        height: 680px;
        background-color: #fcf7f6;

        >.one{
            display: flex;
            flex-direction: row;
            justify-content: space-between;
            padding: 100px;
            padding-bottom: 0;
            margin-top: 0;

            >figure{
                >img{
                    margin-left: 252px;
                    cursor: pointer;
                }
            }

            >h3{
                font-family: initial;
                font-size: 27px;
                font-weight: 500;
                color: #3b3a64;
                margin-left: 50px;
            }

            >button{
                width: 290px;
                height: 79px;
                border: none;
                border-radius: 5px;
                background-color: #3b3a64;
                color: white;
                font-size: 19px;
                margin-right: 250px;
                transition: 0.2s;
                &:hover{
                    background-color: #47467c;
                    cursor: pointer;
                }
            }
        }

        >.two{
            width: 100%;
            display: flex;
            flex-direction: row;
            justify-content: center;
            align-items: center;

            >.button{
                width: 180px;
                height: 75px;
                background-color: white;
                display: flex;
                justify-content: center;
                align-items: center;
            
                >p{
                    font-size: 19px;
                    color: #5b4f68;
                }
            }

            >.text{
                width: 54%;
                height: 75px;
                border: 1px solid #ebebf1;
                cursor: pointer;

               
                >div{
                    width: 100%;
                    overflow: hidden;
                    white-space: nowrap;
                    display: flex;
                    justify-content: center;
                    align-items: center;

                    >p{
                        margin-top: 18px;
                        font-size: 19px;
                        padding-left: 100%;
                        animation: textanime 30s linear infinite;
                        color: #3b3a64;
                        

                        >span{
                            margin: 0 30px;
                        }
                    }
                }
            }
        }

        >div{
            display: flex;
            flex-direction: row;
            justify-content: flex-start;
            margin-top: 50px;
            line-height: 35px;
            &:hover{
                >h4, p{
                cursor: pointer;
                }
            }

            >.three{
                display: flex;
                flex-direction: column;
                margin-left: 350px;

                >h4{
                    margin-bottom: 10px;
                    color: #555557;
                }

                >div{
                    display: flex;
                    flex-direction: row;
                    justify-content:  flex-start;
                    align-items: center;

                    >p{
                        font-size: 15px;
                        font-weight: 600;
                        color: #555557;
                        position: relative;

                        >span{
                            width: 2px;
                            height: 15px;
                            background-color: black;
                            margin-top: 3px;
                            position: absolute;
                            top: 8px;
                            opacity: 0;
                            transform: translateX(-30px);
                            transition: all 0.2s linear;
                        }

                        &:hover{
                            >span{
                                opacity: 1;
                                transform: translateX(200px);
                            }
                        }
                    }
                }
            }
    
            >.four{
                display: flex;
                flex-direction: column;
                margin-left: 236px;

               >h4{
                margin-bottom: 10px;
                color: #38383f;
               }

               >div{
                display: flex;
                flex-direction: row;
                justify-content: flex-start;
                align-items: center;

                >p{
                    font-size: 15px;
                    font-weight: 600;
                    color: #555557;
                    position: relative;

                    >span{
                        width: 2px;
                        height: 15px;
                        background-color: black;
                        margin-top: 3px;
                        position: absolute;
                        top: 8px;
                        opacity: 0;
                        transform: translateX(-30px);
                        transition: all 0.2s linear;
                    }

                    &:hover{
                        >span{
                            opacity: 1;
                            transform: translateX(200px);
                        }
                    }
                }
            }
            }
    
            >.five{
                display: flex;
                flex-direction: column;
                margin-left: 225px;

               >h4{
                margin-bottom: 10px;
                color: #38383f;
               }

               >div{
                display: flex;
                flex-direction: row;
                justify-content: flex-start;
                align-items: center;

                >p{
                    font-size: 15px;
                    font-weight: 600;
                    color: #555557;
                    position: relative;

                    >span{
                        width: 2px;
                        height: 15px;
                        background-color: black;
                        margin-top: 3px;
                        position: absolute;
                        top: 8px;
                        opacity: 0;
                        transform: translateX(-30px);
                        transition: all 0.2s linear;
                    }

                    &:hover{
                        >span{
                            opacity: 1;
                            transform: translateX(200px);
                        }
                    }
                }
            }
            }
    
            >.six{
                display: flex;
                flex-direction: column;
                margin-left: 215px;

                >h4{
                    margin-bottom: 10px;
                    color: #38383f;
                }

                >a{
                    font-size: 17px;
                    font-weight: 600;
                    color: #5a5a5f;
                    
                    >i{
                        font-size: 18px;
                        font-weight: 900;
                        margin-right: 8px;
                        margin-bottom: 30px;
                    }    

                    
                    &:hover{
                        border-bottom: 2px solid black;
                    }
                }

                >div{
                    margin-top: 10px;

                    >i{
                        position: relative;
                        padding-right: 15px;
                        color: #5a5a5f;
                        font-size: 17px;
                        cursor: pointer;
     
                        >span{
                            display: flex;
                            justify-content: center;
                            align-items: center;
                            width: 50px;
                            height: 20px;
                            font-size: 10px;
                            position: absolute;
                            bottom: 13px;
                            right: 1px;
                            background-color: rgb(73, 68, 68);
                            color: white;
                            border-radius: 5px;
                            margin-bottom: 7px;
                            opacity: 0;
                            visibility: hidden;
                        }

                        &:hover{
                            >span{
                                opacity: 1;
                                visibility: visible;
                            }
                        }

                        &:nth-of-type(2){
                            >i{
                                position: relative;
                                padding-right: 15px;
                                color: #5a5a5f;
                                font-size: 17px;
                                cursor: pointer;
                            }

                            >span{
                                display: flex;
                                justify-content: center;
                                align-items: center;
                                width: 20px;
                                height: 20px;
                                font-size: 13px;
                                position: absolute;
                                bottom: 13px;
                                right: 18px;
                            }
                            
                        }
                    }
                }
            }
        }

        >p{
            display: flex;
            justify-content: center;
            align-items: center;
            margin-top: 60px;
            font-size: 13px;
            font-weight: 400;
            word-spacing: 3px;
            color: #38383f;

            >a{
            font-size: 13px;
            font-weight: 400;
            word-spacing: 3px;
            margin: 0 6px;
            color: #38383f;
            transition: all 0.2s linear;

            &:hover{
                color: #f1642b;
            }
            }
        }
    }
}

@keyframes anime1 {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes anime2 {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


@keyframes anime3 {
    to {
        opacity: 1;
    }
}

@keyframes textanime {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(-65%);
    }
}