/*GENERAL PAGE STYLING*/

html {
    overflow: hidden;
}

body {
    margin: 0;
    min-height: 100vh;
    height: auto;
    width: 100vw;
    overflow: hidden;
    font-family: 'Noto Sans Kannada', sans-serif;
    background-color: #fff;
}

body::after {

    overflow: hidden;
    content: "";
    background-image: url(./images/fern.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0.55;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    position: absolute;
    z-index: -1;
    /* Add the blur effect */
    filter: blur(8px);
    -webkit-filter: blur(4px);
}

* {
    box-sizing: border-box;
}

p {
    margin: 0;
}

footer {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 4vh;
    position: absolute;
    bottom: 0;
    left: 0;
    width: auto;
    margin: 0;
    padding: 5px;
    background-color: #dad5d2;
    font-size: 10px;
}

.hView {
    border-radius: 10px;
    margin: auto;
    margin-top: 5%;
    transition-duration: 0.4s;
    background-color: #fff;
    color: #000;
    border: 2px solid #555555;
    padding: 16px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    transition-duration: 0.4s;
    cursor: pointer;
}

.hView:hover {
    background-color: #555555;
    color: white;
    box-shadow: 0 12px 16px 0 rgba(0, 0, 0, 0.24), 0 17px 50px 0 rgba(0, 0, 0, 0.19);
}

/*Scroll customization*/
/* width */
::-webkit-scrollbar {
    width: .7vw;
    height: 9vh;
}

/* Track */
::-webkit-scrollbar-track {
    box-shadow: inset 0 0 7px grey;
    border-radius: 9vh;
    margin-bottom: 20px;
}

/* Handle */
::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 9px rgba(0, 0, 0, 0.4);
}

/*Clickable Icon Styling*/
.icon {
    height: 16vh;
    width: 8vw;
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: space-between;
    text-align: center;
    border-radius: 10%;
    transition: 0.25s;
}

.icon:hover {
    transform: scale(1.03);
}

.icon img {
    margin: auto;
    object-fit: contain;
    height: auto;
    max-height: 70%;
}

.picon {
    background-color: white;
    border-radius: 10px;
    padding: 2%;
    margin: 2%;
    width: 175px;
    height: 175px;
    display: flex;
    flex-flow: column;
    justify-content: space-around;
    align-items: center;
    float: left;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.15), 0 3px 10px 0 rgba(0, 0, 0, 0.15);
    transition: 0.25s;
}

.picon img {
    height: auto;
    max-height: 70%;
    margin: auto;
}

.picon:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.3), 0 6px 20px 0 rgba(0, 0, 0, 0.3);
}

.icon:hover,
.picon:hover,
.close:hover {
    cursor: pointer;
}

#mainIcons {
    margin: 0%;
    overflow-x: hidden;
    margin: 1vw 1vw;
    width: 10vw;
    height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}

/*Draggable Window Functionality*/

.front {
    z-index: 1000;
}

.window {
    display: none;
    position: absolute;
    background-color: rgba(253, 253, 253, 0.98);
    text-align: center;
    resize: both;
    overflow: hidden;
    width: 50vw;
    height: 50vh;
    min-height: 30vh;
    min-width: 20vw;
    border-radius: 5px 5px 10px 10px;
    box-shadow: 0 2px 9px 0 rgba(0, 0, 0, 0.25), 0 3px 15px 0 rgba(0, 0, 0, 0.25);
}

.windowHeader {
    padding: 2px;
    padding-top: 4px;
    position: relative;
    height: auto;
    width: 100%;
    cursor: move;
    background-color: rgba(202, 202, 202, 0.95);
    display: flex;
    justify-content: space-between;
    font-size: 100%;
    color: #303030;
}

.windowHeader > p {
}

.scrollable {
    min-height: 6vh;
    height: 97%;
    width: 100%;
    overflow-y: scroll;
    overflow-x: hidden;
}

/*Individual Window Styling*/

/*THIS IS THE FIRST WINDOW STYLES*/
#windowOne {
    top: 10%;
    left: 15%;
}

#one {
    height: 200%;
}

.c {
    width: 100%;
    height: 50%;
}

#c1 {
    padding: 3%;
}

#c1 p,
#p3 p {
    font-size: 300%;
}

#conBox {
    margin-top: 1%;
    height: 80%;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.conIcon {
    width: 30%;
    height: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.25s;
}

.conIcon img {
    max-width: 70%;
    max-height: 70%;
}

.conIcon img:hover {
    cursor: pointer;
}

#email {
    text-align: center;
    display: block;
    width: 70%;
    font-size: 150%;
    margin: auto;
    padding: 7%;
}

#email input {
    margin: 3%;
}

.stretch {
    width: 100%;
    margin-left: 3%;
}

/*THIS IS THE SECOND WINDOW STYLES*/
#windowTwo {
    top: 20%;
    left: 25%;
}

#two {
    display: flex;
    flex-flow: column;
    justify-content: space-between;
    align-items: center;
    height: auto;
    position: relative;
}

#picBox {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 150px;
    padding: 3%;
    border: 1px solid black;
    background-color: #333;
    color: #fff;
    font-size: 48px;
}

#divider {
    margin: 30px auto;
    position: relative;
    height: 110%;
    width: 80%;
    display: flex;
    flex-flow: row-reverse;
    align-items: center;
}

.sideSub {
    margin: 5% auto;
    padding: 2%;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around;
    width: 80%;
    border: 1px solid black;
    background-color: whitesmoke;
    text-align: center;
}

.sideSub p {
    margin: 1%;
}

#divider img {
    width: 40%;
    max-width: 400px;
    min-width: 200px;
}

#text {
    display: inline-block;
    width: 80%;
    height: auto;
    text-align: left;
    margin-top: 20px;
    margin-left: 20px;
}

#skill h3 {
    text-align: left;
    margin-left: 20px;
    font-size: 22px;
}

#skill p {
    text-align: left;
    margin-left: 20px;
    font-size: 16px;
}

table,
th,
td {
    border: 1px solid black;
    border-collapse: collapse;
}

table {
    width: 80%;
    margin: 20px auto;
}

td {
    width: 16%;
}

/*THIS IS THE THIRD WINDOW STYLES*/
#windowThree {
    top: 30%;
    left: 35%;
}

#three {
    height: auto;
}

.p {
    padding: 10px;
    display: block;
    width: 100%;
    height: 20%;
    margin: 0;
    display: flex;
    flex-flow: column;
    justify-content: space-around;
    align-items: center;
}

#windowFour {
    top: 40%;
    left: 45%;
}

#p3 {
    padding: 2%;
    height: auto;
}

#holder {
    display: flex;
    flex-flow: wrap;
    align-items: center;
}

#holder img {
    opacity: 0.85;
    transform: scale(0.97);
    transition: 0.3s ease;
}

#holder img:hover {
    opacity: 1;
    transform: scale(1);
    transition: 0.3s ease;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.3), 0 6px 20px 0 rgba(0, 0, 0, 0.3);
}


#p3 a {
    margin-top: 2%;
    margin-left: 1%;
    width: 48%;
    float: left;
}

/*HIGHLIGHT WINDOWS STYLING*/
.highlight {
    z-index: 100000;
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 0;
    font-size: 10vh;
    overflow-y: scroll;
    overflow-x: hidden;
}

.highlight img {
    width: 100%;
}

.hInner {
    margin: 50px auto;
    width: 1200px;
    height: auto;
    background-color: #dad5d2;
    padding: 3vh;
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: space-around;
    font-size: 24px;
    color: #000;
    overflow-x: hidden;
}

.hTitle {
    text-align: center;
    font-size: 48px;
    color: #000;
    margin: 20px auto;
}

.topRight {
    position: fixed;
    top: 5%;
    right: 5%;
}

/*ALL FOR THE IMG LIGHTBOX*/
.row > .column {
    padding: 0 8px;
}

.row:after {
    content: "";
    display: table;
    clear: both;
}

/* Create four equal columns that floats next to eachother */
.column {
    object-fit: contain;
    width: 25%;
    text-align: center;
}

/* Next & previous buttons */
.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
}

/* Position the "next button" to the right */
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Number text (1/3 etc) */
.numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

/* Caption text */
.caption-container {
    text-align: center;
    background-color: black;
    padding: 2px 16px;
    color: white;
    font-size: 30px;
}

img.demo {
    transition: 0.3s;
    opacity: 0.6;
}

.active,
.demo:hover {
    cursor: pointer;
    opacity: 1;
}

img.hover-shadow {
    transition: 0.3s;
}

.hover-shadow:hover {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.titleImg {
    margin-top: 5%;
    height: 500px;
    overflow: hidden;
}

.row {
    margin: 5% 0;
}

.row:first-child,
.row:last-child {
    margin: 0;
}

.row::after {
    content: "";
    clear: both;
    display: table;
}

#one {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    height: auto;
}

#one p {
    font-size: 30px;
    display: block;
    margin: auto;
    text-align: left;
    width: 90%;
}

#two {
    background-color: #5f7782;
    background-position: center;
    background-size: cover;
    display: flex;
    flex-flow: column;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    padding: 0px;
    z-index: 10000000;
    height: 300px;
}

h1 {
    margin: 0;
    margin-top: -3%;
    color: #fff;
    font-size: 120px;
}

h2 {
    color: #b4c1c5;
    font-size: 70px;
    width: 100%;
    text-align: center;
    background-color: #5f7782;
    padding: 10px;
}

.noBack {
    background-color: transparent;
}

#two h2 {
    margin: -10%;
}

#three {
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: auto;
}

#three p {
    font-size: 30px;
    display: block;
    margin: 0;
    text-align: left;
    width: 90%;
}

#four {
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: auto;
    padding: 1% 5%;
}

#four p {
    font-size: 30px;
}

#five {
    margin: auto;
    margin: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 90%;
    height: auto;
}

video {
    border: 10px solid #5f7782;
    border-radius: 10px;
}

/****** For mobile/Tablet: ******/
@media only screen and (max-width: 899px) {

    #conBox {
        margin-top: 5vh;
        z-index: 10000000;
        width: 100%;
        justify-content: center;
        align-items: center;
        overflow-y: scroll;
    }

    #mainIcons {
        margin-top: 5%;
        width: 100vw;
        align-items: center;
        justify-content: space-between;
        height: 85vh;
    }

    .icon {
        width: 90vw;
        height: 20vh;
    }

    .scrollable {
        padding: 10px;
        padding-top: 15%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        min-height: 6vh;
        height: auto;
        width: 100%;
        overflow-y: scroll;
    }

    #divider {
        flex-direction: column-reverse;
        justify-content: space-between;
        align-items: space-between;
    }

    #sideBox {
        text-align: left;
        display: flex;
        flex-flow: row;
        justify-content: center;
        align-items: space-between;
        width: 40%;
        height: 100%;
        color: black;
    }

    .icon {
        width: auto;
        max-height: 25vh;
        max-width: 50vw;
        display: flex;
        flex-flow: column;
        justify-content: center;
        align-items: space-between;
        text-align: center;
    }

    .windowHeader {
        position: fixed;
        width: 100%;
        margin: -1%;
        z-index: 5000;
    }

    .windowHeader > p {
        font-size: 4vh;
    }

    /* width */
    ::-webkit-scrollbar {
        width: 2vw;
        height: 9vh;
    }

    .window {
        display: none;
        position: absolute;
        background-color: #dad5d2;
        border: 5px solid #b4c1c5;
        text-align: center;
        overflow: auto;
        width: 100vw;
        height: 96vh;
        border-radius: 0;
    }

    #windowOne {
        left: 0;
        top: 0;
    }

    #windowTwo {
        left: 0;
        top: 0;
    }

    #windowThree {
        left: 0;
        top: 0;
    }

    #windowFour {
        left: 0;
        top: 0;
    }

    #three {
        height: 500%;
    }


    /*HIGHLIGHT WINDOWS STYLING*/
    .highlight {
        z-index: 100000;
        position: fixed;
        top: 0;
        left: 0;
        display: none;
        width: 100vw;
        height: 100vh;
        background-color: #DAD5D2;
        color: #fff;
        padding: 2vh;
        font-size: 18px;
    }

    .hInner {
        width: 100%;
        height: auto;
        margin: 50px 0;
        background-color: #dad5d2;
        padding: 3vh;
        overflow-x: hidden;
    }

    .topRight {
        z-index: 1000000;
        position: fixed;
        top: 2%;
        right: 9%;
        font-size: 38px;
    }



    #one p {
        font-size: 16px;
        display: block;
        margin: auto;
        text-align: left;
        width: 90%;
    }

    #two {
        width: 100%;
        padding: 0px;
        z-index: 10000000;
        height: 100px;
    }

    h1 {
        margin: 0;
        margin-top: -3%;
        color: #fff;
        font-size: 30px;
    }

    h2 {
        color: #b4c1c5;
        font-size: 22px;
        padding: 10px;
    }

    #three {
        display: flex;
        flex-flow: column;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: auto;
    }

    #three p {
        font-size: 16px;
        display: block;
        margin: 0;
        text-align: left;
        width: 90%;
    }

    #four {
        display: flex;
        flex-flow: column;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: auto;
        padding: 1% 5%;
    }

    #four p {
        font-size: 16px;
    }

    #five {
        margin: auto;
        margin: auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 90%;
        height: auto;
    }

    video {
        border: 0px solid black;
        border-radius: 2%;
    }

}
