html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}

body {
	line-height: 1;
	background-image: url(images/bg.jpg);
    font-family: "main";
    overflow-x: hidden;
    background-color: rgb(95, 208, 231);
}

ol, ul {
	list-style: none;
}

blockquote, q {
	quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

video, iframe {
    display: block;
    margin: auto;
    width: 90%;
    max-width: 800px;
    min-width: 500px;
    box-shadow:
    0 0 5px rgb(0, 52, 52),
    0 0 5px rgb(0, 52, 52),
    0 0 25px rgb(0, 52, 52),
    0 0 25px rgb(0, 52, 52);
}

p {
    color: rgb(141, 255, 230);
	text-shadow:
	0 0 5px rgb(0, 56, 46),
	0 0 5px rgb(0, 56, 46),
    0 0 5px rgb(0, 56, 46),
    0 0 5px rgb(0, 56, 46),
    0 0 5px rgb(0, 56, 46),
	0 4px 2px rgb(0, 27, 22);
}

footer {
    display: flex;
    width: 100%;
	z-index: 100;
    text-align: left;
    background-color: rgba(9, 14, 15, 0.7);
	overflow: hidden;
	text-wrap: nowrap;
    box-shadow:
    0 0 5px #000000ad,
    0 0 10px rgba(0, 0, 0, 0.7);
    gap: 30px;
}

footer > h6 {
    color: rgb(141, 255, 230);
	font-family: "header";
	font-size: 18px;
	text-shadow:
	0 0 5px rgb(0, 56, 46),
	0 0 5px rgb(0, 56, 46),
	0 5px 2px rgb(0, 27, 22);
}

form {
	font-family: "small";
	font-size: 32px;
	background-color: rgba(0, 15, 11, 0.844);
	border-radius: 10px;
	margin: auto;
	margin-top: 40px;
    margin-bottom: 40px;
	padding: 20px;
    width: fit-content;
}

form > p {
	margin: 15px;
}

input, textarea {
    border: 0px;
    padding: 10px;
    background-color: rgba(124, 216, 196, 0.2);
    color: rgb(201, 255, 230);
    border-radius: 5px;
    font-size: 24px;
    font-family: "main";
}

input {
    transition: all 0.1s;
}

textarea {
    max-width: 350px;
    min-width: 250px;
    max-height: 200px;
    min-height: 50px;
}

input:focus, textarea:focus {
    outline: 1px solid rgb(94, 255, 193);
}

input:hover {
	transform: scale(1.02);
}

::placeholder {
    font-size: 30px;
    color: rgba(201, 255, 246, 0.5);
}

/* CLASSES */

.topnav {
    position: fixed;
    top: 0;
    z-index: 100;
    display: flex;
    justify-content: flex-start;
    gap: 8px;
    align-items: center;
    background-color: rgba(9, 14, 15, 0.7);
    width: 100%;
    text-wrap: nowrap;
    box-shadow:
    0 0 5px #000000ad,
    0 0 10px rgba(0, 0, 0, 0.7);
    overflow: hidden;
}

.bind {
	display: flex;
	align-items: center;
	gap: 10px;
}

.logo {
    height: 60px;
	margin-left: 5px;
	transition: all 0.15s;
}

.logo:hover {
	transform: scale(1.05);
}

.title {
	color: rgb(0, 255, 217);
	font-family: "header";
	font-size: 36px;
	text-shadow:
	0 0 5px rgb(0, 56, 46),
	0 0 5px rgb(0, 56, 46),
	0 5px 2px rgb(0, 27, 22);
}

.large-title, .large-header {
    text-align: center;
    margin: auto;
    font-family: "header";
    font-size: 70px;
    color: rgb(0, 255, 217);
    text-shadow:
	0 0 5px rgb(0, 56, 46),
	0 0 5px rgb(0, 56, 46),
	0 7px 5px rgb(0, 27, 22);
}

.large-title {
    width: 800px;
    margin-bottom: 50px;
}

.large-header {
    width: 700px;
    margin-bottom: 40px;
}

.scrolling-bg-container {
    overflow: hidden;
    margin: 0%;
    padding: 0%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -999;
}
  
.scrolling-bg {
    background: url("images/bg2.jpg") repeat;
    filter: saturate(1);
    width: 1000vw;
    height: 1000vh;
    background-size: 200px;
    animation: bg 15s linear infinite;
	opacity: 0.3;
    overflow: hidden;
}

.img-and-text {
    display: flex;
    margin: auto;
}

.grid-index {
	display: grid;
	margin: auto;
    overflow: hidden;
	margin-top: 50px;
    grid-template-areas:
    'b b b c c c'
    'd d e e f f';
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    padding: 15px;
}

.grid-index > img {
    width: 100%;
    object-fit: cover;
    overflow: hidden;
    box-shadow:
    0 0 5px rgb(0, 52, 52),
    0 0 10px rgb(0, 52, 52),
    0 0 10px rgb(0, 52, 52);
}

.grid-portfolio {
	display: grid;
	margin: auto;
    overflow: hidden;
	margin-top: 50px;
    grid-template-areas:
    'c d'
    'e f';
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    padding: 15px;
}

.grid-portfolio > img {
    width: 100%;
    object-fit: cover;
    overflow: hidden;
    box-shadow:
    0 0 5px rgb(0, 52, 52),
    0 0 10px rgb(0, 52, 52),
    0 0 10px rgb(0, 52, 52);
}

.social {
    height: 40px;
    border-radius: 8px;
	transition: all 0.1s;
}

.social:hover {
    transform: scale(1.05);
}

.box-shadow {
    box-shadow:
    0 0 5px rgb(0, 52, 52),
    0 0 10px rgb(0, 52, 52),
    0 0 10px rgb(0, 52, 52);
}

.solo-img {
    display: block;
    margin: auto;
    margin-bottom: 50px;
    width: 90%;
    max-width: 650px;
    min-width: 500px;
    box-shadow:
    0 0 5px rgb(0, 52, 52),
    0 0 10px rgb(0, 52, 52),
    0 0 10px rgb(0, 52, 52);
}

.solo-text {
    margin: auto;
    margin-bottom: 40px;
    font-size: 30px;
    width: 750px;
}

/* IDS */

#pages {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    font-family: "header";
    font-size: 28px;
	text-align: center;
}

#pages a {
    text-decoration: none;
	color: rgb(141, 255, 230);
	font-family: "header";
	text-shadow:
	0 0 5px rgb(0, 56, 46),
	0 0 5px rgb(0, 56, 46),
	0 5px 2px rgb(0, 27, 22);
}

#pages a:hover {
	transform: scale(1.05);
    text-shadow:
	0 0 5px rgb(0, 56, 46),
	0 0 5px rgb(0, 56, 46),
	0 5px 2px rgb(0, 27, 22),
    0 0 20px rgba(141, 255, 230, 0.5);
}

#red {
    transition: all 2s;
}

#red:hover {
    transform: scale(1.02);
    filter: saturate(2);
}

/* MEDIA QUERY */
@media screen and (min-width: 640px) { /*PC*/
    .img-and-text {
        flex-direction: row;
        width: 750px;
        height: 350px;
        gap: 10px;
        font-size: 30px;
    }

    .grid-index {
        width: 90%;
        max-width: 1000px;
        min-width: 500px;
        margin-bottom: 80px;
        gap: 15px;
    }

    .grid-portfolio {
        width: 90%;
        max-width: 800px;
        min-width: 500px;
        margin-bottom: 80px;
        gap: 15px;
    }

    .large-title {
        margin-top: 100px;
    }

    .large-header {
        font-size: 48px;
    }

    .topnav {
        height: 70px;
        flex-direction: row;
    }

    #pages {
        margin-left: 25px;
    }

    #pages a {
        font-size: 24px;
    }

    footer {
        flex-direction: row;
        height: 70px;
        padding: 0 15px 0 15px;
        align-items: center;
    }

    .social {
        display: inline;
        margin-left: 10px;
    }

    .solo-text {
        font-size: 30px;
    }
}

@media screen and (max-width: 640px) { /*MOBILE*/
    .img-and-text {
        flex-direction: column;
        width: 450px;
        gap: 20px;
        height: fit-content;
        font-size: 36px;
    }

    .img-and-text > img {
        margin: auto;
    }

    .grid-index {
        width: 80%;
        max-width: 500px;
        min-width: 300px;
        grid-template-areas:
        'b'
        'c'
        'd'
        'e'
        'f';
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 100px;
    }

    .grid-portfolio {
        width: 80%;
        max-width: 400px;
        min-width: 300px;
        grid-template-areas:
        'c'
        'd'
        'e'
        'f';
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 100px;
    }

    .large-title {
        margin-top: 210px;
        font-size: 52px;
        width: 500px;
    }

    .large-header {
        font-size: 32px;
        width: 450px;
    }

    .topnav {
        padding-top: 5px;
        height: 180px;
        flex-direction: column;
    }

    #pages {
		display: grid;
		grid-template-areas:
		'area area'
		'area area';
		margin-top: 15px;
		width: 100%;
	}

    #pages a {
        font-size: 26px;
    }

    footer {
        flex-direction: column;
        height: 180px;
        padding: 15px 0 30px 10px;
    }

    footer > h6 {
        margin: auto;
        width: 80%;
    }

    .social {
        display: block;
        margin: auto;
    }

    .solo-text {
        width: 500px;
        font-size: 36px;
    }
}

/* ANIMATIONS */

@keyframes bg {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(-200px, -200px);
    }
}

/* FONTS */

@font-face {
	font-family: "header";
	src: url(fonts/header.ttf);
}

@font-face {
	font-family: "main";
	src: url(fonts/main.ttf);
}