@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&display=swap');

@font-face {
    font-family: "chalkfont";
    src: url("./fonts/Sandbox\ Melodrama.ttf");
}

@font-face {
    font-family: "chalkfont2";
    src: url("./fonts/kimberly-geswein_kg-broken-vessels-sketch/KGBrokenVesselsSketch.ttf");
} 

*{
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box

}

html {
    scroll-behavior: smooth;
}

.overlay {
    display: none;
    width: 100%;
    height: 100%;
    position: fixed;
    background-color: rgba(255, 255, 255, 0.5);
    justify-content: center;
    align-items: center;
}

header {
    background-color: darkred;
    width: 100%;
    position: fixed;
    z-index: 999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 80px
}

.ham {
    cursor: pointer;
    display: none;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: antiquewhite;
}

.logo{
    text-decoration: none;
    color: antiquewhite;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 1.8em;
}

.navigation a{
    text-decoration: none;
    color: antiquewhite;
    font-weight: 500;
    font-size: 1.1em;
    padding-left: 30px;
}

.navigation a:hover{
    color: aqua;
}

section {
    padding: 100px 100px;
}

.main{
    width: 100;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: url(images/profilePic.jpg) no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.main h2{
    color: lightyellow;
    font-size: 1.3em;
    font-weight: 500;
}

.main h2 span{
    display: inline-block;
    margin-top: 20px;
    color: #fff;
    font-size: 3.8em;
    font-weight: 300;
    font-family: "chalkfont2", sans-serif;
    text-transform: uppercase;
}

.main h3{
    color: dodgerblue;
    font-size: 3em;
    font-weight: 700;
    letter-spacing: 1px;
    margin-top: 80px;
    margin-bottom: 50px;
    font-family: "chalkfont", sans-serif;
}

.main-btn{
    color: #fff;
    background-color: darkred;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: 600;
    display: inline-block;
    padding: 1em 2.2em;
    border-radius: 15px;
    margin-bottom: 10px;
    transition: 1s ease;
    margin-top: 10px;

}

.main-btn:hover {
    background-color: rgb(184, 7, 7);
    transform: scale(1.1);
}

.social a { 
    color: #fff;
    font-size: 1.7em;
    padding-right: 58px;
    
}

.yt:hover{
    color: #FF0000;
}

.gm:hover{
    color: #FBBC05;
}

.wa:hover{
    color: #25D366;
}

.title {
    display: flex;
    justify-content: center;
    color: darkred;
    font-size: 2.2em;
    font-weight: 800;
    margin-bottom: 30px;
    padding-top: 30px;
}

.content {
    display: flex;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
}

.card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #fff;
    width: 20em;
    box-shadow: 0 5px 25px rgba(1 1 1 / 30%);
    border-radius: 15px;
    padding: 25px;
    margin: 10px;
    transition: 1s ease;
}

.view-btn {
    background-color: darkred;
    color: #fff;
    border-radius:10px;
    padding: 15px;
    margin-top: 10px;
    align-self: center;
    cursor: pointer;
    transition: 1s ease;
    border: none;
    font-weight: 500;
    font-size: 15px;
    letter-spacing: 0.6px;
}

.view-btn:hover {
    background-color: white;
    color: darkred;
    scale: 1.3;
}

.msa-card{
    text-decoration: none;
    color: black;
}
.courses-image img {
    width: 100%;
    border-radius: 15px;
}
.info { 
    text-align: center;
}
.info h3{
    color: darkred;
    font-size: 1.2em;
    font-weight: 700;
    margin: 10px;
    
}

.projects{
    background-color: darkgrey;
}

.projects .content{
    margin-top: 30px;
}

.project-card{
    background-color: #fff;
    border: 1px solid white; 
    min-height: 14em;
    width: 23em;
    overflow: hidden;
    border-radius: 10px;
    margin: 20px;
    transition: 0.7s ease;
}

.project-card{
    background-color: aliceblue;
    width: 21.25em;
    box-shadow: 0 5px
}

.project-card:hover {
    transform: scale(1.1);
}

.project-image img{
    width: 100%;
    height: 200px;
}

.project-card:hover .project-image{
    opacity: 0.9;
}

.project-info{
    padding: 1em;
}

.project-category{
    font-size: 0.8em;
    color: black;
}

.project-title{
    display: flex;
    justify-content: space-between;
    text-transform: uppercase;
}

.more-details{
    text-decoration: none;
    color: darkred;   
}

.more-details:hover{
    color: blue;
}

.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #fff;
    width: 20em;
    box-shadow: 0 5px 25px rgba(1 1 1 / 30%);
    border-radius: 15px;
    padding: 25px;
    margin: 10px;
    transition: 1s ease;
}

.contact-cards .icon{
    font-size: 2.5em;
    text-align: center;
}

.contact-cards .info h3{
    color: black;
}

.contact-cards .info p{
    font-size: 1em;
}

.contact-cards .card {
    background-color: #fff;
    width: 25em;
    box-shadow: 0 5px 25px rgba(1 1 1 / 30%);
    border-radius: 15px;
    padding: 25px;
    margin: 10px;
    transition: 1s ease;
}

.footer{
    background-color: black;
    color: #fff;
    padding: 0.1em;
    display: flex;
    justify-content: space-between;
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    z-index: 9999;
}

.footer-title{
    font-size: 1.3em;
    font-weight: 600;
}

.footer-title span{
    color: #f12727e6;
}

@media (max-width: 768px){

    section {
        padding: 35px;
    }

    .navigation {
        display: flex;
        position: fixed;
        top: 100%;
        right: 0.2px;
        gap: 0;
        flex-direction: column;
        background-color: #5b2222;
        width: 100%;
        text-align: center;
        transition: 0.7s;
        bottom: 500px;
        border: 4px solid rgb(202, 163, 91);
        border-radius: 8px;
        height: 100%;
    }

    .navigation a {
        margin: 16px 0;
    }

    .navigation.active {
        top: 0;
    }

    header {
        padding: 5px;
    }

    .ham {
        display: block;
    }

    .ham.active .bar:nth-child(2){
        opacity: 0;
    }

    .ham.active .bar:nth-child(1){
        transform: translateY(8px) rotate(45deg);
        background-color: #FBBC05;
    }

    .ham.active .bar:nth-child(3){
        transform: translateY(-8px) rotate(-45deg);
        background-color: #FBBC05;
    }

    .logo {
        font-size: 1.4em
    }

    .main {
        width: 100%;
    }

    .main h2 span {
        font-size: 2em;
        margin:  0;
    }

    h2 {
        text-align: center;
    }

    .content {
        margin-bottom: 80px;
    }

    .contact-cards .card {
        font-size: 0.7em;
    }

    .footer {
        flex-direction: column;
    }

    .footer span {
        font-size: 0.9em;
    }

    .footer .social {
        display: flex;
        justify-content: center;
    }
    
    .social a {
        padding: 0 30px;
    }

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

    .main h3 {
        text-align: center;
        margin: 20px 0;
    }
}
