@import url("https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap");

/* GENERAL */

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

:root {
	--main-color-light: whitesmoke;
	--main-color-dark: rgb(20, 20, 20);

	--accent-color: rgb(190, 36, 57);

	--font-color-light-100: rgba(255, 255, 255, 1);
	--font-color-light-75: rgba(255, 255, 255, 0.75);
	--font-color-light-50: rgba(255, 255, 255, 0.5);
	--font-color-light-25: rgba(255, 255, 255, 0.25);

	--font-color-dark-100: rgba(0, 0, 0, 1);
	--font-color-dark-75: rgba(0, 0, 0, 0.75);
	--font-color-dark-50: rgba(0, 0, 0, 0.5);
	--font-color-dark-25: rgba(0, 0, 0, 0.25);

	--font-size-small: 18px;
	--font-size-medium: 24px;
	--font-size-large: 48px;
}

html {
	font-family: "Lato", sans-serif;
	color: rgb(20, 20, 20);
	background-color: var(--main-color-light);
	scroll-behavior: smooth;
}

body {
	background-image: url(../assets/bg.webp);
	background-size: cover;
	background-position: center center;
}

p {
	font-size: var(--font-size-small);
	line-height: 28px;
}

a.hyperlink {
	color: var(--accent-color);
	text-decoration: none;
}

.div-img-cover {
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
}

.div-img-contain {
	background-size: contain;
	background-position: center center;
	background-repeat: no-repeat;
}

.button {
	width: 100%;
	height: 35px;
	border-radius: 5px;
	padding: 5px 10px;
	border: none;
	cursor: pointer;
	background-color: var(--accent-color);
	color: white;
	text-transform: uppercase;
	letter-spacing: 1px;
	transition: 0.25s ease;
}

.button:hover {
	filter: brightness(1.15);
}

.disabled {
	background-color: gray;
	cursor: default;
}

.hyperlink-button {
	background-color: rgb(204, 204, 204);
	padding: 10px 15px;
	color: rgb(38, 38, 38);
	font-size: 15px;
	text-decoration: none;
	letter-spacing: 1px;
	border-radius: 5px;
	display: flex;
	justify-content: center;
	align-items: center;
}

.hyperlink-button:hover {
	filter: brightness(1.15);
}

.account-nav {
	display: flex;
	align-items: center;
	gap: 15px;
}

.user-label {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 10px;
}

.user-label .icon {
	width: 35px;
	height: 35px;
	border-radius: 100px;
	background-image: url(../assets/profile-picture.webp);
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
}

.user-label .logout {
	width: 35px;
	height: 35px;
	background-color: rgba(255, 0, 0, 0.15);
	color: var(--accent-color);
	border: none;
	outline: none;
	border-radius: 10px;
	margin-left: 10px;
	transition: 0.25s ease;
	font-size: 23px;
	cursor: pointer;
}

.user-label .logout:hover {
	background-color: var(--accent-color);
	color: white;
}

.nav-button {
	width: 35px;
	height: 35px;
	aspect-ratio: 1 / 1;
	border: none;
	border-radius: 10px;
	cursor: pointer;
	transition: 0.25s ease;
}

.nav-button.upload {
	background-color: rgba(54, 191, 255, 0.25);
	color: rgb(10, 115, 163);
}
.nav-button.upload:hover {
	background-color: rgb(10, 115, 163);
	color: white;
}
.nav-button.my-files {
	background-color: rgba(0, 255, 145, 0.25);
	color: rgb(0, 156, 88);
}
.nav-button.my-files:hover {
	background-color: rgb(0, 156, 88);
	color: white;
}

.file-preview {
	width: 100%;
	height: 75px;
	background-color: whitesmoke;
	border: 1px solid var(--font-color-dark-25);
	border-radius: 10px;
	display: flex;
	justify-content: flex-start;
	align-items: center;
	padding: 5px;
	gap: 10px;
}

.file-preview .thumbnail {
	width: 65px;
	height: 65px;
	border-radius: 7px;
	background-color: black;
	background-image: url(../assets/file.png);
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
}

.file-preview .text #filesize {
	color: var(--font-color-dark-50);
}

/* HEADER */

header {
	width: 100%;
	height: 125px;
	z-index: 100;
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
	background-color: white;
	border-bottom: 1px solid rgba(0, 0, 0, 0.15);
	box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.1);
}

header .header-container {
	max-width: 1200px;
	width: 100%;
	height: 100%;
	padding: 10px 25px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

header .header-logo {
	width: 206px;
	height: 53px;
	background-image: url(../assets/header-logo.webp);
}

header .header-redirect {
	font-size: 18px;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--font-color-dark-50);
	letter-spacing: 1px;
	transition: 0.25s ease;
}

header .header-redirect:hover {
	color: var(--font-color-dark-75);
}

/* MAIN */

main {
	width: 100%;
	min-height: calc(100vh - 125px - 100px);
	display: flex;
	justify-content: center;
	align-items: flex-start;
}

main .main-section {
	max-width: 1200px;
	width: 100%;
	min-height: calc(100vh - 125px - 100px);
	padding: 25px 10px;
	display: flex;
	justify-content: center;
	align-items: center;
}

.container {
	background-color: white;
	border: 1px solid rgba(0, 0, 0, 0.15);
	box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.1);
	padding: 25px;
	border-radius: 10px;
	display: flex;
	flex-direction: column;
	gap: 15px;
	max-width: 400px;
	width: 100%;
}

.input {
	width: 100%;
	border-radius: 5px;
	padding: 5px 10px;
	border: 1px solid var(--font-color-dark-25);
	outline: none;
	transition: 0.25s ease;
}

.input:hover {
	border: 1px solid var(--font-color-dark-50);
}

.input:focus {
	border: 1px solid var(--accent-color);
	outline: 3px solid rgba(190, 36, 56, 0.15);
}

.text-input {
	height: 35px;
}

.text-area {
	resize: none;
	font-size: 14px;
	font-family: "Lato", sans-serif;
}

.slider {
	accent-color: var(--accent-color);
}

/* FOOTER */

footer {
	width: 100%;
	min-height: 100px;
	background-color: var(--main-color-dark);
	color: var(--font-color-light-100);
	display: flex;
	justify-content: center;
	align-items: center;
	box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.25);
}

footer .footer-container {
	max-width: 1200px;
	width: 100%;
	height: 100%;
	padding: 10px 25px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
}

footer .footer-logo {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

footer .footer-logo-img {
	width: 225px;
	height: 50px;
	background-image: url(../assets/footer-logo.webp);
}

footer .footer-nav {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 25px;
	flex-wrap: wrap;
}

footer .footer-nav .footer-nav-element {
	font-size: 18px;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--font-color-light-50);
	transition: 0.25s ease;
	letter-spacing: 1px;
}

footer .footer-nav .footer-nav-element:hover {
	color: var(--font-color-light-75);
}

footer .footer-nav:hover :not(:hover) {
	color: var(--font-color-light-25);
}

footer small {
	color: var(--font-color-light-50);
}

@media (max-width: 1023px) {
	header .header-nav {
		display: none;
		visibility: hidden;
	}

	header .mobile-nav-toggle {
		display: flex;
		visibility: visible;
	}

	.mobile-nav-container {
		display: flex;
		visibility: visible;
	}
}

@media (max-width: 767px) {
	header {
		height: 100px;
	}

	header .header-logo {
		width: 235px;
		height: 60px;
	}

	footer {
		gap: 25px;
	}

	footer .row {
		flex-direction: column;
		gap: 25px;
	}

	footer .footer-nav {
		flex-direction: column;
		gap: 10px;
	}
}
