На сайте в заголовке должно перекидывать на другой файл,но пишет что файл не найден,в консоле постоянные ошибки связаны с шрифтами,в общем мне надо что бы открывался файл и все на этом как это сделать не известно
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Game Website</title>
<link rel="preload" href="https://fonts.gstatic.com/s/poppins/v21/pxiByp8kv8JHgFVrLCz7Z1xlFQ.woff2" as="font" type="font/woff2" crossorigin="use-credentials">
<link rel="stylesheet" href="/css/main.css">
</head>
<body>
<div class="wrapper">
<header class="container">
<span class="logo">logo</span>
<nav>
<ul>
<li class="active"><a href="/">Home</a></li>
<li><a href="/about.php">About us</a></li>
<li><a href="#">Portfolio</a></li>
<li><a href="#">News</a></li>
<li class="btn"><a href="/contacts.php">Contacts</a></li>
</ul>
</nav>
</header>
<div class="hero container">
<div class="hero--info">
<h2>3D game Dev</h2>
<h1>Work that we produce for our clients</h1>
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the
industry's standard.</p>
<button class="btn">Get more details</button>
</div>
<img src="img/joystick.svg" alt="">
</div>
<div class="container trending">
<a href="#" class="see-all">SEE ALL</a>
<h3>Currently Trending Games</h3>
<div class="games">
<div class="block">
<img src="/img/game1.png" alt="">
<span><img src="/img/fire.svg" alt=""> 40 Followers</span>
</div>
<div class="block">
<img src="/img/game2.png" alt="">
<span><img src="/img/fire.svg" alt=""> 40 Followers</span>
</div>
<div class="block">
<img src="/img/game3.png" alt="">
<span><img src="/img/fire.svg" alt=""> 40 Followers</span>
</div>
<div class="block">
<img src="/img/game4.png" alt="">
<span><img src="/img/fire.svg" alt=""> 40 Followers</span>
</div>
</div>
</div>
<div class="container big-text">
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry.</p>
</div>
<div class="container banner">
<h3>Lorem Ipsum</h3>
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the
industry's standard dummy text ever since the 1500s,</p>
<img src="/img/banner.png" alt="">
</div>
</div>
<div class="features">
<div class="container">
<h3>Lorem Ipsum is simply dummy text of the printing and typesetting industry.</h3>
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the
industry's standard dummy text ever since the 1500s,</p>
<div class="info">
<div class="block">
<img src="/img/feature1.png" alt="">
<p>Mobile Game Development</p>
<img src="/img/arrow.png" alt="">
</div>
<div class="block">
<img src="/img/feature2.png" alt="">
<p>PC Game Development</p>
<img src="/img/arrow.png" alt="">
</div>
<div class="block">
<img src="/img/feature3.png" alt="">
<p>PS4 Game Development</p>
<img src="/img/arrow.png" alt="">
</div>
<div class="block">
<img src="/img/feature4.png" alt="">
<p>AR/VR Solutions</p>
<img src="/img/arrow.png" alt="">
</div>
<div class="block">
<img src="/img/feature5.png" alt="">
<p>AR/ VR design</p>
<img src="/img/arrow.png" alt="">
</div>
<div class="block">
<img src="/img/feature6.png" alt="">
<p>3D Modelings</p>
<img src="/img/arrow.png" alt="">
</div>
</div>
</div>
</div>
<div class="wrapper">
<div class="container projects">
<h3>Our Recent Projects</h3>
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. </p>
<div class="images">
<img src="/img/Project1.png" alt="">
<img src="/img/Project2.png" alt="">
<img src="/img/Project3.png" alt="">
</div>
<div class="images">
<img src="/img/Project4.png" alt="">
<img src="/img/Project5.png" alt="">
<img src="/img/Project6.png" alt="">
</div>
<a href="" class="see-all">SEE ALL</a>
</div>
<div class="container email">
<h3>Lorem Ipsum</h3>
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. </p>
<div class="block">
<div>
<h4>Stay in the loop</h4>
<p>Subscribe to receive the latest news and updates about TDA.
We promise not to spam you! </p>
</div>
<div>
<input type="email" id="emailField" placeholder="Enter email address">
<button onclick="checkEmail()">Continue</button>
</div>
</div>
</div>
</div>
<footer>
<div class="blocks container">
<div>
<span class="logo">logo</span>
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. </p>
</div>
<div>
<h4>About us</h4>
<ul>
<li>Zeux</li>
<li>Portfolio</li>
<li>Careers</li>
<li>Contact us</li>
</ul>
</div>
<div>
<h4>Contact us</h4>
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. </p>
<p>+908 89097 890</p>
</div>
</div>
<hr>
<p>Copyright ® 2021 Lorem All rights Rcerved</p>
</footer>
<script>
function checkEmail() {
let email = document.querySelector('#emailField').value;
if (!email.includes('@')) alert('Нет символа @');
else if (!email.includes('.')) alert('Нет символа .');
else alert('Все отлично!');
}
</script>
</body>
</html>
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;700;800&display=swap');
* {
margin: 0;
padding: 0;
}
body {
font-family: 'Poppins',sans-serif;
font-weight: 400;
color: #fff;
font-size: 16px;
background: #000;
}
a {
text-decoration: none;
}
img {
max-width: 100%;
}
.wrapper {
background: linear-gradient(180deg, rgba(0, 0, 0, 1) 0%, rgba(26, 14, 1, 1) 100%);
width: 100%;
overflow-x: hidden;
}
.container {
width: 1400px;
margin: 0 auto;
}
header {
padding: 50px 0;
}
header .logo,
footer .blocks .logo {
text-transform: uppercase;
font-size: 29px;
font-weight: 800;
}
header nav {
float: right;
width: 50%;
}
header nav ul {
list-style: none;
display: flex;
justify-content: space-between;
z-index: 2;
position: relative;
}
header nav ul li {
display: inline-block;
}
header nav ul li a {
color: #fff
}
header nav ul li.active::after {
content: '';
display: block;
width: 40px;
height: 5px;
background: #DC7000;
border-radius: 10px;
position: relative;
top: 10px;
left: -15px;
}
header nav ul li:not(.active):not(.btn) a:hover {
border-bottom: 5px solid #DC7000;
}
header nav ul li.btn a,
.email .block button {
background: #FA9021;
padding: 9px 17px;
border-radius: 5px;
transition: all 500ms ease;
}
header nav ul li.btn a:hover,
.email .block button:hover {
background: #a02604;
}
.hero {
padding-bottom: 100px;
position: relative;
z-index: 1;
}
.hero--info {
width: 530px;
padding-top: 70px;
}
.hero--info h2 {
color: #E87D0E;
font-size: 20px;
font-weight: 600;
}
.hero--info h1 {
font-size: 50px;
font-weight: 600;
}
.hero--info p {
font-weight: 500;
line-height: 170%;
margin: 30px 0;
}
.hero--info .btn,
.hero-about .info .btn {
background: #FA8305;
color: #fff;
border-radius: 50px;
padding: 15px 30px;
border: 0;
transition: all 500ms ease;
font-size: 17px;
}
.hero--info .btn:hover,
.hero-about .info .btn:hover {
cursor: pointer;
transform: scale(1.1);
}
.hero img {
position: absolute;
top: -150px;
right: 0;
}
.trending {
padding-top: 50px;
}
.trending h3 {
font-weight: 600;
font-size: 31px;
}
.trending .see-all,
.projects .see-all {
color: #fff;
background: #25211D;
border-radius: 5px;
padding: 12px 23px;
float: right;
display: block;
transition: all 500ms ease;
}
.trending .see-all:hover,
.projects .see-all:hover {
transform: scale(1.1);
}
.trending .games {
display: flex;
justify-content: space-between;
width: 100%;
padding: 50px 0;
}
.trending .games span {
display: block;
text-align: center;
margin-top: 20px;
}
.trending .games span img {
position: relative;
top: 5px;
margin-right: 7px;
}
.big-text {
padding: 50px 0;
font-size: 35px;
font-weight: 600;
text-align: center;
width: 800px;
}
.banner {
padding: 80px 0;
}
.banner h3 {
font-size: 30px;
font-weight: 600;
margin-bottom: 30px;
}
.banner p {
line-height: 170%;
margin-bottom: 30px;
width: 550px;
}
.banner img {
width: 100%;
margin-bottom: 30px;
}
.features {
background: url('/img/BG.png') no-repeat center center fixed;
background-size: cover;
padding: 80px 0;
}
.features h3,
.features p {
margin-bottom: 20px;
text-align: center;
max-width: 800px;
margin-left: auto;
margin-right: auto;
}
.features h3 {
font-size: 30px;
}
.features .info {
display: flex;
justify-content: center;
flex-wrap: wrap;
}
.features .info .block {
text-align: center;
width: 20%;
margin: 30px 2%;
}
.features .info .block img {
margin-bottom: 15px;
}
.projects {
padding: 100px 0;
}
.projects h3 {
font-size: 30px;
text-align: center;
}
.projects p {
margin: 40px 0;
text-align: center;
}
.projects .images {
display: flex;
justify-content: space-around;
margin-bottom: 25px;
}
.projects .see-all {
float: none;
width: 60px;
text-align: center;
margin: 0 auto;
}
.email {
padding-bottom: 120px;
}
.email h3 {
margin-top: 60px;
font-size: 30px;
}
.email .block {
background: #1C140F;
margin-top: 30px;
border-radius: 10px;
padding: 40px 3%;
width: 94%;
display: flex;
justify-content: space-between;
align-items: center;
}
.email .block h4 {
font-size: 30px;
font-weight: 500;
}
.email .block p {
width: 500px;
}
.email .block input {
background: #fff;
outline: none;
border: 0;
border-radius: 5px;
width: 380px;
font-family: 'Poppins', sans-serif;
font-weight: 400;
padding: 20px 30px;
position: relative;
right: -95px;
z-index: 1;
padding-right: 120px;
}
.email .block input::placeholder {
color: #898989;
}
.email .block button {
cursor: pointer;
border: 0;
padding: 13px 17px;
position: relative;
z-index: 2;
color: #fff;
}
.hero-about {
position: relative;
}
.hero-about .info {
width: 500px;
padding: 250px 0;
}
.hero-about .info h1 {
margin-bottom: 15px;
font-size: 30px;
}
.hero-about .info .btn {
margin-top: 20px
}
.hero-about img {
position: absolute;
right: -150px;
top: 0;
}
.work {
padding: 80px 0;
}
.work h2 {
font-size: 25px;
margin-bottom: 40px;
}
.work .blocks {
display: flex;
justify-content: space-between;
}
.work .blocks .block {
width: 25%;
border-radius: 10px;
padding: 50px 35px;
background: #1C140F;
}
.work .blocks .block h3 {
font-size: 20px;
margin: 20px 0;
}
.work .blocks .block .badge {
border-radius: 7px;
padding: 10px 20px;
}
.work .blocks .block .badge.purple {
background: #560F67;
}
.work .blocks .block .badge.brown {
background: #31190D;
}
.work .blocks .block .badge.green {
background: #192A1D;
}
.hero-contacts h1 {
text-align: center;
margin-top: 70px;
margin-bottom: 30px;
font-size: 33px;
}
.hero-contacts p {
text-align: center;
}
.hero-contacts img {
width: 70%;
margin: 80px 15%;
}
.feedback {
padding: 70px 0;
background: #1C140F;
}
.feedback h2 {
text-align: center;
font-weight: 500;
font-size: 30px;
}
.feedback p {
text-align: center;
margin-top: 10px;
}
.feedback form {
margin: 80px auto;
width: 600px;
}
.feedback form .inline {
display: flex;
justify-content: space-between;
}
.feedback form .inline>div {
width: 50%;
}
.feedback form label {
color: #4F4F4F;
font-size: 14px;
}
.feedback form input,
.feedback form textarea {
background: #2C2420;
border-radius: 10px;
border: 0.6px solid #CECECE;
display: block;
width: 90%;
padding: 15px 10px;
outline: none;
color: #fff;
margin-top: 7px;
margin-bottom: 20px;
}
.feedback form .one-line {
width: 96%;
}
.feedback form textarea {
resize: none;
height: 200px;
}
.feedback form button {
background: #DC7000;
border-radius: 5px;
border: 0;
float: right;
cursor: pointer;
color: #fff;
padding: 15px 35px;
transition: all 500ms ease;
}
.feedback form button:hover {
background: #b01414;
}
footer {
background: #000;
padding: 50px 0;
}
footer .blocks {
display: flex;
justify-content: space-between;
}
footer .blocks p {
width: 300px;
margin: 15px 0;
}
footer .blocks h4 {
font-weight: 500;
font-size: 17px;
}
footer .blocks ul {
list-style: none;
}
footer .blocks ul li {
margin-top: 7px;
opacity: 0.8;
}
footer hr {
margin: 30px 0;
border: 0;
height: 0.6px;
background: #ccc;
}
footer>p {
text-align: center;
}