@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;300;400;500;600&display=swap');
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.8.0/font/bootstrap-icons.css");
@import url('https://fonts.googleapis.com/css2?family=Edu+VIC+WA+NT+Beginner:wght@400;500;600&display=swap');

:root {
    --box-shadow:0 8px 22px rgba(0,0,0,0.2);
    --dark:#21252f;
    --primary:rgba(0, 47, 47);
}

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

body {
    color:aliceblue;
    font-family: 'Poppins', sans-serif;
}

h1,h2,h3,h4,h5,h6,display-4 {
    font-weight: 700;
}

/* header section */
.navbar {
    position:fixed;
    height: 10vh;
    width: 100%;
    background-color: #21252f;
    display: flex;
    padding: 25px;
    z-index: 30;
} 

/* Menu */
.MenuIcon {
    position:absolute;
    top:20px;
    right:100px;
    cursor: pointer;
    z-index: 30;
}

.fiexIcon {
    position: fixed;
}

.MenuIcon i {
    font-size: 50px;
}

.BigMenuBox {
    transition: all 0.5s ease-in;
    position: absolute;
    top:-200%;
    right:120px;
    padding-right: 15px;
    z-index:10;
}

.BigMenuBox.active {
    position: absolute;
    top:10%;
}


.MenuBar {
    position: fixed;
    background-color: rgba(0, 47, 47,0.5);
    backdrop-filter: blur(5px);
    border-radius: 0 0 15px 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    
}

.MenuBar li {
    padding: 10px;
    text-align: center;
}

.MenuBar li a {
    transition: all 0.2s ease-in-out;
    text-decoration: none;
    color:white;
}

.MenuBar li a:hover {
    color:rgb(0, 0, 0);
}

/* Myinfo section */

.infosection {
    width:100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 47, 47, 0.8);
    min-height: 900px;
}

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

.card {
    background-color: #21252f;
    border-radius: 15px;
    background:rgba(255,255,255,0.2);
    border-top:1px solid rgba(255,255,255,0.5);
    border-left:1px solid rgba(255,255,255,0.5);
    box-shadow: 20px 20px 50px rgba(0,0,0,0.5);
    position: relative;
}

.content {
    width: 100%;
    height: 100%;
}

.card h1 {
    font-size:50px;
    left:30px;
    top:20px;
    text-align: center;
}

.cardheader {
    margin: 0 auto;
    margin-top: 20px;
    margin-bottom: 20px;
    width: 80%;
    border:solid 3px;
    transition: all 0.5s ease;
}

.cardheader:hover {
    background:rgba(0, 0, 0, 0.5);
}

.information {
    display: flex;
    flex-direction:column;
    overflow: hidden;
    position: relative;
}

.information h2 {
    font-size:3rem;
    text-decoration: underline;
}

.information h1 {
    position: absolute;
    font-size: 4rem;
    top:0;
    left: 0.5em;
    font-weight: 300;
}

.information h5 {
    font-size: 20px;
    font-weight: 300;
}

.infotext {
    
    background-color: rgba(255,255,255,0.5);
    color:#21252f;
    border-radius: 15px 15px 15px 15px;
    height: 450px !important;
    padding-left: 10px;
}

.myphoto {
    background-image: url("./img/myphoto.jpeg");
    background-size: cover;
    border-radius: 50%;
    height: 300px;
    width: 300px;
    margin: 0 auto;
    z-index: 1;
}

.infotext {
    width: 80%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Skills Section */
section {
    margin-top: 120px;
    margin-bottom: 120px;
}

.skill {
    position:relative;
    
}

.skill h6 {
    font-size: 2.2rem;
}

.skill h1,
.skill h5,
.skill p {
    color:var(--primary);
}

.icon {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size:5.5rem;
    text-align: center;
    height: 150px;
    width: 150px;
    border-radius: 50%;
    background-color: var(--primary);
    flex: none;
}

.skillbox {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 100%;
    width: 100%;
    box-shadow:  var(--box-shadow);
    position: relative;
    overflow: hidden;
    border:1px solid rgba(0, 0, 0, 0.05);
}

.skillbox::after {
    content:"";
    position: absolute;
    top:-100%;
    left:0;
    width:100%;
    height: 100%;
    background-color: var(--primary);
    z-index:-1;
    opacity: 0;
    transition: all 0.5s ease;
}

.skillbox:hover::after {
    top:0;
    opacity: 1;
}

.skillbox:hover .icon{
    background-color: white;
    color:var(--primary);
}

.skillbox:hover h5{
    color:white;
}

/* Feature */
.col-img {
    background-image: url(img/feature.png);
    background-position: center;
    background-size: 100%;
    min-height: 500px;

}

.feature-text h1,p {
    color:var(--primary);
}

.feature-box {
    color: var(--primary);
}

.feature-box i {
    color:white;
}

.feature-box .icon {
    width: 54px;
    height: 54px;
    font-size: 32px;
}

/* Project */
.projectSection {
    background-color: rgba(220, 220, 220,0.7);
    margin-bottom: 0 !important; 
    padding-bottom: 50px !important;
}

.projectSection h1 {
    color:var(--primary);
}

.project {
    position: relative;
    overflow: hidden;
}

.projectitem {
    margin: 0 auto;
}

.project img {
    transition: all 0.35s ease;
    margin: 0 auto;
    width: 100%;
    height: 350px;
    object-fit: cover;
    object-position: 50% 50%;
}

.project .overlay {
    position: absolute;
    top:0;
    left:0;
    opacity: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    background-color: rgba(0, 47, 47,0.1);
    transition: all 0.5s ease;

}

.project .overlay a {
    text-decoration: none;
}

.project:hover img {
    transform: scale(1.05);
}

.project:hover .overlay {
    opacity: 1;
}

.project h6 {
    color: #888;
    font-weight: 800;
    
}

/* footer */
.footer-top {
    background-color: var(--primary);
    padding: 90px;
    padding-bottom:90px
}

.footer-top ul {
    padding-top: 15px;
}

.footer-top li {
    padding-bottom: 10px;
}
.footer-top a {
    color:#888;
    text-decoration: none;
}

.footer-top a:hover {
    color:white;
}

@media only screen and (max-width: 1800px) {
    /* feature */
    .information h1 {
        position: static;
        font-size: 2rem;
    }

    .infotext h5 {
        font-size: 1rem;
    }
    
}

@media only screen and (max-width: 1400px) {
    /* Myinfo section */
    .col-img {
        background-size: cover;
    }
    
}


@media only screen and (max-width: 990px) {

    /* Myinfo section */

    .infosection {
        height: 170vh;

    }

    .information h1 {
        position: static;
        font-size: 2rem;
    }

    .infotext {
        border-radius: 0 0 15px 15px;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        
    }

    .infotext h5 {
        margin-top: 20px;
        margin-bottom: 20px;
        width: 100%;
        text-align: center;
        font-size: 1rem;
    }

    /* Project */

    .project img {
        transition: all 0.35s ease;
        margin: 0 auto;
        width: 100%;
        height: 350px;
        object-fit: cover;
        object-position: 50% 0%;
    }


    /* footer */

    .AboutMe {
        padding: 15px;
    }

}

@media only screen and (max-width: 400px) {
    /* info */
    .infosection {
        height: 170vh;

    }

    /* Feature */
    .col-img {
        background-size: 100%;
        background-repeat: no-repeat;
    }

    /* footer */

    footer {
        font-size: 12px ; 
        
    }


}


