*{
    padding: 0;
    margin: 0;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    box-sizing: border-box;
    transition: 0.2s ease;
    scroll-behavior: smooth;
}

button{
    cursor: pointer;
    border: none;
    background-color: transparent;
}

a{
    text-decoration: none;
    color: inherit;
}

input, select, textarea{
    outline: none;
    font-size: inherit;
}

img{
    object-fit: contain;
}

/*  */
#loader{
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    width: 100%;
    height: 100vh;
    z-index: 20;
    background-color: rgba(0, 0, 0, 0.8);
}

#loader p{
    width: 100px;
    height: 100px;
    border: 5px dashed grey;
    border-width: 5px 0px 0px 0px;
    border-radius: 50%;
    animation: loading 2s linear infinite;
}

/*  */
#we_transfer{
    position: fixed;
    top: 0;
    width: 100%;
    height: 100dvh;
    z-index: 19;
}

#we_transfer video{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    object-fit: cover;
    z-index: -1;
}

#we_nav{
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1.5rem 1rem;
    color: white;
}

#we_nav li{
    background-color: white;
    color: black;
    display: flex;
    align-items: center;
    padding: 0.1rem 1rem;
    border-radius: 5px;
}

#we_nav svg{
    object-fit: contain;
    width: 40px;
}

#we_form{
    width: 100%;
    height: 80dvh;
    display: flex;
    justify-content: center;
    align-items: center;
}

#we_form_container{
    width: 30%;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 1rem;
    border-radius: 10px;
}

#we_form_top{
    text-align: center;
}

#we_greetings{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

#we_form_top svg{
    width: 50px;
}

#we_form_top h3{
    margin: 1rem 0rem;
}

#we_form_contents{
    border: 1px solid gray;
    border-width: 1px 0px;
    margin: 1rem 0rem;
}

#we_form_contents section{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 1rem 0.5rem;
    font-size: smaller;
}

#we_form_contents section span{
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

#we_form_contents section img{
    object-fit: contain;
    height: 60px;
}

#we_form_contents section svg{
    object-fit: contain;
    height: 25px;
    color: rgb(2, 90, 221);
}

#we_form_contents section svg:hover{
    cursor: pointer;
    transform: scale(1.1);
}

#link_container{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: 1rem 0.5rem;
    font-size: 0.9rem;
}

#link_container a{
    color: rgb(0, 96, 229);
}

#link_container a:hover, #link_container button:hover{
    transform: scale(1.03);
}

#link_container button{
    background-color: rgb(0, 96, 229);
    color: white;
    font-size: larger;
    padding: 0.4rem 1rem;
    border-radius: 5px;
}

/* 2nd phase */
#trans_form{
    display: none;
    justify-content: center;
    align-items: center;
}

#trans_main_container{
    width: 35%;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 3rem 2rem;
    box-shadow: 0px 0px 3px black;
    border-radius: 5px;
    margin-top: 3rem;
}

#trans_nav span{
    display: flex;
    align-items: center;
    gap: 1rem;
}

#trans_nav span img{
    width: 50px;
}

#trans_nav span h2{
    font-weight: 500;
}

#trans_nav i{
    display: block;
    text-align: right;
    color: gray;
    font-size: smaller;
}

#trans_inputs{
    margin-top: 2rem;
}

#trans_inputs input{
    display: block;
    margin: 1rem 0rem;
    padding: 0.5rem;
    width: 100%;
    border: 1px solid silver;
    border-radius: 3px;
    background-color: transparent;
}

#trans_inputs input:focus{
    border-color: gray !important;
}

#trans_btn_container p{
    display: flex;
    align-items: center;
    font-size: smaller;
    gap: 0.2rem;
}

#trans_btn_container button{
    display: block;
    width: 100%;
    background-color: #005da6;
    color: white;
    text-align: center;
    font-size: larger;
    margin: 2rem 0rem;
    padding: 0.5rem 0.2rem;
}

#trans_btn_container button:hover{
    background-color: #037dda;
}

#trans_links{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 4rem;
}

#trans_links a{
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

#trans_links a:hover{
    transform: scale(1.02);
}

#trans_links a img{
    height: 20px;
}

#transErr{
    text-align: center;
    color: red;
    font-size: 0.9rem;
}

/*  */
@keyframes loading {
    from{transform: rotate(-360deg);}
    to{transform: rotate(deg);}
}

/*  */
@media (max-width:1030px) {
    #we_form_container{
        width: 50%;
    }

    #trans_main_container{
        width: 55%;
        margin-top: 5rem;
    }
}

@media (max-width:900px) {
    #we_form_container{
        width: 60%;
    }

    #trans_main_container{
        width: 70%;
    }
}

@media (max-width:650px) {
    #we_form_container{
        width: 70%;
        padding: 1rem 0rem;
    }

    #we_form_contents section img{
        height: 50px;
    }

    #trans_main_container{
        width: 90%;
    }
}

@media (max-width:500px) {
    #we_nav li:last-child{
        display: none;
    }

    #we_nav svg{
        width: 30px;
    }

    #we_form_container{
        width: 85%;
    }

    #we_form_contents section{
        margin: 1rem 0.2rem;
        font-size: 0.7rem;
    }

    #link_container {
        font-size: smaller;
    }

    /*  */
    #trans_nav span img{
        width: 40px;
    }

    #trans_main_container{
        width: 95%;
        padding: 1.5rem 1rem;
    }

    #trans_nav i{
        font-size: 0.7rem;
    }

    #trans_inputs input{
        padding: 0.4rem 0.2rem;
    }
}

@media (max-width:400px) {
    #we_form_container{
        width: 96%;
    }

    #trans_main_container{
        width: 95%;
        padding: 1rem 0.5rem;
    }

    #trans_nav i{
        font-size: 0.6rem;
    }
}