@import url('https://fonts.googleapis.com/css2?family=Alata&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@300&display=swap');

body {
	margin: 0 auto 0 auto;
	padding: 0 0 0 0;
}

::-webkit-scrollbar-track {
	box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
	border-radius: 10px;
	background-color: #F5F5F5;
}

::-webkit-scrollbar {
	width: 12px;
	background-color: #F5F5F5;
}

::-webkit-scrollbar-thumb {
	border-radius: 10px;
	box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
	background-color: rgba(0, 0, 0, 0.767);
}

#myLinks {
	display: none;
}


header {
	background-size: cover;
	background-image: url(loopstudios-landing-page-main/loopstudios-landing-page-main/images/desktop/image-hero.jpg);
	background-repeat: no-repeat;
	height: 630px;
	box-sizing: border-box;
	justify-content: space-between;
}

.icon {
	display: none;
}

h1,
nav,
.slogan {
	font-family: 'Alata', sans-serif;
	color: white;
	font-size: 23px;
}

nav {
	font-family: 'Alata', sans-serif;
	color: white;
	font-size: 20px;

}

.topnav h1 {
	margin-top: 0;
	display: none;
}

h2 {
	font-family: 'Josefin Sans', sans-serif;
	font-size: 2.7em;
	font-weight: 500;
	text-transform: uppercase;
	transform: translateY(5px);
	margin-right: 20px;
}

h3 {
	font-family: 'Josefin Sans', sans-serif;
	font-size: 2.3em;
	font-weight: 500;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.767);
	position: absolute;
}

h4 {
	font-family: 'Alata', sans-serif;
	color: rgba(255, 255, 255, 0.582);
	font-size: 10px;
	letter-spacing: 0.1em;
	font-weight: normal;
}

.burger_button {
	display: none;
}

.description p {
	font-family: 'Alata', sans-serif;
	font-size: 0.9em;
	color: rgb(141, 141, 141);
	line-height: 1.8em;
}

.slogan p {
	display: inline-block;
	padding: 15px;
	font-family: 'Josefin Sans', sans-serif;
	font-size: 70px;
	position: relative;
	margin-top: 250px;
	margin-left: 163px;
	border: solid 2px white;
}

.nav_bar {
	margin-left: 163px;
	padding-top: 40px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

nav {
	margin-top: 0px;
	right: 0%;
	display: flex;
}

nav a {
	margin-right: 35px;
	color: white;
	text-decoration: none;
	box-sizing: border-box;
	border-bottom: solid 2px transparent;
}

nav a:hover {
	border-bottom: solid 2px white;
}

.description_block img {
	object-fit: cover;
	object-position: center;
}

.description_block {
	margin-top: 150px;
	position: relative;
	margin-left: 163px;
	margin-right: 163px;
}

.description {
	background-color: white;
	padding-bottom: 0;
	padding-top: 60px;
	padding-left: 100px;
	position: absolute;
	bottom: -16px;
	right: 0;
}

.mobile_gallery {
	display: none;
}

.gallery_header {
	display: flex;
	justify-content: space-between;
	position: relative;
	align-items: center;
	margin-left: 163px;
	margin-right: 163px;
	margin-top: 150px;
}

.gallery_button {
	width: 168px;
	max-height: 34px;
	top: 25px;
	left: -325px;
	border: solid black 1px;
	padding: 5px 30px;
	box-sizing: border-box;
	background-color: white;
	font-family: 'Alata', sans-serif;
	color: black;
	text-decoration: none;
	text-align: center;
	font-size: 1em;
	font-weight: 100;
	letter-spacing: 0.2em;
	border-radius: 2px;
}

.gallery_button:hover {
	background-color: black;
	color: white;
}

.gallery {
	position: relative;
	margin-left: 163px;
	margin-right: 163px;
	display: grid;
	grid-gap: 27px;
	grid: auto / repeat(4, 1fr);
}

.gallery a {
	position: relative;
}

.gallery img {
	transition: opacity .3s ease;
	object-fit: cover;
	object-position: center;
	height: 100%;
	width: 100%;
}

.gallery .background {
	transition: opacity .3s ease;
	background: linear-gradient(to bottom, transparent 30%, black);
	position: absolute;
	inset: 0;
}

.gallery h3 {
	position: absolute;
	bottom: 0;
	left: 30px;
}

.gallery a:hover img {
	opacity: .3;
}

.gallery a:hover h3 {
	color: black;
}

.gallery a:hover .background {
	background: transparent;
}

footer {
	background-color: black;
	height: 150px;
	margin-top: 150px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.left_side_footer {
	margin-left: 163px;
}

.left_side_footer h1 {
	font-size: 22px;
}

footer nav a {
	font-size: 13px;
}

.socials a {
	margin-right: 10px;
}

.right_side_footer {
	margin-right: 163px;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
}

/* For mobile phones: ------------------------------------------------------------------------------------------------------------ */

@media only screen and (max-width: 1057px) {

	.description_block {
		display: flex;
		margin-top: 150px;
		flex-wrap: wrap;
		transition: 0.3s;
	}

	.description_block img {
		position: relative;
		margin-left: auto;
		margin-right: auto;
		max-width: 100%;
	}

	.description {
		position: relative;
		margin-left: auto;
		margin-right: auto;
		padding: 0 0 0 0;
		text-align: center;
	}

	.topnav h1 {
		margin-top: 0;
		display: none;
	}

	#myLinks {
		display: none;
	}

	.slogan {
		margin-right: 18.6%;
	}

	.slogan p {
		transition: 0.3s;
	}

	.gallery h3 {
		font-size: 2.5vw;
	}

	.gallery {
		grid: auto / repeat(3, 1fr);
	}

}

@media only screen and (min-width: 875px) {

	#myLinks ul {
		display: none;
	}

	.gallery h3 {
		font-size: 2.5vw;
	}

}

@media only screen and (max-width: 875px) {
	.mobile-container {
		max-width: 875px;
		height: 20px;
		color: white;
		border-radius: 10px;
	}

	nav {
		display: none;
	}

	.topnav {
		background-color: black;
		position: relative;
		height: 0px;
	}

	.topnav #myLinks {
		display: none;
	}

	.topnav h1 {
		margin-top: 0;
		display: block;
	}

	.topnav a h1 {
		text-transform: lowercase;
		margin-top: 36px;
		margin-left: 24px;
		font-size: 23px;
	}

	.topnav a {
		color: white;
		padding: 14px 16px;
		text-decoration: none;
		text-transform: uppercase;
		background-color: transparent;
		font-size: 30px;
		display: flex;
	}

	#myLinks h1 {
		margin-left: 40px;
		margin-top: 60px;
		font-size: 23px;
	}

	#myLinks li {
		list-style-type: none;
		font-size: 20px;
	}

	#myLinks ul {
		margin-left: -20px;
		margin-top: 100px;
	}

	#myLinks {
		text-decoration: none;
		background-color: black;
		width: 374px;
		height: 640px;
		position: absolute;
		top: -10px;
		z-index: 1;
		vertical-align: baseline;
		font-family: 'Josefin Sans', sans-serif;
		transition: 0.3s;

	}

	#myLinks a:hover {
		text-decoration: underline white;
	}

	.topnav a.icon {
		background: none;
		display: block;
		position: absolute;
		right: 0;
		top: 12px;
		z-index: 1;
	}

	.active {
		background-color: black;
		color: white;
		transition: 0.3s;
	}

	.nav_bar h1 {
		display: none;
	}

	.icon {
		margin-top: 25px;
		margin-right: 10px;
	}

	.slogan {
		margin-right: 18.6%;
	}

	.slogan p {
		font-size: 5.9vw;
		/* padding: 30px; */
	}

	.gallery h3 {
		font-size: 2.5vw;
		margin-right: 10px;
		margin-left: -15px;
		transition: 0.3s;
	}
	footer {
		background-color: black;
		height: fit-content;
		margin-top: 150px;
		display: block;
		align-items: center;
	}

	.left_side_footer {
		margin: auto;
	}
	
	.left_side_footer h1 {
		font-size: 22px;
		text-align: center;
		padding-top: 30px;
		padding-bottom: 22px;
	}
	
	footer nav {
		display: flex;
		flex-direction: column;
		margin: auto;
		width: fit-content;
	}

	footer nav a {
		font-size: 13px;
		text-align: center;
		margin-bottom: 20px;
		margin-right: 0;
	}
	
	.socials {
		margin-top: 22px;
		margin-bottom: 10px;
		margin-right: auto;
		margin-left: auto;
	}

	h4 {
		padding-bottom: 22px;
		text-align: center;
	}
	
	.right_side_footer {
		margin: auto;
		display: flex;
		flex-direction: column;
		width: fit-content;
	}
	.cross {
		position: absolute;
		margin-top: 25px;
    	margin-right: 10px;
		right: 8px;
		top: 10px;
	}

}

@media only screen and (max-width: 745px) {

	.gallery_button {
		display: none;
	}

}

@media only screen and (max-width: 714px) {

	.gallery_header {
		margin-right: 0;
	}
}

@media only screen and (max-width: 700px) {

	.description_block {
		margin-top: 100px;
		max-width: 700px;
		padding-left: 20px;
		padding-right: 20px;
		margin-left: 0;
		margin-right: 0;
	}

	.description_block img {
		display: flex;
		/* min-width: 335px; */
	}

	h2 {
		font-size: 5.9vw;
		margin-right: 0;
	}

	.gallery_header {
		max-width: 375px;
		display: flex;
		justify-content: center;
		margin: 150px 0 0 0;
	}

	.slogan {
		margin-right: 18.6%;
		margin-left: 163px;
	}

	.slogan p {
		font-size: 5.9vw;
		/* padding: 30px; */
		margin-left: 0;
		transition: 0.3s;
	}

	.gallery,
	.gallery_button {
		display: none;
	}

	.mobile_gallery h3 {
		font-size: 5.9vw;
	}

	.mobile_gallery {
		display: grid;
		grid-gap: 27px;
		grid: auto / repeat(1, 1fr);
		margin-left: 20px;
		margin-right: 20px;
		transition: 0.3s;
	}

	.mobile_gallery img {
		width: 335px;
	}

	.mobile_gallery h3 {
		position: absolute;
		left: 30px;
		bottom: -5px;
		font-size: 25px;
	}

	.mobile_gallery a {
		position: relative;
	}

	.mobile_gallery img {
		transition: opacity .3s ease;
		object-fit: cover;
		object-position: center;
		height: 100%;
		width: 100%;
	}

	.mobile_gallery .background {
		transition: opacity .3s ease;
		background: linear-gradient(to bottom, transparent 30%, black);
		position: absolute;
		inset: 0;
	}

	.mobile_gallery a:hover img {
		opacity: .3;
	}

	.mobile_gallery a:hover h3 {
		color: black;
	}

	.mobile_gallery a:hover .background {
		background: transparent;
	}
	footer {
		background-color: black;
		height: fit-content;
		margin-top: 150px;
		display: block;
		align-items: center;
	}

	.left_side_footer {
		margin: auto;
	}
	
	.left_side_footer h1 {
		font-size: 22px;
		text-align: center;
		padding-top: 30px;
		padding-bottom: 22px;
	}
	
	footer nav {
		display: flex;
		flex-direction: column;
		margin: auto;
		width: fit-content;
	}

	footer nav a {
		font-size: 13px;
		text-align: center;
		margin-bottom: 20px;
		margin-right: 0;
	}
	
	.socials {
		margin-top: 22px;
		margin-bottom: 10px;
		margin-right: auto;
		margin-left: auto;
	}

	h4 {
		padding-bottom: 22px;
		text-align: center;
	}
	
	.right_side_footer {
		margin: auto;
		display: flex;
		flex-direction: column;
		width: fit-content;
	}
	.cross {
		position: absolute;
		margin-top: 25px;
    	margin-right: 10px;
		right: 8px;
		top: 10px;
	}

}

@media only screen and (max-width: 375px) {

	body{
		width: 375px;
	}

	header {
		background: no-repeat url(./loopstudios-landing-page-main/loopstudios-landing-page-main/images/mobile/image-hero.jpg);
		background-size: cover;
	}

	.nav_bar {
		padding-left: 20px;
	}

	.slogan {
		padding-left: 20px;
		padding-right: 20px;
		margin-left: 0;
		margin-right: 0;
		max-width: 100%;
	}

	.slogan p {
		margin-left: 0;
		margin-top: 228px;
		margin-right: 0;
		font-size: 39px;
		/* padding: 30px; */
	}

	nav {
		display: none;
	}

	.mobile-container {
		max-width: 374px;
		color: white;
		border-radius: 10px;
	}

	.topnav {
		background-color: black;
		position: relative;
		height: 0px;
	}

	.topnav #myLinks {
		display: none;
	}

	.topnav a h1 {
		text-transform: lowercase;
		margin-top: 36px;
		margin-left: 24px;
		font-size: 23px;
	}

	.topnav a {
		color: white;
		padding: 14px 16px;
		text-decoration: none;
		text-transform: uppercase;
		background-color: transparent;
		font-size: 30px;
		display: flex;
	}

	#myLinks h1 {
		margin-left: 40px;
		margin-top: 60px;
		font-size: 23px;
	}

	#myLinks li {
		list-style-type: none;
		font-size: 20px;
	}

	#myLinks ul {
		margin-left: -20px;
		margin-top: 100px;
	}

	#myLinks {
		text-decoration: none;
		background-color: black;
		width: 374px;
		height: 640px;
		position: absolute;
		top: -10px;
		z-index: 2;
		vertical-align: baseline;
		font-family: 'Josefin Sans', sans-serif;

	}

	#myLinks a:hover {
		text-decoration: underline white;
	}

	.topnav a.icon {
		background: none;
		display: block;
		position: absolute;
		right: 0;
		top: 9px;
		z-index: 1;
	}

	.cross {
		position: absolute;
		margin-top: 25px;
    	margin-right: 10px;
		right: 8px;
		top: 10px;
	}

	.active {
		background-color: black;
		color: white;
	}

	.nav_bar h1 {
		display: none;
	}

	.icon {
		margin-top: 25px;
		margin-right: 10px;
	}	

	.description, .description h2 {
		width: 315px;
	}

	.gallery {
		display: none;
	}

	.gallery_button {
		display: none;
	}

	.gallery_header {
		width: 375px;
		margin-left: 0px;
		margin-right: 20px;
		margin-bottom: 20px;
		text-align: center;
		font-size: 12px;
	}

	h2 {
		width: 375px;
	}

	.mobile_gallery {
		display: grid;
		grid-gap: 27px;
		grid: auto / repeat(1, 1fr);
		margin-left: 20px;
		margin-right: 20px;
	}

	.mobile_gallery img {
		width: 335px;
	}

	.mobile_gallery h3 {
		position: absolute;
		left: 30px;
		bottom: -5px;
		font-size: 25px;
	}

	.mobile_gallery a {
		position: relative;
	}

	.mobile_gallery img {
		transition: opacity .3s ease;
		object-fit: cover;
		object-position: center;
		height: 100%;
		width: 100%;
	}

	.mobile_gallery .background {
		transition: opacity .3s ease;
		background: linear-gradient(to bottom, transparent 30%, black);
		position: absolute;
		inset: 0;
	}

	.mobile_gallery a:hover img {
		opacity: .3;
	}

	.mobile_gallery a:hover h3 {
		color: black;
	}

	.mobile_gallery a:hover .background {
		background: transparent;
	}
	footer {
		background-color: black;
		height: fit-content;
		margin-top: 150px;
		display: block;
		align-items: center;
	}

	.left_side_footer {
		margin: auto;
	}
	
	.left_side_footer h1 {
		font-size: 22px;
		text-align: center;
		padding-top: 30px;
		padding-bottom: 22px;
	}
	
	footer nav {
		display: flex;
		flex-direction: column;
		margin: auto;
		width: fit-content;
	}

	footer nav a {
		font-size: 13px;
		text-align: center;
		margin-bottom: 20px;
		margin-right: 0;
	}
	
	.socials {
		margin-top: 22px;
		margin-bottom: 10px;
		margin-right: auto;
		margin-left: auto;
	}

	h4 {
		padding-bottom: 22px;
		text-align: center;
	}
	
	.right_side_footer {
		margin: auto;
		display: flex;
		flex-direction: column;
		width: fit-content;
	}
}
