@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Quicksand&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');



*{
    font-family: Poppins;
}
/*Navigation Styles*/
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: white;
    z-index: 1000; 
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 400;
    padding: 10px 0;
    transition: box-shadow 0.3s ease-in-out;
    padding-top: 30px;
    padding-bottom: 30px;
}
.nav-shadow {
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1); 
}
#navName {
    margin-left: 100px;
    
}

#navName a {
    font-weight: 600;
    color: royalblue;
    text-align: center;
    font-size: 25px;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

#navName a:hover {
    color: navy;
}

#navLinks {
    margin-right: 10%;
}

#navLinks a {
    display: inline-block;
    margin-left: 20px;
    padding: 0 10px;
    text-decoration: none;
    color: black;
    font-size: 16px;
    transition: transform 0.1s;
}

#navLinks a:hover {
    color: royalblue;
}

#menuIcon {
    display: none; /* Hide the menu icon by default */
}

@media only screen and (max-width: 1070px) {
    #navLinks {
        display: none; 
    }

    #menuIcon {
        display: block; /* Display the menu icon */
        right: 40px;
        position: absolute;
        font-size: 30px;
    }
    #navName{
        margin-left: 30px;
    }
    nav{
        display: block;
    }

    
    #mobileNavContainer{
        display: flex;
        align-items: center;
        
    }
    #navLinks.show-nav-links {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        top: 100;
        width: 100%;
        height: 100%;
        padding-bottom: 50px;
        
    }
    #navLinks.show-nav-links a{
        padding-top: 50px;
    }

    .aboutMe.pushed-down {
        margin-top: 600px; /* Adjust as needed */
    }

    


}


/*About Me */
.aboutMe{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 235px;
}

.aboutMeTL{
    max-width: 500px;
}


.johnnyCash{
    font-size: 35px;
    font-weight: 600;

}

.michaelJegalian{
    margin-top: -30px;
    font-size: 50px;
    font-weight: 500;
    margin-bottom: -10px
}

.crossed-out {
    text-decoration: line-through;
    text-decoration-color: red;
}
.aboutMeTL h2{
    font-size: 18px;
    font-weight: 400;
    color:#3e3e3e;
    margin-top:-20px;
}

.aboutMe p{
    color: #5A5A5A;
}

.linkedInButton {
    display: inline-block;
    padding: 10px 20px;
    background-color: royalblue;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease-in-out; 
    font-weight: 500;
    margin-top: 20px;
}

.imageContainer{
    order: 1; /* Set order to display the image first */
}
.mainImage{
    width: 250px; 
    height: 313px;
}

.description{
    margin-top: 30px;
}

.descriptionText{
    font-weight: 500;
}



.linkedInButton:hover {
    background-color: navy; 
    
}

.linkedInButton i {
    margin-left: 5px;
    transition: color 0.3s ease-in-out; 
}

.linkedInButton:hover i {
    color: lightblue; 
    
}


@media only screen and (max-width: 750px) {
    .aboutMe{
        margin-top: 90px;
        flex-direction: column; /* Change flex direction to column */
        align-items: center; /* Center items horizontally */
        justify-content: center;
        text-align: center; /* Center text */
    }
    .imageContainer{
        order: 0;
    }
    .mainImage{
        width: 175px; 
        height: 220px;
    }

    #downArrow {
        display: none; /* Hide the arrow */
       
    }

    
}

/*Down arrow*/

.downArrow{
    display: flex;
    justify-content: center;
    margin-top: 150px;
}
.scrollToTopButton {
    
    background-color: transparent;
    border: none;
    outline: none;
    cursor: pointer;
}

.scrollToTopButton i {
    font-size: 24px;
    color: black; 
    transition: transform 0.1s ease-in-out; 
}

.scrollToTopButton:hover i {
    transform: scale(1.1); 
}

/*A little about me*/

.aboutMeI{
    display: flex;
    flex-direction: column; 
    justify-content: center;
    align-items: center;
    margin-top: 200px;
}


.aboutMeIContainer{
    display: flex;
    margin-top: 50px;

}

.casualImage{
    width: 250px; 
    height: 375px;
}

.aboutMeIText{
    max-width: 600px;
    padding-left: 30px;
    padding-right: 30px;
}

.playButton {
    display: inline-block;
    padding: 10px 20px;
    background-color: royalblue;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease-in-out;
    font-weight: 500;
    margin-top: 20px;
    border: none; 
    cursor: pointer; 
}

.playButton i {
    margin-right: 5px; /* Add spacing between icon and text */
}

.playButton:hover {
    background-color: darkblue; /* Change background color on hover */
}


@media only screen and (max-width: 750px) {
    .aboutMeI{
        margin-top: 20px;
        justify-content: center;
        text-align: center;
    }
    .aboutMeIContainer{
        display: flex;
        margin-top: 0px;
        flex-direction: column; /* Change flex direction to column */
        justify-content: center;
        align-items: center;
        
    }

    .casualImage{
        width: 150px; 
        height: 225px;
    }
}

/*Portfolio*/


.portfolio h1{
    margin-top: 150px;
    text-align: center;
   
}

.portfolio p {
    text-align: center;
    color: royalblue;
    font-weight: 600;
    font-size: 20px;
    
}



.outer-container {
    margin-top: 50px;
    padding-bottom: 20px; /* Add some padding at the bottom for better appearance */
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    
}

.spacer1{
    display: flex;
}

.spacer2{
    display: flex
}



.box {
    font-weight: 600;
    font-size: 20px;
    margin: 10px; /* Add margin to all sides */
    width: 300px;
    height: 300px;
    background-color: transparent;
    border-radius: 5px;
    box-shadow: 0px 0px 4px rgba(0, 0, 1, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s; /* Adding transition for smooth effect */
}

.box:hover {
    cursor: pointer; /* Change cursor to pointer on hover */
    transform: scale(1.05); /* Enlarge the box on hover */
    box-shadow: 0px 0px 8px rgba(0, 0, 1, 0.8); /* Adjust box shadow on hover */
}

  .modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
    
  }

  .modal-content {
    max-height: calc(100vh - 50px);
    overflow-y: auto;
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px; /* Adjust max-width as needed */
    overflow: auto;
    position: fixed;
    top: 0; /* Position the modal at the top of the page */
    left: 50%;
    transform: translateX(-50%);
    transition: top 0.3s ease; /* Add transition for smooth sliding effect */
}


  .close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
  }

  .close:hover,
  .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
  }


  @media only screen and (max-width: 1930px){
   .outer-container{
    display: flex;
    flex-direction: column;
   }
    
  }

  @media only screen and (max-width: 1080px){
    .outer-container{
     display: flex;
     flex-direction: column;
    }
    .spacer1{
        display: block;
    }
    
    .spacer2{
        display: block;
    }
    
   }
/*Skills*/

.skills h1{
    text-align: center;
    margin-top: 100px;
}

.outer-containerSkills{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.spacer11{
    display: flex;
}
.spacer21{
    display: flex;
}
.box2 {
    display: flex;
    flex-direction: column;
    width: 400px;
    height: 400px;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.box2 h3{
    margin-top: 50px;
    font-size: 30px;
    font-weight: 500;
}

.box2 h4{
    font-size: 16px;
    font-weight: 400;
    text-align: center;
}


@media only screen and (max-width: 1050px){
    .outer-containerSkills{
        display: flex;
        flex-direction: column;
       }
       .spacer11{
           display: block;
       }
       
       .spacer21{
           display: block;
       }
    
}

.contactMe h1{
    text-align: center;
}

.contactInfo{
    display: flex;
    justify-content: center;
    margin-bottom: 100px;
}

.contactInfo h2{
    padding-left: 20px;
    padding-right: 20px;
    font-weight: 400;
}

@media only screen and (max-width: 850px){

    .contactInfo h2{
        padding-left: 20px;
        padding-right: 20px;
        font-weight: 400;
        font-size: 16px;
        text-align: center;
    }
}