*{
    margin: 0;
    padding: 0;
}

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

/*=======  GENERAL START========*/
:root{
    --background: #0D2229;
    --backgroundProject: hsla(199, 52%, 30%, 0.075);
    --backgroundBtn: #00ffb30a;
    --backgroundBtnHover: #293A42;
    --btnStroke: #3E98C2;
    --btnStrokeHover: #3e98c256;
    --layoutLines: #293A42;
    --projectShadow: inset 0 0 5px 1px rgba(0, 0, 0, 0.500);
    --projectShadowHover: inset 0 0 9px 1px rgba(0, 0, 0, 0.600);
    --btn: 0 0 5px 1px var(--btnShadow1),
    0 0 3px 1px var(--btnShadow2);
    --lines: #3f3f3f;
    --textColor: #D4EDFC;
}

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

    .main{
        max-width: 1200px;
    }
/*=======  GENERAL END========*/

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

    .header{
        display: flex;
        flex-direction: column;
        align-items: center;
        max-width: 1200px;
    }
    .head{
        display: flex;
        justify-content: space-between;
        width: 100%;

    }
    .head-btn{
        margin: 5px;
    }
    .menu{
        display: flex;
        justify-content: center;
        align-items: space-between;
        border: 3px solid var(--btnStroke);
        border-radius: 40px;
        height: 40px;
        padding: 10px;
        
    }

    .menu:hover{
        scale: 1.02 1.02;
        transition-duration: 1000ms;
        border: 3px solid var(--btnStrokeHover);
    }

    .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 var(--btnStroke);
        background-color: var(--backgroundBtnHover);
    }

    ul li {
        list-style: none;
    }

    #header-text{
        margin-top: 10px;
        margin-bottom: 7px;
    }

    .search-bar form{
        display: flex;
        margin-top: 20px;
        margin-bottom: 10px;
    }

    .search-bar input{
        max-width: 300px;
        min-width: 170px;
        height: 30px;
        border: 2px solid var(--layoutLines);
        outline: none;
        border-radius: 30px 0 0 30px;
        padding-left: 10px;
        background-color: rgba(0, 0, 0, 0);
    }

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

    ::placeholder{
        color: var(--textColor);
    }
    
    .search-bar button{
        display: flex;
        justify-content: center;
        align-items: center;
        max-width: 80px;
        min-width: 70px;
        height: 34px;
        margin-left: 2px;
        border-radius: 1px 30px 30px 1px;
        border: 2px solid var(--layoutLines);
        background-color: rgba(0, 0, 0, 0);
        color: var(--textColor);
    }

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

/*=======  HEADER END ========*/

/*======= MAIN START ========*/
    .main{
        border-top: solid var(--layoutLines);
        border-left: solid var(--layoutLines);
        padding: 5px;
        margin: 5px;
        max-width: 1200px;
    }
/*======= MAIN END ========*/

/*======= FOOTER START ========*/

    .footer{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding-top: 40px;
        padding-bottom: 10px;
    }

    .footer-info {
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        align-items: space-around;
        width: 100%;
        flex-wrap: wrap;
        margin-bottom: 20px;
    }

    .contact-me{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin: 10px;
    }

    .contact-me .logo{
        width: 150px;
        height: 75px;
        margin-bottom: 20px;
    }
    .contact-btn{
        padding: 5px 26px;
        border-radius: 30px;
    
        text-align: center;
        text-decoration: none;
        border: 2px solid var(--btnStrokeHover);
        background-color: var(--backgroundBtn);
        font-size: 14pt;
        font-weight: bold;
    }
    .pages-link ul{
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        padding-right: 5px;
        border-right: solid var(--btnStrokeHover);
        margin: 5px;
        height: 95%;
    }
    .pages-link ul:hover{
        border-color: var(--btnStroke);
    }
    .pages-link li a{
        text-decoration: none;
        text-align: end;
        
    }

    .footer-link {
        border-radius: 5px;
        text-decoration: none;
        padding: 9px;
        padding-right: 5px;
        font-size: 14pt;
    }
    .footer-link:hover{
        background-color: var(--backgroundBtnHover);
    }

    .media-link{
        padding-left: 5px;
        border-left: solid var(--btnStrokeHover);
    }

    .media.link:hover{
        border-color: var(--btnStroke);
    }

    .media-link ul {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 100%;
    }
    .media-link img{
        width: 30px;
    }

    #github{
        background-color: #FFF;
        border-radius: 5px;
    }
    .media-link li a{
        text-decoration: none;
    }
    .social-media{
        display: flex;
        flex-direction: row;
        align-items: center;
        padding: 5px;
    }
    .social-media p{
        margin: 5px;
        font-size: 14pt;
    }

    .social-media:hover{
        background-color: var(--backgroundBtnHover);
        border-radius: 5px;
    }
    .copyright{
        display: flex;
        justify-content: center;
    }
    .copyright h1{
        font-size: 14pt;
    }
/*======= FOOTER END ========*/


/*======= RESPONSIVITY START ========*/

@media(max-width:768px) {
    .menu{
        height: 28px;
    }
    
    .menu-btn{
        padding: 5px 10px;
        border-radius: 30px;
        text-align: center;
        text-decoration: none;
        font-size: 16pt;
        font-weight: bold;
    }
    #header-text{
        font-size: 18pt;
    }

    .contact-me .logo{
        width: 120px;
        height: 60px;
        margin-bottom: 20px;
    }
    
}

@media(max-width:600px) {
    .menu{
        height: 17px;
    }
    
    .menu-btn{
        padding: 5px 10px;
        border-radius: 30px;
        text-align: center;
        text-decoration: none;
        font-size: 12pt;
        font-weight: bold;
    }
    #header-text{
        font-size: 14pt;
    }
    
    .contact-me .logo{
        width: 100px;
        height: 50px;
        margin-bottom: 20px;
    }
}

@media(max-width:450px) {
    .header{
        justify-content: center;
    }
    .main{
        max-width: 440px;
    }
    .menu{
        height: 10px;
    }
    
    .menu-btn{
        padding: 2px 8px;
        border-radius: 30px;
        text-align: center;
        text-decoration: none;
        font-size: 10pt;
        font-weight: bold;
    }
    #header-text{
        font-size: 12pt;
    }

    .footer-link{
        font-size: 8pt;
        padding: 5px;
        margin-left: 5px;
    }

    .footer-info{
        justify-content: center;
    }

    .social-media p{
        font-size: 8pt;
    }

    .contact-me{
        margin: 5px;
    }

    .contact-me .logo{
        width: 60px;
        height: 30px;
        margin-bottom: 20px;
    }
    .contact-btn{
        padding: 5px 10px;
        font-size: 8pt;
    }

    .media-link img{
        width: 20px;
    }

    .copyright h1{
        font-size: 6pt;
    }

}

/*======= RESPONSIVITY END ========*/