@import url('https://fonts.googleapis.com/css2?family=Montagu+Slab:opsz,wght@16..144,100..700&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Tangerine:wght@400;700&family=The+Girl+Next+Door&display=swap');

/* Base Styles */
:root {
  --black: #000000;
  --white: #ffffff;
  --dark-red: #520000;
  --bright-red: #b20000;
  --light-gray: #e1e1e1;
  --semi-transparent: rgba(255, 255, 255, 0.7);
}

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

body {
  background-color: var(--black);
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  justify-content: center;
}

.site-container {
  width: 100%;
  max-width: 1800px;
  padding: 20px;
}

/* Navigation Styles */
.main-nav {
  position: relative;
  height: 250px;
  margin-bottom: 50px;
}

.nav-logo {
  position: absolute;
  left: 50px;
  top: 60px;
}

.logo {
  width: 80px;
  height: 80px;
  transform: rotate(-25deg);
}

.nav-links {
  position: absolute;
  width: 100%;
  height: 100%;
}

.con-links {
  font-family: 'Tangerine', cursive;
  font-size: 38px;
  text-decoration: none;
  position: absolute;
  align-items: center;
  top: 1000px;
}

.con-links-contacts {
  text-decoration: none;
  position: absolute;
  align-items: center;
}

.contacts-logotypes {
  position: absolute;
  right: 450px;
}

.github-logo {
  width: 80px;
  height: 80px;
  position: absolute;
  top: 0px;
}

.github-link {
  position: absolute;
  top: 15px;
  Left: -320px;
}

.mail-logo {
  width: 80px;
  height: 80px;
  position: absolute;
  top: 123px;
}

.mail-link {
  position: absolute;
  top: 137px;
  left: -320px;
}

.telegram-logo {
  width: 80px;
  height: 80px;
  position: absolute;
  top: 250px;
}

.telegram-link {
  position: absolute;
  top: 267px;
  left: -320px;	
}

/* Navigation Links Positioning */
.nav-link {
  font-family: 'Tangerine', cursive;
  color: var(--semi-transparent);
  text-decoration: none;
  position: absolute;
  font-weight: 400;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.nav-link-contacts {
  font-family: 'Montagu Slab', serif;
  font-size: 32px;
  line-height: 1.5;
  color: #FFFFFF;
  text-decoration: none;
  position: absolute;
  font-weight: 400;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.homepage-link {
  font-size: 56px;
  color: var(--white);
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
}

.homepage-link-plain {
  font-size: 56px;
  color: var(--white);
  top: 14px;
  left: 45%;
}

.projects-link {
  font-size: 48px;
  top: 50px;
  left: 35%;
  transform: rotate(-15deg);
}

.projects-link-plain {
  font-size: 48px;
  top: 20px;
  left: 35%;
}

.biography-link {
  font-size: 48px;
  top: 55px;
  right: 34%;
  transform: rotate(15deg);
}

.biography-link-plain {
  font-size: 48px;
  top: 20px;
  right: 35%;
}

.contacts-link {
  font-size: 45px;
  top: 140px;
  right: 25%;
  transform: rotate(30deg);
}

.contacts-link-plain {
  font-size: 45px;
  top: 26px;
  right: 25%;
}

.convertors-link {
  font-size: 45px;
  top: 130px;
  left: 25%;
  transform: rotate(-30deg);
}

.convertors-link-plain {
  font-size: 45px;
  top: 20px;
  left: 25%;
}

.homepage-link.active {
  font-size: 60px;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.nav-link:hover {
  color: var(--white);
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

.old-site-link {
	font-family: 'Montagu Slab', serif;
	font-size: 28px;
	text-decoration: underline;
	left: 37%;
}





/* Help Section */
.help-section {
  position: absolute;
  right: 50px;
  top: 0;
  width: 325px;
  height: 202px;
  text-decoration: none;
}






.help-text {
  position: absolute;
  top: 25px;
  left: 44px;
  transform: rotate(7.5deg);
  font-family: 'The Girl Next Door', cursive;
  color: #9f0000;
  font-size: 72px;
}

.vector-line {
  position: absolute;
  width: 314px;
  height: 58px;
  top: 80px;
  left: 0;
}

.help-subtext {
  position: absolute;
  width: 320px;
  top: 115px;
  left: 3px;
  transform: rotate(9deg);
  font-family: 'The Girl Next Door', cursive;
  color: rgba(255, 255, 255, 0.9);
  font-size: 24px;
}

/* Main Content Styles */
.content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.content-logos {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

/* Hero Image Section */
.hero-section {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 200px;
  margin-top: -125px;
}

.main-image {
  width: 925px;
  height: 695px;
  object-fit: contain;
}

.initials {
  position: absolute;
  top: 340px;
  right: 350px;
  transform: rotate(-17deg);
  font-family: 'Montagu Slab', sans-serif;
  color: var(--bright-red);
  font-size: 34px;
}

h1 {
  font-size: 72px;
}

h2 {
  font-size: 64px;
}

/* Red Containers */
.red-container {
  width: 90%;
  max-width: 1600px;
  margin: 0 auto 80px;
  padding: 60px;
  background-color: var(--dark-red);
  border-radius: 10px;
}

/* First Red Container Styles */
.intro-text {
  font-family: 'Montagu Slab', serif;
  font-size: 36px;
  line-height: 1.5;
  text-align: center;
}

/* Second Red Container Styles */

.underline {
	text-decoration: underline 3px;
}

.content-section {
  margin-bottom: 60px;
}

.content-section:last-child {
  margin-bottom: 0;
}

.content-section h3 {
  font-family: 'Montagu Slab', serif;
  font-size: 42px;
  color: var(--white);
  margin-bottom: 20px;
  text-align: center;
}

.content-section p {
  font-family: 'Montagu Slab', serif;
  font-size: 28px;
  line-height: 1.5;
  text-align: center;
}

.red-text {
  color: var(--bright-red);
}

/* Closing Section */
.closing-section {
  width: 100%;
  text-align: center;
  margin: 80px 0;
}

.closing-section p {
  font-family: 'Montagu Slab', serif;
  font-size: 48px;
  line-height: 1.5;
}

.transmission {
  color: var(--bright-red);
  font-size: 64px;
}

/* End Gap */
.end-gap {
  height: 300px;
  width: 100%;
}

/* Footer Styles */
.site-footer {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 0;
}

.fun-text {
  font-family: 'Montagu Slab', serif;
  font-size: 42px;
  text-align: center;
  margin-bottom: 30px;
  margin-top: 1400px;
}

.comeback {
  font-family: 'Montagu Slab', serif;
  font-size: 36px;
  color: var(--black);
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.2);
  text-decoration: none;
  padding: 10px 30px;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.comeback:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

  /* "Help" Page */
  
  .why-1 {
	font-family: 'Montagu Slab', serif;
	font-size: 46px;
	color: var(--white);
	margin-bottom: 20px;
	text-align: center;
	position: absolute;
	top: 400px;
  }
  
  .Prjocets-continue {
	font-family: 'Montagu Slab', serif;
	font-size: 46px;
	color: var(--white);
	margin-bottom: 20px;
	text-align: center;
	position: absolute;
	top: 400px;
  }
  
  .Bio-1 {
	font-family: 'Montagu Slab', serif;
	font-size: 46px;
	color: var(--white);
	margin-bottom: 20px;
	text-align: center;
	position: absolute;
	top: 400px;
  }
  
  .con-exp {
	font-family: 'Montagu Slab', serif;
	font-size: 46px;
	color: var(--white);
	margin-bottom: 20px;
	text-align: center;
	position: absolute;
	top: 400px;
  }
  
  .coz {
	font-family: 'The Girl Next Door', serif;
	font-size: 32px;  
  }
  
/* Responsive Adjustments */
@media (max-width: 1200px) {
  .nav-links {
    height: 250px;
  }
  
  .projects-link { left: 20%; }
  .biography-link { right: 20%; }
  .contacts-link { right: 10%; top: 150px; }
  .convertors-link { left: 10%; top: 150px; }
  
  .main-image {
    width: 80%;
    height: auto;
  }
  
  .initials {
    right: 10%;
  }
  
  .red-container {
    padding: 40px;
  }
  
  .intro-text {
    font-size: 32px;
  }
  
  .content-section p {
    font-size: 24px;
  }
}

@media (max-width: 768px) {
  .main-nav {
    height: 300px;
  }
  
  .nav-link {
    font-size: 36px !important;
  }
  
  .homepage-link.active {
    font-size: 42px !important;
  }
  
  .projects-link { left: 15%; top: 40px; }
  .biography-link { right: 15%; top: 40px; }
  .contacts-link { right: 5%; top: 140px; }
  .convertors-link { left: 5%; top: 140px; }
  
  .help-section {
    width: 250px;
  }
  
  .help-text {
    font-size: 56px;
  }
  
  h1 {
    font-size: 48px;
  }
  
  h2 {
    font-size: 40px;
  }
  
  .main-image {
    width: 95%;
  }
  
  .red-container {
    width: 95%;
    padding: 30px;
  }
  
  .intro-text {
    font-size: 24px;
  }
  
  .content-section h3 {
    font-size: 32px;
  }
  
  .content-section p {
    font-size: 20px;
  }
  
  .closing-section p {
    font-size: 32px;
  }
  
  .transmission {
    font-size: 48px;
  }
  
  .fun-text {
    font-size: 32px;
  }
  
  .comeback {
    font-size: 28px;
  }
  
}