/*****************
******************

----CSS Reset----

******************
******************/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
}

/***********************
************************

-----Basic Styling-----

************************
************************/

body {
    width: 100%;
    height: 100%;
    font-size: 20px;
    font-family: 'Lato', sans-serif;
    font-weight: 100;
    /* line-height: 1.8em; */
}

/**************************
***************************

-----Intro Welcome Page-----

***************************
***************************/

.welcome {
    max-width: 100%;
    height: 100vh;
    background-image: linear-gradient(180deg, #6e7bf0, #c2bfbf);
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.welcome-container {
    background-color: #4DA8DA;
    width: 100%;
    height: 45%;
    transform: skewY(-11deg);
    box-shadow:
    -4px -4px 5px 0 rgba(255,255,255,0.3),
    7px 10px 6px 0 rgba(88, 88, 88, 0.35);
}

.welcome img {
    margin-top: 40px;
}

.welcomeText {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column; 
    transform: skewY(11deg);
}

#name {
    font-size: 3em;
    color: rgba(255, 255, 255, 0.911);
    font-family: sans-serif;
    font-weight: 700;
}

#webDev {
    font-size: 1.5em;
    letter-spacing: 4px;
    color: rgba(43, 34, 43, 0.658);
    font-weight: 900;
}

#skills {
    padding: 20px;
    letter-spacing: 2px;
    font-size: .75em;
    color: rgba(255, 255, 255, 0.911);
    font-weight: 900;
}

/* .welcomeIcons {
    width: 100px;
    position: absolute;
    bottom: 0;
    left: 0;
    margin: 5px;
    display: flex;
    justify-content: space-around;
    opacity: .5;
}

.fa-github:hover, .fa-linkedin:hover  {
    opacity: .7;
    cursor: pointer;
} */

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

/****************************
*****************************

------About Me Section-------

*****************************
*****************************/

.aboutme {
    width: 100%;
    /* background-color: rgb(160, 156, 156); */
    background-image: url(./Assets/Images/aboutme_background.png);
    background-size: cover;
    color: rgba(0, 0, 0, 0.7);
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

.aboutme-card {
    max-width: 100%;
    height: 100%;
    padding: 20px;
}

.bio {
    width: 100%;
    margin-bottom: 10%;
}

.bio > h1 {
    font-size: 5em;
    color: rgb(1, 154, 255);
    font-family: 'Sansita Swashed', cursive;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 10px;
    text-shadow: 2px 2px 10px rgba(0, 89, 255, 0.267);
}

.bio > h2 {
    font-size: 3em;
    margin-bottom: 10px;
    margin-left: 50px;
}

.bio > h3 {
    font-size: 1.5em;
    margin-left: 50px;
}
.bio hr {
    width: 60%;
    margin-left: 50px;
}

.bio > P {
    font-size: .8em;
    width: 80%;
    margin-left: 50px;
    line-height: 30px;
    padding: 10px;
}

.details {
    width: 100%;
}

.details h1 {
    font-weight: 700;
    display: flex;
    justify-content: center;
    color: rgba(14, 124, 197, 0.76);
}

.details ul {
    display: flex;
    justify-content: space-evenly;
    padding: 20px;
    font-size: 1.5em;
}

.education {
    display: flex;
    justify-content: space-evenly;
    padding: 20px;
}

.details li {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-weight: 900;
}


.aboutme-pic {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    justify-items: center;
}

#profilePic1 {
    grid-column: 1 / 4;
    margin: auto;
    width: 400px;
    height: 400px;
    background-color:white;
    box-shadow:
    -4px -4px 5px 0 rgba(255,255,255,0.3),
    7px 10px 6px 0 rgba(88, 88, 88, 0.35);
    background-image: url(./Assets/Images/Profile_pic.jpg);
    background-repeat: no-repeat, repeat;
    background-size: cover;
    transition: background-image 700ms;
}

#profilePic2 {
    width: 100px;
    height: 100px;
    background-color:white;
    box-shadow:
    -4px -4px 5px 0 rgba(255,255,255,0.3),
    7px 10px 6px 0 rgba(88, 88, 88, 0.35);
    background-image: url(./Assets/Images/profil_pic2.jpg);
    background-repeat: no-repeat, repeat;
    background-size: cover;
}

#profilePic3 {
    width: 100px;
    height: 100px;
    background-color:white;
    box-shadow:
    -4px -4px 5px 0 rgba(255,255,255,0.3),
    7px 10px 6px 0 rgba(88, 88, 88, 0.35);
    background-image: url(./Assets/Images/profile_pic3.jpg);
    background-repeat: no-repeat, repeat;
    background-size: cover;
}

#profilePic4 {
    width: 100px;
    height: 100px;
    background-color:white;
    box-shadow:
    -4px -4px 5px 0 rgba(255,255,255,0.3),
    7px 10px 6px 0 rgba(88, 88, 88, 0.35);
    background-image: url(./Assets/Images/profile_pic4.jpg);
    background-repeat: no-repeat, repeat;
    background-size: cover;
}

#profilePic2:hover, 
#profilePic3:hover, 
#profilePic4:hover {
    opacity: .7;
}

/**********************************
***********************************

----Card Styling for Portfolio-----

***********************************
**********************************/

.container {
    max-width: 1100px;
    margin: auto;
    overflow: auto;
}

.container h1 {
    font-size: 80px;
    margin-top: 50px;
    height: 60vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.34);
    color: rgba(15, 158, 253, 0.966);
    font-family: sans-serif;
}

.card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    background-color: rgb(219, 219, 219);
    margin-bottom: 2rem;
}

.card:nth-child(even) img {
    order: 2;
}

.container img {
    width: 100%;
    cursor: pointer;
}

.container img:hover {
    opacity: .7;
}

.card div {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5rem;
}

/*****************************************
******************************************

---Card Titles and Links for Portfolio---

******************************************
*****************************************/

.card {
    border-style: solid;
    border-width: 1px;
    border-color: rgba(0, 0, 0, .1);
    text-align: center;
}

.rgb-logo {
    max-width: 50%;
    margin: auto;
    cursor: pointer;
}

.pet-logo {
    max-width: 50%;
    margin: auto;
    cursor: pointer;
}

.bug-logo {
    max-width: 50%;
    margin: auto;
    cursor: pointer;
}

.bug-logo:hover,
#CodingQuiz:hover,
#DinnerDice:hover,
#WeatherDash:hover,
#EmployeeDirectory:hover {
    opacity: .7;
}

#CodingQuiz {
    font-family: 'Press Start 2P', cursive;
    cursor: pointer;
}

#DinnerDice {
    font-family: 'Lobster', cursive;
    color: #c12026;
    font-size: 90px;
    cursor: pointer;
}

#WeatherDash {
    font-weight: 700;
    font-size: 55px;
    cursor: pointer;
}

#EmployeeDirectory {
    cursor: pointer;
    text-align: center;
}

/***********************************
************************************

-----Modal Pop-up for Portfolio-----

************************************
***********************************/

.modal-bg {
    position: fixed;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    background-color: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s, opacity 0.6s;
}

.bg-active {
    visibility: visible;
    opacity: 1;
    transition: visibility 0s, opacity 0.6s;
}

.modal {
    background-color: white;
    width: 50%;
    height: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
}

.modal iframe {
    display: none;
    margin: 20px;
    width: 560px;
    height: 315px;
    /* aspect-ratio: 16 / 9; */
}

.btnActive {
    width: 30% !important; 
}


.video {
    width: 60%;
    height: 90%;
}

.modal p {
    width: 90%;
}

.modal button {
    padding: 9px;
    font-size: 20px;
    border-radius: 8px;
    cursor: pointer;
    margin: 20px 0;
}

.btn-box {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 80%;
}

.modal hr {
    width: 40%;
    margin: 7px 0px;
}

.modal button:hover {
    opacity: .7;
}

.technologies {
    font-size: .7em;
    width: 90%;
}

#github, #app {
    width: 90%;
}

.modal-close {
    position: absolute;
    right: 10px;
    top: 3px;
    cursor: pointer;
}

.modal-close:hover {
    opacity: .7;
}

/****************************
*****************************

--------Contact Page---------

*****************************
****************************/


.contact2 {
    width: 100%;
    height: 110vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.contact2 h1 {
    font-size: 3em;
    letter-spacing: 3px;
    height: 20vh;
    font-weight: 900;
    color: rgba(0, 0, 0, 0.856);
}

.circle {
    color: black;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background: rgb(255, 255, 255);
    opacity: 0;
    text-decoration: none;
}

/* Cirlce:after is the shadow of the icons. It has seperate styling and hover effects, as well as base styling
that is transitioned back after the mouse is not hovering the icon anymore. */

.circle:after {
    content: "";
    display: block;
    position: absolute;
    bottom: -25px;
    height: 8px;
    width: 100%;
    box-shadow: 0px 0px 9px 0px rgba(0, 0, 0, .6);
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.3);
    transform: scale(1);
    transition: transform .3s; 
}

.circle:hover:after {
	transform: scale(.75);
    transition: transform .3s;
    
}

/* This .circle i code is here so that when the mouse is no longer hovering, it transitions back to it's
normal styling. */

.circle i {
    transform: scale(1);
    transition: transform .3s;
}

.circle i:hover {
    transform: scale(1.2);
    transition: transform .3s, color .2s;
    color: rgb(12, 163, 233);
}

#myPic {
    background: none;
    opacity: 1;
    z-index: 2;  
}

#githubPin,
#linkedinPin,
#emailPin {
    position: absolute;
    transition-duration: 900ms;
    background: none;
}

.contactButtons {
    height: 60%;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60%;
}   

/********************************************************
*********************************************************

Classes that are added to the buttons in the contact page
whenever the intersection observer comes into effect
(code is in JS file)

*********************************************************
*********************************************************/

.activatedGitHub {
    transform: translateY(180px);
    transition-delay: 400ms;
    opacity: 1;
}

.activatedLinkedIn {
    transform: translate(180px, -120%);
    transition-delay: 200ms;
    opacity: 1;
}

.activatedEmail {
    transform: translate(-180px, -120%);
    transition-delay: 600ms;
    opacity: 1;
}

/**************************************
***************************************

-------------Media Queries-------------

**************************************
**************************************/

@media(max-width: 1000px) {
    .welcome-container {
        background-color: #4DA8DA;
        width: 100%;
        height: 30%;
    }
    .welcomeText {
        font-size: .7em;
    }
    #name {
        font-size: 3em;
        color: rgba(255, 255, 255, 0.911);
        font-family: sans-serif;
        font-weight: 700;
    }
    #webDev {
        letter-spacing: 1px;
    }

    .aboutme {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }

    .container h1 {
        font-size: 80px;
    }

    .container h1 {
        font-size: 75px;
    }

    .bio h1,
    .bio h2,
    .bio h3,
    .bio hr {
        margin-left: 0px;
        text-align: center;
    }

    .bio > p {
        text-align: center;
        margin: auto;
    }
    .aboutme-card hr {
        margin: auto;
    }

    .card {
        display: block;
        margin-bottom: 100px;
        background-color: inherit;
    }

    .card div {
        width: 100%;
    }

    #CodingQuiz {
        font-size: 35px;
    }

    .modal {
        background-color: white;
        width: 60%;
        height: 50%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        position: relative;
        font-size: 20px;
    }

    .modal button {
        margin: 15px 0;
    }

    .modal iframe {
        display: none;
        margin: 20px;
        width: 300px;
        height: 169px;
        /* aspect-ratio: 16 / 9; */
    }

    .video {
        width: 65%;
        height: 70%;
    }

    .btn-box {
        padding: 9px;
        border-radius: 8px;
        cursor: pointer;
    }

    .modal p {
        font-size: 17px;
    }

    #github, #app {
        font-size: 15px;
        width: 100px;
    }

    .contact2 h1 {
        font-size: 2.2em;
        letter-spacing: 1px
    }

}

@media(max-width: 500px) {
    .welcomeText {
        width:60%;
        text-align: center;
        margin: auto;
        font-size: .5em;
        letter-spacing: 2px;
    }

    .welcome img {
        margin-top: 30px;
        width: 200px;
        height: 250px;
    }

    .bio > h1 {
        font-size: 2em;
    }

    .bio > h2 {
        font-size: 1.5em;
    }

    .bio > h3 {
        font-size: 1.2em;
    }

    .details ul {
        font-size: 1em;
    }

    .education img {
        width: 50%;
    }
    
    #profilePic1 {
        max-width: 200px;
        max-height: 200px;
    }

    #profilePic2,
    #profilePic3,
    #profilePic4 {
        width: 50px;
        height: 50px;
    }

    .container h1 {
        font-size: 50px;
        letter-spacing: 0;
        height: 20vh;
    }

    #CodingQuiz {
        font-size: 20px;
    }

    #DinnerDice {
        font-size: 35px;
    }

    #WeatherDash {
        font-size: 30px;
    }

    #EmployeeDirectory {
        font-size: 30px;
    }

    .modal {
        width: 90%;
        height: 65%;
    }

    .video {
        height: 90%;
    }

    .modal button {
        margin: 1px 0;
    }

    .btn-box {
        display: flex;
        flex-direction: column;
    }

    .aboutme-card {
        text-align: center;
    }
    
    a:visited {
        /* text-decoration: none;
        color:black; */
    }

    .contact2 {
        height: 100vh;
    }

    .contact2 h1 {
        font-size: 1.7em;
    }
    
    #myPic {
        font-size: 100px;
    }
        
    .circle:after {
        content: "";
        display: block;
        position: absolute;
        bottom: -25px;
        height: 8px;
        width: 100%;
        box-shadow: 0px 0px 9px 0px rgba(0, 0, 0, .6);
        border-radius: 50%;
        background-color: rgba(0, 0, 0, 0.3);
        transform: scale(1);
        transition: transform .3s; 
    }

    .circle:hover:after {
        transform: scale(.75);
        transition: transform .3s;
        
    }

    /* This .circle i code is here so that when the mouse is no longer hovering, it transitions back to it's
    normal styling. */

    .circle i {
        font-size: 60px;
        transform: scale(1);
        transition: transform .3s;
    }

    .circle i:hover {
        transform: scale(1.1);
        transition: transform .3s, color .2s;
        color: rgb(12, 163, 233);
    }

    /* A media query was needed for the classes below because the translation was too big for smaller screen sizes. */

    .activatedGitHub {
        transform: translateY(120px);
        transition-delay: 400ms;
        opacity: 1;
    }
    
    .activatedLinkedIn {
        transform: translate(120px, -120%);
        transition-delay: 200ms;
        opacity: 1;
    }
    
    .activatedEmail {
        transform: translate(-120px, -120%);
        transition-delay: 600ms;
        opacity: 1;
    }
}




