/* ------------------------------------ Main --------------------------------------- */


html {
    scroll-behavior: smooth;
}

html body {
    margin: 0;
    padding: 0;
    font-family: 'Open Sans', sans-serif;
    font-style: normal;
    font-weight: 300;
    color: #f5f5f5;
    background-color: #011823;
}

.container {
    padding: 0px;
}

.header {
    position: relative;
    text-align: center;
}

.header-text {
    font-size: 50px;
    font-weight: 800;
    letter-spacing: 0px;
    margin: 0;
}

.no-style {
    text-decoration: none;
    color: #f5f5f5;
}


/* ------------------------------------ Home Nav --------------------------------------- */


.home-nav {
    position: fixed;
    left: 75px;
    top: 25px;
    transform: translate(-50%, 50%);    
    z-index: 1;
    display: block;
}

.icon {
    width: 40px;
    height: auto;
}



/* ------------------------------------ Landing --------------------------------------- */


.landing { 
    background-color: #011823;
    color: #f5f5f5;
    height: 100%;
    /* background: linear-gradient(-135deg, #49BCF6, #1E2A78, #49BCF6, #1E2A78, #49BCF6); */
    background: linear-gradient(-135deg, #053559, #011823, #053559, #011823, #053559);
	background-size: 400% 300%;
	animation: gradient 15s ease infinite;
    overflow: hidden;    
    width: 100%;
    height: 100%;
}

@keyframes gradient {
	0% {
		background-position: 100% 50%;
	}
	50% {
		background-position: 0% 50%;
	}
	100% {
		background-position: 100% 50%;
	}
}

.landing .container {
    position: relative;
    text-align: center;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

#name {
    font-size: 80px;
    font-weight: 800;
    margin-top: -5px;
}

#title {
    font-size: 32px;
    font-weight: 400;
    margin: 0;
}

.social {
    clear: none;
    grid-column-gap: 8px;
    grid-row-gap: 8px;
    flex-direction: row;
    flex: 0 auto;
    justify-content: center;
    align-items: center;
    margin-left: 0;
    margin-right: 0;
    display: flex;
}

.social img {
    width: 40px;
    margin-top: 24px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.social img:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.hide {
    display: none;
}


/* ------------------------------------ Copyright --------------------------------------- */


#copyright {
    font-size: 10px;
    text-align: center;
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    margin-bottom: 40px;
}


/* ------------------------------------ Media Queries --------------------------------------- */


@media (max-width: 568px) {
    
    .home-nav {
        display: none;
    }    
    
    .header-text {
        font-size: 30px;
        margin-bottom: 16px;
    }
    
    #name {
        font-size: 40px;
    }

    #title {
        font-size: 16px;
    }
    
    .wrapper{
        width: 300px;
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }  
}

@media (min-width: 569px) and (max-width: 768px) {
    
    #name {
        font-size: 60px;
    }

    #title {
        font-size: 20px;
    }    
    
    .work { 
        height: 1350px;   
    }    
    
    .wrapper {
        width: 500px;
        grid-template-columns: 1fr 1fr 1fr;
        grid-template-rows: 1fr 1fr 1fr 1fr;
    }    
}



@media (min-width: 769px) and (max-width: 1366px) {
    
    
    .home-nav {
        display: none;
    }    

    #name {
        font-size: 70px;
    }

    #title {
        font-size: 24px;
    }    
  
    .wrapper {
        width: 700px;
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
        grid-template-rows: 1fr 1fr 1fr;
    }
 
}
    


@media (min-width: 1367px) and (max-width: 1921px) {

    .wrapper {
        width: 900px;
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
        grid-template-rows: 1fr 1fr 1fr;
    }
}
