@import url('https://fonts.googleapis.com/css?family=Poppins');

body {
    /*background-image: url("../pics/Background003.jpg");*/
    /*background-size: 40px;*/
    /*background-repeat:repeat-y;*/
    overflow: auto; /* Hide scrollbars */
}

/*div {*/
/*width: 150px;*/
/*height: 150px;*/
/*background-color: red;*/
/*transition: background-color 1s;
}

    div:hover {
        background-color: var(--main-theme-color-50alpha);
    }*/

:root {
    --main-theme-color: rgb(209, 44, 255);
    --main-theme-color-50alpha: rgb(209, 44, 255, 0.5);
    --main-theme-color-80alpha: rgb(209, 44, 255, 0.8);
}

body {
    font-family: 'Poppins', sans-serif;
    padding: 0px;
    margin: 0px;
    max-width: 100vw;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

#loading {
    width: 100vw;
    height: 100vh;
    position: fixed;
    background: white;
    z-index: 999;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    opacity:1;
    transition: opacity 1s;
}

#spinner {
    animation: rotate 0.56s infinite linear;
    width: 50px;
    height: 50px;
    border: 12px solid var(--main-theme-color);
    border-bottom: 12px solid #fff;
    border-radius: 50%;
    margin: 0;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

header {
    width: 92vw;
    padding: 6vh 4vw;
    position: fixed;
    font-weight: bold;
    background: transparent;
    color: #fff;
    transition: 0.4s ease-in-out;
    z-index: 2;
}

    header table {
        width: 100%;
    }

#logo {
    width: 20%;
}

#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;
    opacity:0;
    transition: opacity 0.5s;
}

    #magnify #projectView {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
    }

    #magnify h1 {
        position: absolute;
        top: 0;
        right: 0;
        margin: 20px 40px;
        color: #fff;
        transition: 0.4s ease-in-out;
    }

        #magnify h1:hover {
            color: var(--main-theme-color);
            cursor: pointer;
        }

#img_here {
    width: 90%;
    height: 90%;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    margin: 0px auto;
}

#logo {
    font-size: 24px;
    color: var(--main-theme-color);
}

#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;
        }

#top_part {
    width: 100%;
    border: 2vh solid #fff;
}

    #top_part tr td {
        width: 50%;
    }

#about {
    width: 84% !important;
    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 table {
        width: 70%;
        margin-top: 4vh;
    }

        #about table tr td {
            width: 20% !important;
            text-align: left;
        }

.social {
    color: var(--main-theme-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(--main-theme-color);
        /*box-shadow: 0px 10px 30px rgba(255, 66, 107,0.8);*/
        box-shadow: 0px 0px 50px var(--main-theme-color-80alpha);
    }

.btn_one {
    font-size: 18px;
    font-family: 'Poppins', sans-serif;
    color: var(--main-theme-color);
    background: #fff;
    border: 3px solid var(--main-theme-color);
    padding: 8px 40px;
    width: 35%;
    border-radius: 80px;
    font-weight: bold;
    margin: 2vh 0px;
    transition: 0.4s ease-in-out;
}

    .btn_one:hover {
        /*box-shadow: 0px 10px 30px rgba(255, 44, 90, 0.8);*/
        box-shadow: 0px 0px 50px var(--main-theme-color-80alpha);
        cursor: pointer;
        color: #fff;
        background: var(--main-theme-color);
    }

#rightImage {
    width: 100%;
    height: 95vh;
    /*background: linear-gradient(0deg,rgba(255, 44, 90, 0.8),rgba(2255, 44, 90, 0.8)),url("https://images.unsplash.com/photo-1506057527569-6a0285b2fcc1?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&w=1000&q=60") center center;*/
    /*background: linear-gradient(0deg,var(--main-theme-color-80alpha),rgba(255, 44, 90, 0.8)),url("https://images.unsplash.com/photo-1506057527569-6a0285b2fcc1?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&w=1000&q=60") center center;*/
    background: linear-gradient(0deg,rgba(50,50,50,0.1),rgba(0, 183, 255, 0.2)),url("pics/ME.jpg") center center;
    filter: blur(2px);
    transform: scaleX(-1);
    background-size: cover;
    background-repeat: no-repeat;
}

#work {
    width: 92vw;
    padding: 6vh 4vw;
    font-weight: bold;
}

    #work h1 {
        padding: 5px 0px;
        border-bottom: 4px solid var(--main-theme-color);
        width: 6%;
    }

#photos {
    width: 100%;
    columns: 3;
    column-gap: 4%;
    z-index: 1;
    transition: 0.4s ease-in-out;
}

    #photos img {
        border: dashed;
        width: 100%;
        height: auto;
        margin: 4.5% 0px;
        transition: 0.4s ease-in-out;
    }

        #photos img:hover {
            transform: scale(1.1);
            cursor: pointer;
        }

#bio {
    width: 92vw;
    padding: 6vh 4vw;
    font-weight: bold;
}

    #bio h1 {
        padding: 5px 0px;
        border-bottom: 4px solid var(--main-theme-color);
        width: 8%;
    }

#contact {
    width: 92vw;
    padding: 6vh 4vw;
}

    #contact h1 {
        padding: 5px 0px;
        border-bottom: 4px solid var(--main-theme-color);
        width: 10%;
    }

    #contact table {
        width: 100%;
    }

        #contact table tr td {
            width: 50%;
        }

#inner_div table {
    width: 100%;
}

    #inner_div table tr td {
        font-weight: bold;
    }

#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 rgba(255, 44, 90,0.5);*/
        border-bottom: 3px solid var(--main-theme-color);
        padding: 8px 10px;
        font-family: 'Poppins', sans-serif;
        font-size: 18px;
        transition: 0.4s ease-in-out;
        color: #000;
        font-weight: bold;
    }

    #contact form textarea {
        width: 96%;
        margin: 20px 1%;
        padding: 8px 10px;
        border: 0px;
        /*border-bottom: 3px solid rgba(255, 44, 90,0.5);*/
        border-bottom: 3px solid var(--main-theme-color);
        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: bold;
    }

    #contact form input:focus {
        outline: none;
        /*border-bottom: 3px solid rgba(255, 44, 90,1);*/
        border-bottom: 3px solid var(--main-theme-color);
    }

    #contact form textarea:focus {
        outline: none;
        /*border-bottom: 3px solid rgba(255, 44, 90,1);*/
        border-bottom: 3px solid var(--main-theme-color);
    }

#address {
    position: relative;
    top: -25px;
    left: 30px;
}

#footer {
    width: 100%;
    padding: 10vh 0px;
    text-align: center;
    font-weight: bold;
}

    #footer a {
        color: var(--main-theme-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);
    }

@media (max-width: 1000px) {
    #photos {
        columns: 1;
        column-gap: 0%;
    }

        #photos img {
            margin: 2% 0px;
        }

            #photos img:hover {
                transform: scale(1);
                cursor: pointer;
            }

    #rightImage {
        display: none;
    }

    #top_part {
        border: 0px;
    }

        #top_part tr td {
            width: 100%;
            text-align: center;
        }

    #about {
        width: 92% !important;
        height: 75vh;
        padding-top: 20vh !important;
        text-align: center;
        padding: 0px 4%;
    }

        #about table {
            width: 100%;
            margin-top: 6vh;
        }

            #about table tr td {
                text-align: center;
            }

    .btn_one {
        padding: 6px 30px;
        width: 60%;
        margin: 4vh auto;
        /*box-shadow: 0px 10px 20px rgba(255, 44, 90, 0.8);*/
        box-shadow: 0px 10px 20px var(--main-theme-color-80alpha);
        background: var(--main-theme-color);
        color: #fff;
    }

        .btn_one:hover {
            /*box-shadow: 0px 10px 40px rgba(255, 44, 90, 0.8);*/
            box-shadow: 0px 10px 40px var(--main-theme-color-80alpha);
            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: 25%;
    }

    #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;
    }
}
