@import url('https://fonts.googleapis.com/css?family=Poppins');

:root {
    /* --primary-color: rgb(255, 44, 90);
    --primary-shade-1: rgba(255, 44, 90, 0.8);
    --primary-shade-2: rgba(255, 44, 90, 0.1); */
    --primary-color: rgb(44, 48, 255);
    --primary-shade-1: rgba(44, 48, 255, 0.8);
    --primary-shade-2: rgba(44, 48, 255, 0.5);
    --primary-shade-3: rgba(44, 48, 255, 0.1);
}

body {
    font-family: 'Poppins', sans-serif;
    padding: 0px;
    margin: 0px;
    max-width: 100vw;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 6%;
}

/* Image styling */
.card img {
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
}

/* Description styling */
.card .description {
    text-align: center;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--primary-shade-2);
    color: #fff;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    box-sizing: border-box;
}

/* Button styling */
.card button {
    margin-left: auto;
    padding: 20px 32px;
    background-color: rgba(0, 0, 0, 0.767);
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
}

.card button:hover {
    background-color: rgb(0, 0, 0);
}

/* Hover effect */
.card:hover img {
    transform: scale(1.1);
}

.card:hover .description {
    opacity: 1;
}

#loading {
    width: 100vw;
    height: 100vh;
    position: fixed;
    background: white;
    z-index: 999;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

#spinner {
    animation: rotate 0.56s infinite linear;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin: 0;
    border: 12px solid #fff;
    border-bottom: 12px solid var(--primary-color);
    border-radius: 50%;
    margin: 0;
}

#particles-js {
    position: absolute;
    width: 100vw;
    height: 100vh;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

header {
    width: 92vw;
    padding: 6vh 4vw;
    font-weight: bold;
    background: transparent;
    color: black;
    transition: 0.4s ease-in-out;
    z-index: 2;
    position: fixed;
    left: 0;
    top: 0;
}

header table {
    width: 100%;
}

#logo {
    width: 20%;
    font-weight: bold;
}

#navigation {
    width: 80%;
}

#magnify {
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.92);
    position: fixed;
    z-index: 4;
    display: none;
    flex-direction: column;
    justify-content: center;
}

#magnify h1 {
    position: absolute;
    top: 0;
    right: 0;
    margin: 20px 40px;
    color: #fff;
    transition: 0.4s ease-in-out;
}

#magnify h1:hover {
    color: var(--primary-color);
    cursor: pointer;
}

#img_here {
    width: 90%;
    height: 90%;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    margin: 0px auto;
}

#logo {
    font-size: 28px;
    font-weight: 900;
}

#navigation {
    text-align: right;
}

#navigation a {
    color: inherit;
    text-decoration: none;
    padding: 5px 10px;
    border-bottom: 2px solid transparent;
    margin-left: 4vw;
    transition: 0.4s ease-in-out;
}

#navigation a:hover {
    border-bottom: 2px solid #fff;
}

#home {
    margin-top: 12vh;
}

#top_part {
    width: 100%;
    border: 2vh solid #fff;
}

#about {
    height: 95vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    padding: 0px 8%;
}

#about h1 {
    font-size: 45px;
    word-wrap: break-word;
}

#about h4 {
    font-weight: normal;
}

#about table {
    width: 70%;
    margin-top: 4vh;
}

#about table tr td {
    width: 20% !important;
    text-align: left;
}

.social {
    color: var(--primary-color);
    font-size: 23px;
    padding: 12px 17px;
    border-radius: 50%;
    background: transparent;
    transition: 0.4s ease-in-out;
    font-weight: bold;
    margin: 0px 8px;
}

.social:hover {
    cursor: pointer;
    color: #fff;
    background: var(--primary-color);
    box-shadow: 0px 10px 30px var(--primary-shade-1);
}

.btn_one {
    font-size: 18px;
    font-family: 'Poppins', sans-serif;
    color: var(--primary-color);
    background: #fff;
    border: 3px solid var(--primary-color);
    padding: 8px 40px;
    width: 35%;
    border-radius: 80px;
    cursor: pointer;
    font-weight: bold;
    margin: 2vh 0px;
    transition: 0.4s ease-in-out;
}

.challenge {
    text-decoration: none;
}

.btn_one:hover {
    box-shadow: 0px 10px 30px var(--primary-shade-1);
    cursor: pointer;
    color: #fff;
    background: var(--primary-color);
}

#right-image-container {
    padding-right: 3.5%;
}

#rightImage {
    height: 60vh;
    margin-top: 8vh;
    background: linear-gradient(150deg, var(--primary-shade-2), var(--primary-shade-3)), url("./images/c01.jpg") center right;
    background-size: cover;
    background-repeat: no-repeat;
    clip-path: polygon(0 0, 80% 0, 100% 20%, 100% 100%, 20% 100%, 0 80%);
}

#work {
    width: 100%;
    padding: 6vh 4vw;
    font-weight: bold;
}

#work h1 {
    padding: 5px 0px;
    width: 6%;
}


#row {
    columns: 3;
    width: 100%;
    z-index: 1;
    column-gap: 4%;
    transition: 0.4s ease-in-out;
}

#photos {
    width: 100%;
    columns: 3;
    column-gap: 4%;
    z-index: 1;
    transition: 0.4s ease-in-out;
}

#photos img {
    width: 100%;
    transition: 0.4s ease-in-out;
}

#photos img:hover {
    transform: scale(1.1);
    cursor: pointer;
}

#bio {
    width: 92vw;
    padding: 6vh 4vw;
    font-weight: normal;
}

#bio h1 {
    padding: 5px 0px;
    width: 10%;
}

#contact {
    width: 92vw;
    padding: 6vh 4vw;
}

#contact h1 {
    padding: 5px 0px;
    width: 10%;
}

#contact table {
    width: 100%;
}

#contact table tr td {
    width: 50%;
}

#inner_div table {
    width: 100%;
}

#inner_div table tr td {
    font-weight: normal;
}

#inner_table tr td {
    padding: 10px 20px !important;
}

#contact form {
    width: 100%;
}

#contact form input {
    width: 96%;
    margin: 20px 1%;
    background: transparent;
    border: 0px;
    border-bottom: 3px solid var(--primary-shade-1);
    padding: 8px 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    transition: 0.4s ease-in-out;
    color: #000;
    font-weight: normal;
}

#contact form textarea {
    width: 96%;
    margin: 20px 1%;
    padding: 8px 10px;
    border: 0px;
    border-bottom: 3px solid var(--primary-shade-1);
    padding: 8px 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    background: transparent;
    resize: none;
    transition: 0.4s ease-in-out;
    color: #000;
    font-weight: normal;
}

#contact form input:focus {
    outline: none;
    border-bottom: 3px solid var(--primary-color);
}

#contact form textarea:focus {
    outline: none;
    border-bottom: 3px solid var(--primary-color);
}

#address {
    position: relative;
    top: -25px;
    left: 30px;
}

#footer {
    width: 100%;
    padding: 10vh 0px;
    text-align: center;
    font-weight: normal;
    background-color: var(--primary-shade-3);
}

#footer a {
    color: var(--primary-color);
    text-decoration: none;
}

::placeholder {
    color: #000;
}

button:focus {
    outline: none;
}

::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: rgb(0, 0, 0);
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.8);
}

.title {
    width: auto !important;
    display: inline-block !important;
}

@media (max-width: 1000px) {
    #photos {
        columns: 1;
        column-gap: 0%;
    }

    #row {
        columns: 1;
        width: 100;
    }

    #photos img {
        margin: 2% 0px;
    }

    #photos img:hover {
        transform: scale(1);
        cursor: pointer;
    }

    #top_part {
        border: 0px;
    }

    #about {
        height: 75vh;
        padding-top: 20vh !important;
        text-align: center;
        padding: 0px 4%;
    }

    .btn_one {
        padding: 6px 30px;
        width: 60%;
        margin: 4vh auto;
        box-shadow: 0px 10px 20px var(--primary-shade-1);
        background: var(--primary-color);
        color: #fff;
    }

    .btn_one:hover {
        box-shadow: 0px 10px 40px var(--primary-shade-1);
        cursor: pointer;
    }

    #contact table tr td {
        width: 100%;
        display: block;
    }

    #inner_table tr td {
        padding: 10px 0px !important;
    }

    #contact form input {
        width: 90%;
    }

    #contact form textarea {
        width: 90%;
    }

    #work h1 {
        width: 19%;
    }

    #bio h1 {
        width: 40%;
    }

    #contact h1 {
        width: 33%;
    }

    header {
        width: 96vw;
        background: #fff;
        padding: 4vh 2vw;
        position: absolute;
    }

    #header table tr td {
        width: 100%;
        display: block;
        text-align: center;
        padding: 15px 0px;
    }

    #navigation a {
        color: #000;
    }
}

.our-team {
    padding: 30px 0 40px;
    margin-bottom: 30px;
    background: linear-gradient(150deg, var(--primary-shade-3), #f7f5ec);
    text-align: center;
    overflow: hidden;
    position: relative;
}

.our-team .picture {
    display: inline-block;
    height: 25%;
    width: 50%;
    margin-bottom: 50px;
    z-index: 1;
    position: relative;
}

.our-team .picture::before {
    content: "";
    width: 100%;
    height: 0;
    border-radius: 50%;
    background-color: var(--primary-shade-1);
    position: absolute;
    bottom: 135%;
    right: 0;
    left: 0;
    transform: scale(3);
    transition: all 0.3s linear 0s;
}

.our-team:hover .picture::before {
    height: 100%;
}

.our-team .picture::after {
    content: "";
    width: 100%;
    height: 100%;
    border-radius: 50%;
    opacity: 1;
    background-color: var(--primary-shade-1);
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

.our-team .picture img {
    width: 100%;
    height: auto;
    border-radius: 50%;
    transform: scale(1);
    transition: all 0.9s ease 0s;
}

.our-team:hover .picture img {
    box-shadow: 0 0 0 14px #f7f5ec;
    transform: scale(1.1);
}

.our-team .title {
    display: block;
    font-size: 15px;
    color: #4e5052;
    text-transform: capitalize;
}

.our-team .social {
    width: 100%;
    padding: 0;
    margin: 0;
    border-radius: 0;
    background-color: var(--primary-shade-1);
    position: absolute;
    opacity: 0.75;
    bottom: -100px;
    left: 0;
    transition: all 0.5s ease 0s;
}

.our-team:hover .social {
    bottom: 0;

}

.our-team .social li {
    display: inline-block;
}

.our-team .social li i {
    display: block;
    padding: 10px;
    font-size: 17px;
    color: white;
    transition: all 0.3s ease 0s;
    text-decoration: none;
}

.our-team .social li i:hover {
    color: var(--primary-shade-1);
    background-color: #f7f5ec;
}