/* Index */
.firstSection {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 22vh 2vw;
    background-color: #000;
    color: #fff;
    margin: 2vh 2vw;
}

.firstSection>div {
    width: 45%;
}

.leftSection {
    font-size: 2.2rem;
}

.rightSection img {
    width: 100%;
}

.purple {
    color: blue
}

.homecarousel {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding-bottom: 0;
}

.homecarousel h5,
.homecarousel p,
.homecarousel button {
    filter: invert(1);
}



/* Image for carousel for mobile */
.carousel-item img.mobile {
    display: none !important;
}

@media (max-width: 767px) {

    .carousel-item img.mobile {
        display: block !important;
    }
}

.outline {
    margin: 0 0.8vw;
    background-color: #000000;
}

.cs50 {
    margin: -3.5px 0;
    padding: 0;
    box-shadow: none;
    color: lavender;
    background-color: black;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 8.7vw;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 101vh;
}

/* Magic button to scroll down to CS50 */
.scroll-button {
    display: inline-flex;
    margin: 20px;
    padding: 10px;
    color: #fff;
    background-color: #000;
    font-size: 1rem;
    font: initial;
    border-radius: 50%;
}

/* Navbar */
nav {
    background-color: black;
    margin: 0 0 20px 0;
}

button {
    color: black;
}

/* My Journey Page */
#blink {
    transition: 1.5s;
}

.container {
    align-items: center;
    display: flex;
    flex-direction: column;
}

/* Vertical and Horizontal lines on the Journey Page*/
.vertical-line {
    border-left: 2px solid #000;
    height: 15vh;
    width: 2px;
}

.horizontal-line {
    display: flex;
    align-items: center;
    border-top: 2px solid #000;
    width: 40vw;
    margin-left: 0;
    margin-right: 10px;
    justify-content: space-between;
}

.horizontal-line p {
    margin: 0 0px 0 20px;
    display: flex;
    width: 80%;
    justify-content: end;
}

.content {
    display: flex;
    align-items: center;
}

.line-content {
    display: flex;
    align-items: center;
}

/* For Mobiles */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    .vertical-line {
        height: 30px;
    }

    .horizontal-line {
        margin-right: 0;
        margin-bottom: 10px;
        width: 85vw
    }

    /* Index */
    .firstSection {
        flex-direction: column-reverse;
        margin: 1vh 2vw;
        padding: 16vh 10vw;
    }

    .leftSection {
        font-size: 1.8rem;
        margin-top: 15vh;
    }

    .firstSection>div {
        width: 85%;
    }

    .rightSection {
        display: contents;
        width: max-content;
    }
}


body {
    padding: 0px;
    margin: 0px;
    font-family: 'Roboto Condensed', sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex-grow: 1;
}

section {
    padding: 8vh 10vw;
    margin: 6vh 2vw;
    box-shadow: 0px 0px 20px 10px grey;
    border-radius: 30px;
}

p {
    margin: 0 20px
}

h3 {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}

a {
    text-decoration: none;
    color: black;
}

img {
    color: #abc;
}

/* Footer Design */
footer {
    margin: 30px 0 0 0;
    border-top: 2px solid #355071;
    background-color: #999;
    padding: 20px;
}

/* Projects Page */
.projectsec1 {
    filter: invert(1);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.projectsec1 img {
    filter: invert(1);
}


.projectsec2 {
    background-color: #000;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.carouselProjects {
    margin: 2vh 2vw;
    max-width: 100vh;
}

/* Contact Page */
/* For Left n Right Sections */
@media screen and (min-width: 640px) {

    /* For PCs to have 2 sections */
    main.con .sec {
        display: flex;
        justify-content: space-evenly;
    }

    main.con.right {
        margin: 0 20px;
    }

    main.con.left {
        margin: 0 20px
    }

}


.sec {
    justify-content: center;
    display: flex;
    padding: 14vh 17vw;
}

@media (max-width: 768px) {
    .sec {
        flex-direction: column;
        padding: 3vh 4vw;
    }
}

.social {
    padding: 0;
}

.social li {
    display: flex;
    margin: 20px 0px;
    list-style: none;
}

a ion-icon {
    color: blue;
}

ion-icon {
    height: 24px;
    width: 24px;
    padding: 10px;
}
