/*import google font Changa One and Gabreila*/
@import url('https://fonts.googleapis.com/css2?family=Changa+One:ital@0;1&family=Gabriela&display=swap');


*{
    box-sizing: border-box;
    margin: 0;
}

.image-content{
    width: 350px;
    
}

.horizontal-group{
    display: flex;
    gap: 15px;
    justify-content: flex-start;
}
html{
scroll-behavior: smooth;
}
body{
    background: rgb(15, 15, 15);
    color: rgb(0, 0, 0);
    font-family: "Changa One";
    min-height: 100vh;
    align-items: center;
    justify-content: center;
    
}
a{
    text-decoration: none;
    color: #c1c9d3;
}
p{
    color: aliceblue;
    font-family: "Arial";
    font-size: auto;
    margin-top: 10.5rem;
    margin-left: -7.5rem;

}

.navbar{
    position: sticky;
    top: 0;
    z-index: 100;
    width: min(1150px, calc(100% - 10%));
    background: rgb(11, 11, 11);
    box-shadow: 8px 8px 18px #507fb9, -8px -8px 18px #507fb9; 
    margin: 25px auto;
    display: flex;
    padding: 16px;
    justify-content: space-between;
    align-items: center;
    border-radius: 18px;
}
.navbar a:hover{
    color:rgb(5, 200, 135);
    transform: translateY(-3px);
}

.logo{
    color:rgb(12, 193, 193);
    font-size: 30px;
    font-weight: 800;
    letter-spacing: 2px;
    padding-right: auto;

}
nav{
    display: flex;
    gap: 32px;
}
nav a{
    color: aliceblue;
    font-size: 18px;
    transition: .3s;
    
}
nav a:hover a:scr{
    color:aliceblue;
    transform: translateY(-3px);
    
}
.changa-one-regular {
  font-family: "Changa One", sans-serif;
  font-weight: 400;
  font-style: normal;
}
.changa-one-regular-italic {
  font-family: "Changa One", sans-serif;
  font-weight: 400;
  font-style: italic;
}
h1{
    font-size: 50px;
    text-shadow: 8px 8px 18px #141415, -8px -8px 18px #053f87;
    font-weight: 400;
    
}
.projects {
    color: aliceblue;
    font-size: 30px;
    display: flex;
    justify-content: center;
    padding-top: 0rem;
    padding-bottom: 0rem;
}

.slide-container{
        max-width: 1120px;
        width: 100%;
        background-color: transparent; /*switch to transparent after testing*/
        height: 600px;
        margin-bottom: 8rem;
        scroll-margin-top: 120px;
    }

.slide-content{
    margin: 0 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card-wrapper{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    gap: 24px;
    padding: 40px 20px;
    scroll-margin-top: 140px;
    
}
.project-card{
    width: 770px;
    height: 550px;
    border-radius: 20px;
    box-shadow: 0 0 10px rgb(209, 209, 209);
    background-color:#000b2d;
    padding-bottom: 20px;
    margin-top: 4rem;
    margin-bottom: 4rem;
    scroll-margin-top: 120px;
    overflow: hidden;
    
}

.card{
    width: 220px;
    height: 240px;
    border-radius: 20px;
    box-shadow: 0 0 10px rgb(209, 209, 209);
    background-color:#000b2d;
    padding-bottom: 20px;
    
}
.card-image{
    width: 970px;
    height: 830px;
    overflow: hidden;
    padding-bottom: -1.5rem;
    margin-left: -22.5rem;
    margin-top: -10.5rem;
    padding-left: -9.5rem;
    object-fit: contain;
    
}
.card-img{

    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 0;
     
}
.card-title{
    color: aliceblue;
    font-size: 22.5px;
    font-weight: 800;
    margin-top: 10px;
    font-family: "Arial", "Helvetica", sans-serif;
    padding-left: 10px;
    
    
}
.card-underline{
    border-top: 2px aliceblue solid;
    margin-right: 10px;
}

.swiper {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    overflow: hidden;
}

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


/*Media Queries for adjustable screens 
downsize text based on screen resolutions*/
@media (max-width: 768px) {

    .card-content{
        margin-top: 2.5rem;
        margin-left: -9.5rem;
        object-fit: contain;
        height: 330px;
    }

    p{
        
        font-size: 12.5px;
        width: 130px;
        height: 150px;
        margin: auto;
        margin-right: -4.5rem;
    }
    h1 {
        font-size: 36px; 
    }
    
    .logo {
        font-size: 24px; 
    }
    
    nav a {
        font-size: 16px; 
    }
    .project-card{
    width: 400px;
    height: 350px;
    border-radius: 20px;
    box-shadow: 0 0 10px rgb(209, 209, 209);
    background-color:#000b2d;
    padding-bottom: 20px;
    margin-top: -2rem;
    overflow: hidden;
    
}
.card-image{
    width: 550px;
    height: 800px;
    border-radius: 12px;
    overflow: hidden;
    margin: 0 auto;
    object-fit: contain;
    margin-left: -10.5rem;
    margin-bottom: -10.5rem;
    margin-top: -15.5rem;
    
    
}
.card-img{

    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 0;
     
}
}

/* phones/devices below 480px */
@media (max-width: 480px) {
    h1 {
        font-size: 26px; /
    }
    

    /*switch to column view when out of space keeping everything centered*/
    .navbar {
        flex-direction: column; 
        gap: 12px;             
        padding: 1rem 1rem;     
        align-items: center;
        font-size: 14px;    
    }

    nav {
        gap: 1rem; 
    }
    .card-wrapper{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    gap: 24px;
    padding: 40px 20px;
    min-height: 100vh;
    }
    .projects {
    color: aliceblue;
    font-size: 30px;
    display: flex;
    justify-content: center;
    padding-top: 0rem;
    padding-bottom: 0rem;
    
    
    }
    .project-card{
    width: 220px;
    height: 290px;
    border-radius: 20px;
    box-shadow: 0 0 10px rgb(209, 209, 209);
    background-color:#000b2d;
    padding-bottom: 20px;
    margin-top: -2rem;
    overflow: hidden;
    
}

.card-image{
    width: 350px;
    height: 450px;
    border-radius: 12px;
    overflow: hidden;
    margin: 0 auto;
    object-fit: contain;
    margin-left: -6.5rem;
    margin-top: -7.5rem;
    
    
}
.card-content{
        margin-top: 0.5rem;
        margin-left: -23.5rem;
        object-fit: contain;
        height: 200px;
        width: 150px;
        
 }
p{
    width: 75px;
    height: 250px;
    color: aliceblue;
    font-family: "Arial";
    font-size: 8.5px;
    object-fit: contain;
}
.slide-container{
        scroll-margin-top: 200px;
    }

.card-title{
    color: aliceblue;
    font-size: 20.5px;
    font-weight: 800;
    margin-top: 10px;
    font-family: "Arial", "Helvetica", sans-serif;
    padding-left: 10px;
    
    
}

.card-underline{
    border-top: 2px aliceblue solid;
    margin-right: 10px;
}

}
