*{
    margin: 0;
    padding: 0;
}

body{
    display: grid;
    grid-template-rows: auto auto auto;
    justify-content: center;
    background-color: var(--background);
}

/*=======  GENERAL START========*/
    :root{
        --textColor: #D4EDFC;
        --btnStroke: #58A4C4;
        --background: #122229;
        --backgroundBtnHover: #00151F;
        --backgroundBtn: #00ffb30a;
        --btnShadow1: #196769;
        --btnShadow2: #0044ff;
        --btn: 0 0 5px 1px var(--btnShadow1),
        0 0 3px 1px var(--btnShadow2);
        --lines: #3f3f3f;
    }
/*=======  GENERAL END========*/

/*=======  HEADER START========*/

    .head{
        border: 1px solid;
        width: 100%;
        height: 55px;
    }
    .header{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        min-width: max-content;
    }
    .menu{
        display: flex;
        justify-content: center;
        align-items: space-between;
        border: 3px solid rgb(0, 255, 234);
        border-radius: 40px;
        height: 40px;
        padding: 10px;
        
    }

    .menu:hover{
        scale: 1.02 1.02;
        transition-duration: 1000ms;
        border: 3px solid rgba(0, 255, 234, 0.397);
    }

    .menu ul {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .menu-btn{
        padding: 7px 26px;
        border-radius: 30px;

        text-align: center;
        text-decoration: none;
        font-size: 20pt;
        font-weight: bold;
    }

    .menu-btn:hover {
        border: 2px solid rgb(0, 255, 234);
        background-color: rgb(0, 0, 0);
    }

    ul li {
        list-style: none;
    }

    #header-text{
        color: rgb(202, 255, 252);
        margin-top: 10px;
        margin-bottom: 7px;
    }

    @media(max-width:768px) {
        .menu{
            height: 30px;
        }
        
        .menu-btn{
            padding: 7px 14px;
            border-radius: 30px;
            text-align: center;
            text-decoration: none;
            color: rgb(202, 255, 252);
            font-size: 14pt;
            font-weight: bold;
        }
        #header-text{
            font-size: 16pt;
        }
    }

    .slogan{
        margin-left: 450px;
        width: 125px;
    }
    #slogan {
        font-size: 10pt;
        text-align: center;
        color: rgb(0, 255, 10);
    }

    form{
        display: flex;
        margin-top: 30px;
        margin-bottom: 10px;
    }

    .search-bar .search-box{
        width: 300px;
        height: 40px;
        border: 2px solid #3f3f3f;
        border-radius: 30px 0 0 30px;
        padding-left: 10px;
        background-color: rgba(0, 0, 0, 0);
    }

    .search-bar .search-box:hover{
        cursor: auto;
        box-shadow: inset 0 0 3px 2px var(--backgroundBtnHover);
        border-color: var(--btnStroke);
    }

    .search-bar .search-button:hover{
        cursor: pointer;
        box-shadow: inset 0 0 3px 2px var(--backgroundBtnHover);
    }

    .search-bar .search-button{
        display: flex;
        justify-content: center;
        align-items: center;
        width: 80px;
        height: 44px;
        margin-left: 2px;
        border-radius: 1px 30px 30px 1px;
        border: 2px solid var(--lines);
        background-color: rgba(0, 0, 0, 0);
    }
/*=======  HEADER END ========*/

/*======= MAIN START ========*/

.main{
    border: 1px solid;
    padding: 5px;
    display: flex;
    
}

.project{
    display: grid;
    align-items: center;
    justify-content: center;
    border-left: 2px solid #0044ff;
    max-width: 1200px;
    
}

.preview-project{
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border: 1px solid;
    box-shadow: inset 0 0 5px 1px var(--backgroundBtnHover);
    padding: 8px;
    border-radius: 10px;
    margin: 15px 12px;
    min-width: none;
    max-width: 700px;
}

@media(max-width:768px) {
    .preview-project{
        grid-template-columns: 1fr;
    }

}

.preview-project:hover{
    scale: 1.02 1.02;
    box-shadow: inset 0 0 10px 3px var(--backgroundBtnHover);
    transition: 500ms;
}

.info{
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    max-width: 350px;
    min-width: 300px;
    height: fit-content;
}

.slider{
    min-width: 300px;
    max-width: 350px;
    height: 200px;
    display: flex;
    justify-self: center;
}

.slider img {
    min-width: 300px;
    max-width: 350px;
    height: 200px;
    border-radius: 12px 12px 0 0;
}

.info .project-title{
    font-size: 20pt;
    text-align: center;
}

.seemore-btn{
    padding: 5px 26px;
    margin-top: 10px;
    margin-bottom: 5px;
    border-radius: 30px;

    text-align: center;
    text-decoration: none;
    color: rgb(202, 255, 252);
    border: 2px solid rgba(0, 255, 234, 0.178);
    background-color: #00ffb30a;
    font-size: 14pt;
    font-weight: bold;
}

.seemore-btn:hover {
    border: 2px solid var(--btnStroke);
    background-color: var(--backgroundBtnHover);
    transition-duration: 900ms;
    box-shadow: 0 0 5px 1px var(--btnShadow1),
    0 0 3px 1px var(--btnShadow2);
}

.text{
    color: var(--textColor);
}

.description .text{
    padding: 5px 10px;
    text-align: justify;
}

/*======= MAIN END ========*/