@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html,
body {
    font-family: "Jost", sans-serif;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    padding: 10vh 0vh;
}

.session_message{
    width: 100%;
    position: absolute;
    bottom: -5vh;
    left: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
}

.session_message_sec{
    width: 100%;
    position: absolute;
    top: 15vh;
    left: 5vw;
}


/* -------------- */
/* Nav section */
/* ------------------------------------------------------ */

nav {
    z-index: 10;
    position: fixed;
    top: 0;
    width: 100vw;
    display: flex;
    justify-content: space-between;
    padding: 4vh 3vw;
    font-weight: 450;
    font-size: 1vw;
    z-index: 10;

    .nav_cat {
        display: flex;
        gap: 3vw;
    }

    a {
        text-decoration: none;
        color: #000;
    }
}

/* ------------------------------------------------------ */


.container {
    padding-top: 20vh;
    width: 100vw;
    height: max-content;
    display: grid;
    grid-template-columns: 1fr;
    justify-content: center;
    align-items: center;
    z-index: 1;
    row-gap: 10vh;
}

.a_container{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 2vw;
    overflow: hidden;
    position: relative;
    padding-top: 10vh;
    padding-bottom: 5vh;
}

.a_title{
    position: absolute;
    top: 0;
    font-size: 1.25vw;
    font-weight: 500;
}

.container a {
    width: max-content;
    color: #000;
    text-decoration: none;
    text-transform: lowercase;
}

.sub_container {
    margin: 0 auto;
    width: 25vw;
    height: 10vh;
    padding: 5vw;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.25vw;
    background-color: #13131304;
    border-radius: 15px;
    border: 0.1vw solid #7070707a;
    cursor: pointer;
}


/* ------------------------------------------------------ */


form {
    z-index: 1;
    width: max-content;
    height: max-content;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5vh;
    background-color: #fff;
    padding: 5vw;
    border-radius: 0.5vw;
    border: 0.1vw solid #ddd;
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1);
}

.admin_title {
    font-size: 1.5vw;
    font-weight: 500;
}

.form_items {
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 1vh;
    position: relative;

    .form_title {
        font-size: 1.25vw;
        font-weight: 400;
        text-transform: capitalize;
        margin-bottom: 2.5vh;

    }

    label {
        text-transform: capitalize;
        font-size: 1vw;
    }

    input,
    select {
        width: 20vw;
        height: 6vh;
        border-radius: .5vw;
        outline: none;
        padding-left: 1vw;
        font-family: "Jost", sans-serif;
        border: 0.15vw solid #22222231;
        margin-bottom: 2.5vh;
        text-transform: none;
    }

    input::placeholder {
        font-family: "Jost", sans-serif;
    }

    button {
        outline: none;
        padding: 2vh 0;
        border-radius: .5vw;
        border: none;
        background-color: rgb(19, 145, 248);
        border: 0.15vw solid rgb(19, 145, 248);
        color: #fff;
        font-size: 1vw;
        font-weight: 500;
        transition: all 0.3s ease;
    }

    button:hover {
        border: 0.15vw solid #fff;

    }

    .next_link {
        text-decoration: none;
        font-size: 1vw;
        margin: 5vh auto;
        text-align: center;
        color: #000;
        width: max-content;
        white-space: nowrap;
        position: relative;
        text-transform: capitalize;
    }

}

.a_link{
    white-space: nowrap;
    position: relative;
}

.a_link::before,
.a_link::after,
.next_link::before,
.next_link::after {
    position: absolute;
    width: 100%;
    height: 1px;
    background: #000;
    top: 100%;
    left: 0;
    pointer-events: none;
}

.a_link::before,
.next_link::before {
    content: '';
}

.a_link::before,
.next_link::before {
    transform-origin: 100% 50%;
    transform: scale3d(0, 1, 1);
    transition: transform 0.3s;
}

.a_link:hover::before,
.next_link:hover::before {
    transform-origin: 0% 50%;
    transform: scale3d(1, 1, 1);
}


.add_images {
    margin-top: 1vh;
    margin-bottom: 1vh;
    border: none;
    background-image: url("data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%25' height='100%25' fill='none' stroke='%23ccc' stroke-width='3' stroke-dasharray='6%2c 14' stroke-dashoffset='0' stroke-linecap='square'/%3e%3c/svg%3e");
    background-color: transparent;
    padding: 3rem;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    &:hover,
    &:focus {
        background-image: url("data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%25' height='100%25' fill='none' stroke='%232e44ff' stroke-width='3' stroke-dasharray='6%2c 14' stroke-dashoffset='0' stroke-linecap='square'/%3e%3c/svg%3e");
    }

}


.add_images input[type="file"] {
    width: 100%; 
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    padding: 2vh 0.5vw;
    outline: none;
    border: none;
    font-family: "Jost", sans-serif;
    font-size: 1vw;
}

.view_all_link{
    position: absolute;
    z-index: 100;
    bottom: 2.5vh;
    font-size: 1vw;
    font-weight: 500;
    text-decoration: none;
    color: #fff;
    padding: 1.5vh 1vw;
    background-color:#429e05 ;
    border-radius: 0.5vw;
}

/* ------------------------------------------------------ */
/* ------------------------------------------------------ */

#uploadForm option{
    text-transform: uppercase;
}

.peoples_container,
.com_work_container,
.headshots_container,
.clients_container{
    width: 100vw;
    height: max-content;
    padding: 10vh 3vw;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr ;
    gap: 2vw;
}

.person,
.headshot,
.com_work,
.client{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.5vh;
    padding: 2.5vh 2vw;
    border-radius: 0.5vw;
    border: 0.1vw solid #ddd;
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1);
}


.person_name,
.headshot_name,
.com_work_name,
.client_name{
    font-size: 1.5vw;
    font-weight: 500;
    margin-bottom: 2.5vh;
    text-transform: uppercase;
}

.clients_container img{
    width: 7.5vw;
    height: 7.5vh;
    object-fit: cover;
}
.buttons{
    margin-top: 1vh;
    display: flex;
    gap: 1vw;
    font-size: 1vw;
    font-weight: 500;
}

.button_form{
    padding: 0;
    border: none;
    box-shadow: none;
}

.button_form input[type="submit"],
.delete_form input[type="submit"]{
    width: 100%;
    height: 100%;
    padding: 1.5vh 1vw;
    color: #fff;
    outline: none;
    border-radius: 0.25vw;
    border: none;
}

.person_images_container,
.headshot_images_container,
.com_work_images_container{
    width: 100vw;
    height: max-content;
    padding: 10vh 3vw;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr ;
    gap: 2vw
}

.delete_form{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2vh;
    margin: 0 auto;
}

.delete_form img{
    width: 15vw;
    height: 35vh;
    object-fit: cover;
}


/* ----------------------------------------------------- */
/* -------- */


.area {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
}

.circles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.circles li {
    position: absolute;
    display: block;
    list-style: none;
    width: 20px;
    height: 20px;
    background: rgba(65, 65, 65, 0.068);
    animation: animate 25s linear infinite;
    bottom: -150px;

}

.circles li:nth-child(1) {
    left: 25%;
    width: 80px;
    height: 80px;
    animation-delay: 0s;
}


.circles li:nth-child(2) {
    left: 10%;
    width: 20px;
    height: 20px;
    animation-delay: 2s;
    animation-duration: 12s;
}

.circles li:nth-child(3) {
    left: 70%;
    width: 20px;
    height: 20px;
    animation-delay: 4s;
}

.circles li:nth-child(4) {
    left: 40%;
    width: 60px;
    height: 60px;
    animation-delay: 0s;
    animation-duration: 18s;
}

.circles li:nth-child(5) {
    left: 65%;
    width: 20px;
    height: 20px;
    animation-delay: 0s;
}

.circles li:nth-child(6) {
    left: 75%;
    width: 110px;
    height: 110px;
    animation-delay: 3s;
}

.circles li:nth-child(7) {
    left: 35%;
    width: 150px;
    height: 150px;
    animation-delay: 7s;
}

.circles li:nth-child(8) {
    left: 50%;
    width: 25px;
    height: 25px;
    animation-delay: 15s;
    animation-duration: 45s;
}

.circles li:nth-child(9) {
    left: 20%;
    width: 15px;
    height: 15px;
    animation-delay: 2s;
    animation-duration: 35s;
}

.circles li:nth-child(10) {
    left: 85%;
    width: 150px;
    height: 150px;
    animation-delay: 0s;
    animation-duration: 11s;
}



@keyframes animate {

    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
        border-radius: 0;
    }

    100% {
        transform: translateY(-1000px) rotate(720deg);
        opacity: 0;
        border-radius: 50%;
    }

}