*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    body{
        height: auto;
    }
    .logo{
        position: absolute;
        left: 15px !important;
        top: 25px !important;
    }

    .box{
        width: min(90vw, 720px) !important;
    }

    .title-container{
        width: min(90vw, 720px) !important;
        height: auto !important;
    }

    ul{
        position: absolute;
        width: auto;
        display: flex;
        gap: 15px !important;
        right: 25px !important;
    }

    span{
        width: 100% !important;
    }
}

html{
    scroll-behavior: smooth;
}

body{
    font-family : 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    height: 100vh;
    background-color: #002944;
}

.title, .faq{
    scroll-margin-top: 120px;
}

nav{
    width: 100%;
    height: 100px;
    top: 0px;
    position: fixed;
    background-color: #001a2d;
    display: flex;
    align-items: center;
    justify-content: space-around;
    z-index: 999;
}

section{
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: column;
    background-color: #002944;
    color: #c5dbff;
    margin-top: 60px;
    padding: 40px 20px;
    gap: 24px;
}

.nav-box{
    width: min(92vw, 720px);
    height: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #c5dbff;
}

a{
    text-decoration: none;
    color: #c5dbff;
    font-weight: bold;
    transition: color 0.1s ease;
}

ul{
    position: absolute;
    width: auto;
    display: flex;
    gap: 30px;
    right: 100px;
}

li{
    list-style: none;
    color: #c5dbff;
    font-weight: bold;
    text-decoration: none;
}

.logo{
        width: 50px;
        height: 50px;
        border-radius: 100px;
        transition: 0.3s;

        &:hover{
            filter: brightness(1.2);
            border-radius: 8px;
            
        }
    }

.box{
    width: 60%;
    min-height: 250px;
    background-color: lab(100% 0.01 -0.01 / 0.04);
    border: 2px solid #46667b;
    border-radius: 16px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    color: #fff;
    box-shadow: 0 0 16px #46667b72;
    padding: 24px;
    gap: 18px;
}

.title{
    letter-spacing: 1px;
    font-size: 40px;
    background: linear-gradient(90deg, #6691dc, #617dac, #f5f9ff);
    background-size: 300% 100% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.title-container{
    width: min(92vw, 720px);
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
    text-align: center;
}

.creditos{
    opacity: 0.6;
    font-style: italic;
}

.creditos a{
    opacity: 1;
    text-decoration: none;
    color: #c5dbff;
    transition: color 0.1s ease;
}

.creditos a:hover{
    color: #ffffff;
}

.strength-box{
    width: 100%;
    padding-top: 25px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
}

.strength-bar{
    overflow: hidden;
    width: 100%;
    height: 12px;
    margin-top: 25px;
    border-radius: 50px;
    background-color: rgb(51, 67, 83);
}

.strength-bar-active{
    display: block;
    width: 0%;
    height: 100%;
    background-color: transparent;
    transition: 0.7s;
    z-index: 99;
}

.classification{
    display: inline-block;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    background-color: transparent;
    border-radius: 50px;
    padding: 8px 12px;
    transition: 0.5s;
}

.passTime-box{
    width: 100%;
    padding-top: 25px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.password-time{
    color: #fff;
    font-weight: bold;
    margin-left: 10px;
}

.check-box-container{
    width: 100%;
    height: auto;
    flex-wrap: wrap;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.text{
    width: 100%;
    color: #c5dbff;
    padding-bottom: 25px;
    text-align: center;
}

.passwordGen{
    font-weight: bold;
}

.passwordGen-box{
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq{
    width: 100%;
    max-width: 760px;
    padding: 24px;
    border: 2px solid #46667b;
    border-radius: 16px;
    background-color: rgba(255,255,255,0.04);
    display: flex;
    flex-direction: column;
    padding: 24px;
    gap: 18px;
}

.faq-title{
    font-size: 28px;
    color: #c5dbff;
    text-align: center;
    margin-bottom: 8px;
}

.faq-item{
    background-color: rgba(255,255,255,0.06);
    border-radius: 12px;
    padding: 18px;
    border: 1px solid rgba(255,255,255,0.08);
    transition: 0.2s;

    &:hover{
        background-color: rgba(255,255,255,0.08);
        border-color: rgba(255,255,255,0.1);
        transform: translateY(-5px);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    }
}

.faq-question{
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 10px;
}

.faq-answer{
    color: #d3e5ff;
    line-height: 1.5;
}

.copy{
    display: none;
    position: absolute;
    right: 10px;
    top: 25%;
    width: 30px;
    height: 30px;
    background-color: transparent;
    color: #fff;
    cursor: pointer;

    &:hover {
        background-color: transparent;
        transform: translateY(0px);
        box-shadow: 0px 0px 0px rgba(0, 0, 0, 0);
    }

    &:active {
        background-color: transparent;
        transform: translateY(0px);
        box-shadow: 0px 0px 0px rgba(0, 0, 0, 0);
    }
}

input{
    width: 100%;
    max-width: 100%;
    height: 50px;
    background-color: rgb(64, 87, 98);
    color: #b8d7eb;
    border: 2px solid #b8d7eb; 
    border-radius: 10px;
    padding: 0 10px;
    font-size: 24px;
    outline: none;
}

button {
    position: relative;
    width: 100%;
    height: 50px;
    background-color: #3249b1;
    color: #fff;
    font-weight: bold;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    cursor: pointer;
    transition: 0.2s ease;

    &:hover {
        background-color: rgb(41, 105, 194);
        transform: translateY(-2px);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.279);
    }

    &:active {
        background-color: rgb(30, 90, 165);
        transform: translateY(0);
        box-shadow: none;
    }
}

span{
    color: #c5dbff;
    text-align: center;
    font-weight: bold;
    display: flex;
    align-items: center;

}

svg{
    margin: 15px;
    width: 25px;
    height: 25px;
}

circle{
    transition: 0.3s;
}