
/* ------- for all ------------ */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;400;500&display=swap');

*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'poppins';
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    /* display: none; <- Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}


:root{
    font-size: 16px;
}

body{
    width: 100%;
    min-height: 100vh;
    flex-direction: column;
    gap: 20px;
    height: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    outline: none;
    padding: 3%;
}
.header{
    flex-direction: column;
    display: flex;
    align-items: center;
    justify-content:center;
    max-width: 700px;
    width: 100%;
    gap: 20px;
    padding-top: 10px;
}
.header>.span1{
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.header>.span1>h3{
    color: rgb(0, 119, 255) ;
    font-weight: 500;
}
.header>.span1>p{
    font-size: .9rem;
    max-width: 60%;
    text-align: center;
    color: red;
}
.header>.span2{
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: flex-end;
}
.header button{
    cursor: pointer;
    color: white;
    border-radius: 5px;
    padding-inline: 10px;
    padding-block: 5px;
    display: none;
}
.header .signin{
    width: 20%;
    align-self: flex-end;
    background-color: rgb(0, 204, 255);
}
.header .signout{
    background-color: red;
}

.send{
    min-width: 200px;
    height: 40px;
    padding: 5px;
    border-radius: 5px;
    background-color: #F03B7A;
    color: white;
}

.cv{
    max-width: 700px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    height: fit-content;
    border: 2px solid #14163E;
    border-radius: 10px;
    background-color: white;
}

.cv>div{
    height: fit-content;
    display: flex;
    flex-direction: column;
}
.cv>.right{
    border-top-right-radius: inherit;
    border-bottom-right-radius: inherit;
    width: 50%;
    padding: 20px;
    gap: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.cv>.left{
    padding: 20px;
    border-top-left-radius: inherit;
    border-bottom-left-radius: inherit;
    width: 50%;
    gap: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.readWrite{
    width: 100%;
    transition: all .3s;
    outline: none;
    border: 1px solid transparent;
    border-bottom-color: #f03b7a4f;
    padding: 10px;
}
.readWrite:valid{
    border-color: #F03B7A;
    background-color: #eb0c5a13;
    border-radius: 5px;
}
.readWrite:focus{
    border-color: #F03B7A;
    border-radius: 5px;
}
    
.cv .bigText{
    border:1px dotted red;
    min-height: 200px;
    resize: vertical;
    padding: 10px;
    border-radius: 5px;
    outline: none;
    flex-grow: 1;
}

.cv>.left .basliq , .cv>.right .basliq{
    font-weight: bolder;
    font-size: 1rem;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid #14163E;
}
.cv>.left>div,.cv>.right>div{
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cv>.left>.fullName{
    font-size: 1.2rem;
    font-weight: 500;
}

.cv>.left>.profilePic{
    width: 100%;
    display: flex;
    cursor: grab;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
    height: 150px;
    padding: 5px;
    position: relative;
    background-color: #f03b7a17;
    border: 2px dotted black;
}
.cv>.left>.profilePic>img{
    object-fit: contain;
    width: 100%;
    height: 100%;
}


.cv>.left>.info1{
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.cv>.left>.info1>span{
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .9rem;
}
.cv>.left>.info1>span>h3{
    font-weight: 500;
    font-size: 1rem;
    flex-shrink: 0;
}

.cv>.left>.contact>div{
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.cv>.left>.contact>div>span{
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.cv>.left>.contact>div>span>h3{
    font-weight: 500;
    font-size: .9rem;
}

.cv>.left>.langs>div{
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.cv>.left>.langs>div>span{
    display: flex;
    position: relative;
    animation: openFromTop .3s linear;
    gap: 5px;
}
.cv>.left>.langs>div>span>.delete{
    position: relative;
}
.cv>.left>.langs>div>span>h3{
    font-weight: 500;
    font-size: .9rem;
}

.cv .loadPic{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    border: 1px dotted blue;
}
.cv .loadPic>label{
    font-weight: bolder;
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.loader{
    width: 100%;
    height: 100vh;
    display: none;
    align-items:center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.877);
    animation:openPage 0.2s linear;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100000000;
}

.loader>div{
    border:4px solid #F03B7A;
    border-radius:100px;
    border-top:4px solid transparent;
    border-left:4px solid transparent;
    width:40px;
    height:40px;    
    animation: spin 1s linear infinite;
}

.continueRegister{
    background-color: rgba(255, 255, 255, 0.877);
    display: none;
    align-items: center;
    justify-content: center;
    position: fixed;
    z-index: 100;
    inset: 0;
    width: 100%;
    height: 100vh;
    padding: 3%;
}
.continueRegister>div>p{
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
}
.continueRegister>div{
    max-width: 400px;
    width: 100%;
    display: flex;
    position: relative;
    flex-direction: column;
    gap: 40px;
    background-color: white;
    padding: 30px;
    border:1px solid rgba(0, 0, 0, 0.363);
    border-radius: 10px;
}
.continueRegister>div>span{
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.close{
    position: absolute;
    width: 30px;
    height: 30px;
    right: -10px;
    border: 1px solid black;
    top: -10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: red;
    border-radius: 100px;
    color: white;
}

.loginArea{
    background-color: rgba(255, 255, 255, 0.877);
    display: none;
    align-items: center;
    justify-content: center;
    position: fixed;
    z-index: 100;
    inset: 0;
    width: 100%;
    height: 100vh;
    padding: 3%;
}
.loginArea>div>p{
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
}
.loginArea>div{
    max-width: 400px;
    width: 100%;
    display: flex;
    position: relative;
    flex-direction: column;
    gap: 40px;
    background-color: white;
    padding: 30px;
    border:1px solid rgba(0, 0, 0, 0.363);
    border-radius: 10px;
}
.loginArea>div>span{
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.forgotpasw{
    font-size: .8rem!important;
    text-decoration: underline;
    color: red;
    margin-top: -20px;
}

.msgs{
    background-color: white;
    border: 1px solid black;
    padding-inline: 30px;
    padding-block: 15px;
    margin-top: 10px;
    border-radius: 5px;
    display: none;
    flex-direction: column;
    gap: 10px;
    max-width: 700px;
    width: 100%;
    align-self: center;
    max-height: 400px;
    overflow: auto;
}
.msgs>h3{
    font-weight: 500;
    font-size: .9rem;
}
.msgs>div{
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;

}
.msgs>div>p{
    background-color: blue;
    color: white;
    font-size: .9rem;
    width: fit-content;
    border-radius: 4px;
    padding-inline: 7px;
    padding-block: 4px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 500 un alitnda */
@media screen and (max-width:500px){
    
    :root{
        font-size: 15px;
    }
    .cv{
        max-width: 700px;
        width: 100%;
        display: flex;
        justify-content: space-between;
        flex-direction: column;
        height: fit-content;
        border: 2px solid #14163E;
        border-radius: 10px;
        background-color: white;
    }
    .cv>div{
        height: fit-content;
        display: flex;
        width: 100%!important;
        flex-direction: column;
    }
    .header>.span1>p{
        font-size: .9rem;
        max-width: 70%;
        text-align: center;
        color: red;
    }

}