*,
::after,
::before {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* list-style: none; */
    text-decoration: none;
    font-family: Garamond;

    max-width: 100%
}

:root {
    --main: whitesmoke;
    --blue: #132b59;
    --girl: rgba(35, 35, 90, 0.945);
    --button: orangered;
    --responsive-nav: rgba(3, 3, 108, 0.294);
}
.header{
    border-bottom: 10px solid var(--responsive-nav);
}

 #section1{
    align-items: center;
    z-index: 100;
    justify-content: space-between;
    position: fixed;
    top: 0;
    text-transform: uppercase;
    margin: 0 0 20px 0;
    color: white;
 
    
   
    h2 {
        font-size: 20px;
        margin-left: 30px;

        .list-items {
            color: var(--girl);
        }


    }

    .link-list {
        color: var(--blue);
        &:hover{
       color: var(--responsive-nav);
    }


    }

    .nav-list {
        display: flex;

       
    }

    .button {
        width: 120px;
        border: none;
        outline: none;
        height: 35px;
        background-color: var(--button);
        font-weight: bold;
        transition: all 750ms ease-in-out;
        cursor: pointer;
        opacity: 0.7;
        color: var(--main);
        border-radius: 100vmax;
        text-transform: uppercase;


        &:hover {
            background-color: var(--main);
            cursor: pointer;
        
            border: 0.10rem solid wheat;
        }

        .hide {
            display: none;
        }

        button {
            width: 200px;
            height: 50px;
        }

    }

}



.first-sec {
    display: flex;
    flex-direction: column;
    text-transform: uppercase;
    font-size: 1.2em;
    color: white;
    background-image: url(blue.jpeg);
    background-repeat: no-repeat;
    background-size: cover;
    .first-subcon{
        display: flex;
        justify-content: center;
        align-items: center; 
    }
    .second-subcon{
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
}
.peril{
    margin: 7rem 0 0 0;
    width: 350px;
    height: 350px;
    background-color: var(--blue);
    border: 8px solid var(--responsive-nav);
    border-radius: 50%;
    display: grid;
    place-items: center;
    transition: background-color .4s;

}
.empty-content{
    width: 280px;
    height: 280px;
border: 10px solid var(--main);
border-radius: 50%;
overflow: hidden;
display: flex;
justify-content: center;
align-items: center;
background: linear-gradient(100deg)
            hsl( var(--responsive-nav), 90% 80%),
            hsl( var(--responsive-nav), 90% 30%);


}

.picture {
    display: block;

    margin: 8px;

}
.home-peril{
    justify-self: center;
}



.first-con {
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* margin-left: 10%; */

}

.first-subcon {
    font-size: 24px;
    border-right: 2px solid #000;
    white-space: nowrap;
    overflow: hidden;
    display: inline-block;
    letter-spacing: 2px;
    transition: all 750ms ease-in-out;
    font-weight: bold;
    animation: write 8s steps(40) forwards;
}
.first-subcon.complete {
    border-right: none;

}

@keyframes write {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}


.second-subcon {
    font-size: 24px;
    border-right: 2px solid #000;
    white-space: nowrap;
    overflow: hidden;
    display: inline-block;
    transition: all 750ms ease-out;
    margin-bottom: 20px;
    font-weight: bold;
    word-spacing: 5px;   
    animation: pull 8s steps(40) infinite;
    animation-duration: 10s;

}



.second-subcon.complete {
    border-right: none;

}

@keyframes pull {
    from {
        width: 0;
        top: 100%;

    }

    to {
        width: 100%;


    }
}

.third-subcon {
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 2px solid #000;
    white-space: nowrap;
    overflow: hidden;
    display: inline-block;
    transition: all 750ms ease-in-out;
    margin-bottom: 2em;
    font-weight: bold;
    word-spacing: 10px;
    animation: pull 10s forwards;

}
.third-subcon.complete {
    border-right: none;

}

@keyframes pull {
    from {
        width: 0;
        top: 100%;
    }
    to {
        width: 100%;
    }
}

.fourth-subcon {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;

    a {
        padding: 15px 15px;
        display: inline-block;

    }

    button {
        position: relative;
        border: none;
        outline: none;
        border-radius: 100vmax;
        margin: 8px 0 16px 0 ;
        
    }

    button::after {
        content: "";
        position: absolute;
        bottom: 0;
        width: 0;
        height: 2px;
        background-color: rgb(114, 22, 150);
        right: 50%;
        transform: translateX(50%);
        transition: 0.5s ease-in-out;
    }


    button:hover::after {
        content: "";
        width: 100px;

    }

    .btn8 span {
        cursor: pointer;
        display: inline-block;
        position: relative;
        transition: 0.5s;
    }

    .btn8 span:after {
        content: '\00bb';
        ;
        position: absolute;
        opacity: 0;
        top: 0;
        right: -20px;
        transition: 0.5s;
    }

    .btn8:hover span {
        padding-right: 25px;
    }

    .btn8:hover {
        color: aqua;
    }

    .btn8:hover span:after {
        opacity: 1;
        right: 0;
    }
}
.contact {
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 1rem;
    margin: 8px 0 24px 0;
    


    .first-contact {
        display: flex;
        align-items: center;
        justify-content: center;
        
        .empty {
            position: absolute;
            width: 2.0rem;
            height: 2.0rem;
            background-color: rgba(7, 7, 151, 0.574);
            border-radius: 100vmax;
          
        } 
        
        img {
            position: relative;
            width: 1em;
            left: 32%;
            top: 5px;
            
        }
        img:hover{
           background-color: var(--blue);
        }

    }
    .fourth-contact {
        display: flex;
        align-items: center;
        justify-content: center;
      

        .empty {
            position: absolute;
            width: 2.0rem;
            height: 2.0rem;
            background-color: white;
            border-radius: 100vmax;
        }

        img {
            position: relative;
            width: 1em;
            left: 35%;
            top: 5px;
        }

    }
    
   

.fifth-contact{
    display: flex;
    align-items: center;
    justify-content: center;


    .empty {
        position: absolute;
        width: 2.0rem;
        height: 2.0rem;
        background-color: white;
        border-radius: 100vmax;
    }

    img {
        position: relative;
        width: 1em;
            left: 35%;
        top: 5px;
    }
}

}
/* ABOUT */
.about{
    margin: 70px 0 0 0;
     display: flex; 
    flex-direction: column;
    place-items: center;
    text-transform: capitalize;
   h2{
    color:var(--blue);
    margin: 8px 0;
    font-size: 2em;

   
   }
   .aperil{
    width: 350px;
    height: 350px;
    background-color: var(--blue);
    border: 8px solid var(--responsive-nav);
    border-radius: 50%;
    display: grid;
    margin: 2em 4em 0 2em;
    place-items: center;
    transition: background-color .4s;

}
.aempty-content{
    width: 280px;
    height: 280px;
border: 10px solid var(--main);
border-radius: 50%;
overflow: hidden;
display: flex;
justify-content: center;
align-items: center;
background: linear-gradient(100deg)
            hsl( var(--responsive-nav), 90% 80%),
            hsl( var(--responsive-nav), 90% 30%);


}
.grid{
    margin: 1em 0 0 0;
    display:flex;
    flex-direction: column;
    
    place-items: center;
}
p{
    font-size: 1em;
}
h1{
    text-transform: uppercase;}
.about-button{
        width: 150px;
        border: none;
        outline: none;
        height: 45px;
        background-color: var(--button);
        /* color: var(--blue); */
        font-weight: bold;
        transition: all 750ms ease-in-out;
        cursor: pointer;
        opacity: 0.7;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 1.2em 0;
        border-radius: 100vmax;
        text-transform: uppercase;


        &:hover {
            background-color: var(--main);
            cursor: pointer;
            border: 0.10rem solid wheat;
        }

        .hide {
            display: none;
        }

        button {
            width: 200px;
            height: 50px;
        }

    

   
}

}
.about-page{
    padding-bottom:4rem ;
}
.about-perfil{
    justify-self: center;

}
.about-content{
    row-gap: 4rem;
}
.about-data{
    row-gap: 2rem;
}
.about-info{
    row-gap: .75rem;
    text-align: center;

}
.about-desc b{
    color: var(--blue);
}
.skills{
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 5px solid var(--blue);
    color: var(--blue);
    font-size: 1.2em;
    margin: 16px;

}
.skill{
    margin-bottom: 8px;
    width: 10rem;
    transition: transform .4s;
    &:hover{
        transform: translateY(-.5rem);

    }
}


.second-section {
    background: rgba(79, 79, 126, 0.037);
    display: flex;
 align-items: center;
 justify-content: center;
 gap: 4px;
  grid-template-columns: repeat(3, max-content);
    
} 
.three{
    margin: 2rem;
    color: var(--blue);
    .section-title{
        display: flex;
        flex-direction: column;
        place-items: center;
        text-transform: capitalize;
       
    }
    .first-container{
        text-align: center;
        
       .firstt-subcon{
        width: 80%;
        border: 2px solid transparent;
        box-shadow: 1px 3px 8px;;
        outline: none;
        margin: 16px;
        text-align: center;
        display: inline-block;
        flex-direction: grid;
        place-content: center;
        h2{
            margin-bottom: 2em;
        }
        img{
            width: 50px;
            margin: 28px 0;
            display: inline-block;
           place-items: center;
        }
        p{
            font-size: 1.5em;
           margin-bottom: 2em;
        }

        button{
           
                width: 150px;
                border: none;
                outline: none;
                height: 45px;
                background-color: var(--blue);
                color: white;
                font-weight: bold;
                transition: all 750ms ease-in-out;
                cursor: pointer;
                opacity: 0.7;
                
                margin: 1.2em 0;
                border-radius: 100vmax;
                text-transform: uppercase;
        
        
                &:hover {
                    background-color: var(--main);
                    cursor: pointer;
                    border: 0.10rem solid wheat;
                    color: var(--blue);
                }
        
                .hide {
                    display: none;
                }
        
                button {
                    width: 200px;
                    height: 50px;
                }
        
            
        
           
        }

        }

       }
       .services-modal{
        position: fixed;
        inset: 0;
        background-color: hsla(var(--blue), 90%, 30% .3);
        backdrop-filter:blur(24px);
        -webkit-backdrop-filter: blur(24px);
        display: grid;
        place-items: center;
        padding: 2rem 1.5rem;
        opacity: 0;
        visibility: hidden;
        z-index: 1000;
        transition:opacity .4s, visibility .4s;

       }
       .services-modal_content{
        max-height: 420px;
        position: relative;
        background-color: var(--main);
        padding: 3.5rem 1.5rem;
        border-bottom: 6px solid var(--blue);
        overflow: auto;

       }
       .services-modal_content::-webkit-scrollbar{
        width: .6rem;

       }
       .services-modal_content::-webkit-scrollbar-thumb{
        background-color: var(--responsive-nav);

       }
       .services-modal_title{
        margin-bottom: 2.5rem;
        font-size: 1.5em;
    }

       .services-modal_list{
        margin-left: 1rem;
       }
       .services-modal_item{
        text-align: initial;
        list-style: square;
        font-size: 1.5em;
       }
       .services-modal_items::marker{
        color: var(--blue);
       }
      .services-modal_close{
        position: absolute;
        top:.1rem;
        right: 1.5rem;
        border-bottom: none;
        font-size: .5rem;
        color: var(--blue);
        cursor: pointer;
        
        
       }
       .active-modal{
        opacity: 1;
        visibility: visible;
       }

    


    }
    

.sixth-section {
    display: flex;
    align-items: center;
    justify-content: space-around;
    background-color: rgba(98, 98, 155, 0.467);
    padding: 64px 0;
    gap: 10px;
    max-width: 100%;
    h1{
        text-transform: uppercase;

    }

    .contact {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 100px;
        


        .first-contact {
            display: flex;
            align-items: center;
            justify-content: center;
            
            .empty {
                position: absolute;
                width: 50px;
                height: 50px;
                background-color: rgba(7, 7, 151, 0.574);
                border-radius: 100vmax;
            }
            img {
                position: relative;
                width: 2em;
                left: 35%;
                top: 15px;
            }

        }
        .fourth-contact {
            display: flex;
            align-items: center;
            justify-content: center;
          

            .empty {
                position: absolute;
                width: 50px;
                height: 50px;
                background-color: white;
                border-radius: 100vmax;
            }

            img {
                position: relative;
                width: 2em;
                left: 30%;
                top: 10px;
            }

        }
        
       
    
    .fifth-contact{
        display: flex;
        align-items: center;
        justify-content: center;


        .empty {
            position: absolute;
            width: 50px;
            height: 50px;
            background-color: white;
            border-radius: 100vmax;
        }

        img {
            position: relative;
            width: 2em;
            left: 35%;
            top: 10px;
        }
    }

    }
}

footer {
    background-color: rgba(35, 35, 90, 0.945);
    height: 600px;
    display: flex;
    position: relative;
    label{
        font-weight: bold;
    }

    .last-section {
        border-radius: 10px;
        box-shadow: 10px 10px 3px rgba(0, 0, 0, 0.076);
        background-color: white;
        position: relative;
        display: block;
        left: 30%;
        margin: 16px 0;
        max-width: 109%;

        h2 {
            display: flex;
            align-items: center;
            justify-content: center;
            margin-top: 16px;
            font-weight: bold;
            text-transform: capitalize;

        }

        .second-con {
            margin: 16px;

            input {
                display: flex;
                flex-direction: column;
                height: 50px;
                width: 350px;
                margin: 6px 16px;
                padding: 8px 16px;
                border: none;
                outline: none;
                border-radius: 10px;
                box-shadow: 10px 10px 3px rgba(0, 0, 0, 0.076);
                background-color: rgba(0, 0, 0, 0.294);

            }
        }

        .third-con {
            margin: 20px 16px;

            input {
                display: flex;
                flex-direction: column;
                height: 50px;
                width: 350px;
                margin: 6px 16px;
                padding: 8px 16px;
                border: none;
                outline: none;
                border-radius: 10px;
                background-color: rgba(0, 0, 0, 0.294);
                box-shadow: 10px 10px 3px rgba(0, 0, 0, 0.076);

            }
        }

        .fourth-con {
            margin: 20px 16px;

            #subject {
                display: flex;
                flex-direction: column;
                height: 100px;
                width: 350px;
                margin: 6px 16px;
                padding: 8PX 16PX;
                border: none;
                outline: none;
                border-radius: 10px;
                background-color: rgba(0, 0, 0, 0.294);
                box-shadow: 10px 10px 3px rgba(0, 0, 0, 0.076);

            }
        }

        .fifth-con {
            margin: 20px 16px;

            #message{
                display: flex;
                flex-direction: column;
                height: 150px;
                width: 350px;
                margin: 6px 16px;
                padding: 8PX 16PX;
                border: none;
                outline: none;
                border-radius: 10px;
                background-color: rgba(0, 0, 0, 0.294);
                box-shadow: 10px 10px 3px rgba(0, 0, 0, 0.076);

            }
        }

        .six-con {
            display: flex;
            align-items: center;
            justify-content: center;

            input {
                width: 120px;
                border: none;
                outline: none;
                height: 40px;
                background-color: var(--button);
                color: var(--blue);
                font-weight: bold;
                transition: all 750ms ease-in-out;
                cursor: pointer;
                opacity: 1;
                display: flex;
                align-items: center;
                justify-content: center;


                border-radius: 100vmax;
                text-transform: uppercase;


                &:hover {
                    background-color: var(--main);
                    cursor: pointer;
                    border: 0.20rem solid wheat;
                }

                .hide {
                    display: none;
                }

            }






        }
    }
}

