@import "navbar.css";
@import "hero.css";

*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

body{
    background-color: rgb(245, 245, 245);
}

.tech_h1{
    font-size: 2.3rem;
}

.specifications{
    padding: 2rem;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.specs_r{
    display: flex;
    column-gap: 0.5rem;
    position: relative;
}

.specs_r p{
    font-size: 1.2rem;
}

.specs_tick{
    display: flex;
    justify-content: center;
    color: var(--color-purple);
    font-size: 1.2rem;
    font-weight: 800;
    border-radius: 50%;
    border: 2px solid var(--color-purple);
}

.hline_spec{
    margin: 0.5rem 0 2rem 7%;
    width: auto;
    align-self: flex-start;
    height: 2px;
    background-color: rgba(199, 199, 199, 0.5);
    box-shadow: 1px 1px 4px rgba(236, 166, 255, 0.8);
    position: relative;
}

.effect_p1::before,
.effect_p1::after,
.effect_p2::before,
.effect_p2::after,
.effect_p3::before,
.effect_p3::after,
.effect_p4::before,
.effect_p4::after,
.effect_p5::before,
.effect_p5::after,
.effect_p6::before,
.effect_p6::after{
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
}

.effect_p1::before{
    background-color: rgb(245, 245, 245);
    animation: typew 1s ease-out forwards;
}
.effect_p2::before{
    background-color: rgb(245, 245, 245);
    animation: typew 1s ease-out 1s forwards;
}
.effect_p3::before{
    background-color: rgb(245, 245, 245);
    animation: typew 1s ease-out 2s forwards;
}
.effect_p4::before{
    background-color: rgb(245, 245, 245);
    animation: typew 1s ease-out 3s forwards;
}
.effect_p5::before{
    background-color: rgb(245, 245, 245);
    animation: typew 1s ease-out 4s forwards;
}
.effect_p6::before{
    background-color: rgb(245, 245, 245);
    animation: typew 1s ease-out 5s forwards;
}

@keyframes typew {
    from{left:0%;}

    to{left:100%;}
}

@media screen and (max-width:985px){
    .specifications{
        padding: 1rem 0.5rem;
        display: flex;
        flex-direction: column;
        row-gap: 0.2rem;
        justify-content: center;
        align-items: center;
    }

    .specs_r p{
        font-size: 15px;
    }

    .tech_h1{
        font-size: 2rem !important;
    }
    
    .hline_spec{
        margin: 0.5rem 0 2rem 0;
        width: auto;
        align-self: flex-start;
        height: 2px;
        background-color: rgba(199, 199, 199, 0.5);
        box-shadow: 1px 1px 4px rgba(236, 166, 255, 0.8);
        position: relative;
    }
    
    .specs_tick{
        display: none;
    }

    .spec_img img{
        height: 230px;
        width: 300px;
    }
}

/* characs */

.characs{
    padding: 3rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.circle{
    margin-top: 7rem;
    height: 200px;
    width: 200px;
    background-color: #ff5454;
    border-radius: 50%;
    padding-bottom: 165px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.c1{
    margin-top: 0;
    font-size: 1.5rem;
    color: #ff5454;
}

.charac .d1{
    row-gap: 2.5rem;
}

.char1, .char2{
    margin-top: 2.5rem;
    opacity: 0.1;
    transform: scale(0.9);
    transition: all 1s ease-out;
}

.char1 .d1_row:nth-child(odd){
    margin-left:35px ;
}
.char2 .d1_row:nth-child(odd){
    margin-left:-35px ;
}

.char1_active{
    margin-top: 2.5rem;
    opacity: 1;
    transform: scale(1);
}

.char1_active::before,
.char1_active::after{
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
}

.char1_active::before{
    background-color: rgb(245, 245, 245);
    animation: typewriter 2s ease-out forwards;
}


.char2_active{
    margin-top: 2.5rem;
    opacity: 1;
    transform: scale(1);
}

.char2_active::before,
.char2_active::after{
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
}

.char2_active::before{
    background-color: rgb(245, 245, 245);
    animation: typewriter 2s ease-out forwards;
}

@keyframes typewriter {
    from{left:0%;}

    to{left:100%;}
}

@media screen and (max-width:1030px){
    .characs{
        padding: 3rem 1rem;
        display: flex;
        flex-direction: column;
        row-gap: 1rem;
    }
    .c1{
        color: transparent;
    }

    .charac .col2 p{
        text-align: center;
    }

    .charac .col2 h3{
        text-align: center;
        text-shadow:1px 1px rgb(92, 92, 92);
        color: #ff5454;
    }
    .charac .d1{
        row-gap: 1.3rem;
    }

    .char1, .char2{
        margin-top: 0;
    }

    .char1 .d1_row:nth-child(odd){
        margin-left:0px;
    }
    .char2 .d1_row:nth-child(odd){
        margin-left:0px;
    }
}