@charset "utf-8";
/* CSS Document */
html, body {
	height: 100%;
    margin: 0px;
    padding: 0px;
}
body{
	background-image: linear-gradient(180deg, #8B0000 0%,  	#301934 25%, #023020 50%, #191970 75%, #8B0000 100% );
	display: grid;
    grid-template-columns: 20% 1fr 25%;
    grid-template-rows: 10% 50px 1fr 8%;
    grid-template-areas:
		"nav    nav    nav"
		"header header header"
		"main   main   main"
        "footer footer footer";
}

.nav-button {
    position: absolute;
	float: left;
    right: 30px;
    top: 30px;
    z-index: 10000;
    cursor: pointer;
    color: white;
    font-size: 4rem;
    transition: 100ms;
}

.nav-button:hover {
     max-height: max-content;
	background: -webkit-linear-gradient( 90deg, red 35%, #22ff00 45%, blue 60%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

#nav-trigger {
    display: none;
}
.logo{
	display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: -50px;
    width: center;
}
nav {
	grid-area: nav;
    width: 100vw;
    height: 100vh;
    padding: 100px 0px;
    background-color: black;
    opacity: 0;
    transform: translateY(-100vw);
    transition: 750ms;
}

nav ul {
    margin: 0px;
    padding: 0px;
    list-style-type: none;
    list-style-image: none;
}

nav ul li {
    display: block;
}

nav ul li a {
    display: block;
    width: 100vw;
    font-family: acier-bat-noir, sans-serif;
	font-weight: 400;
	font-style: normal;
    color: white;
    text-decoration: none;
    text-align: center;
    font-size: 4rem;
    padding: 25px 0px;
    text-transform: uppercase;
    transition: 10ms;
}

nav ul li a:hover {
    background-color: white;
    color: black;
}
.purple:hover{
	background-color:#A100FF;
}
.red:hover{
	background-color: #FF0004;
}
.green:hover{
	background-color: #22FF00;
}
.blue:hover{
	background-color: #0074FF
}
header{
	margin-bottom: 50em;
	grid-area: header;
}
h1{
	font-family: acier-bat-noir, sans-serif;
	font-weight: 400;
	font-style: normal;
    	max-width: max-content;
	background: -webkit-linear-gradient(0deg, red 0%, #a100ff 33%, #22ff00 66%, blue 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	linear-gradient: (red, #a100ff, #22ff00, blue);
    text-decoration: none;
    text-align: center;
    font-size: 7rem;
	margin-left: auto;
	margin-right:auto;
	width: 100%;
	margin-top: -.5em;
	display: block;

	
}
input[type="checkbox"]:checked ~ nav {
    opacity: 1;
    transform: translateY(0vw);
}
main{
	flex-wrap: wrap;
	margin-top: 10%;
	height: 100%;
	grid-area: main;
	
}
.description{
	font-family: fort, sans-serif;
	font-weight: 500;
	font-style: normal;
	color: white;
    text-decoration: none;
    text-align: center;
	font-size: 3rem;
	padding-top: 5%;
	margin-left: auto;
	margin-right:auto;
	width: 75%;
	display: block;
}
.desc{
	font-family: fort, sans-serif;
	font-weight: 300;
	color: white;
	text-align: center;
	font-size: 1.5em;
	outline-color: white;
	margin-top: 2em;
	-webkit-box-shadow: 5px 5px 10px #b800ff;
	background-color: black;
	padding:10px;
	outline-style: solid;
	height: 250%;
	grid-area: header;
	margin-left: auto;
	margin-right: auto;
	width: 70%;
}
	.container{
		margin: 5px;
 		border: 5px solid black;
  		float: left;
 		width: 80%;

	}
	.container img{
		width: 100%;
 	 	height: auto;
	}
.image{
	cursor: pointer;
	height: 20em;
}
.image img{
	cursor: pointer;
}
.link{
	text-decoration: none;
	font-family: fort, sans-serif;
	color: black;
	text-align: center;
	font-size: 1.5em;
	cursor: pointer;
	background-color: white;
}
.link:hover{
	color: red;
}
.tano{
	font-family: fort, sans-serif;
	font-weight: 700;
}
.outside-container {
  	display: grid;
	height: 100%;
	grid-template-rows: repeat(3, 1fr);
	grid-template-columns: repeat(2, 1fr);
	gap: 10px;
  	place-items: center; /* Center items both horizontally and vertically */
  	
}

@media only screen and (max-width: 640px) {
    
    body {
		background-size: 100%;
        grid-template-columns: 100%;
        grid-template-areas:
			"nav"
            "header"
            "main"
            "footer";
    }
	.outside-container{
		margin-top: 10%;
		grid-template-rows: repeat(3, 1fr);
		grid-template-columns: repeat(1, 1fr);
	}
	.description{
		font-size: 2.15em;
		padding-top: 1em;
	}
	
	h1{
		font-size: 4.75em;
		width: 90%;
		margin-top: -.75em;
	}
	.container{
	}
	.nav-button{
		font-size: 3em;
	}
	.link{
		font-size: 1em;
	}
	.desc{
		font-size: .86em;
		height: 160%;
		margin-top: 2em;
	}

}
.footer a{
	text-decoration: none;
	color: white;
	
}
.footer a:hover{
	max-width: max-content;
	background: -webkit-linear-gradient(0deg, red 0%, #a100ff 33%, #22ff00 66%, blue 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	linear-gradient: (red, #a100ff, #22ff00, blue);
}
.project{
	grid-area: footer;
}
.sources{
	grid-area: footer;
}
footer{
	grid-area: footer;
}
.footer{
	grid-area: footer;
	margin-left: auto;
	font-size: 1em;
	margin-right: auto;
	width: 70%;
	margin-top: 20%;
	text-align: center;
	font-family: fort, sans-serif;
	color: white
}

@media (min-width: 640px) and (max-width: 1080px){
	body{
		background-size: 80%;
	}
	main{
		margin-left: auto;
		margin-right: auto;
		width: 75%;
	}
	.outside-container{
		margin-top: 10%;
		grid-template-rows: repeat(3, 1fr);
		grid-template-columns: repeat(1, 1fr);
		
	}
	.desc{
		margin-top: 3em;
		height: 220%;
		padding: 10px;
		font-size: 1em;
	}
	.container{
		
		
	}
	.footer{
		margin-top: 20%;
	}
	.link{
		
		font-size: 1.2em;
	}
	.description{
		font-size: 2.5em;
		padding-top: 5%;
	}
	h1{
		font-size: 6em;
		width: 80%;
		margin-top: -.5em;
	}	
	main{
		display: block;
	}
	.nav-button{
		font-size: 3em;
	}
}
