@import url('https://fonts.googleapis.com/css2?family=Unbounded:wght@200..900&display=swap');

/* 404 */

.error {
    color: #fff;
    text-align: center;
}

.error h1 {
    font-size: 200px;
    margin-top: 7.5%;
}

.error h2 {
    margin-bottom: 50%;
}

.bebe {
    text-align: center;
    color: #8b00ff;
}

* {
    margin: 0;
    padding: 0;
}

body {
    font-family: "Unbounded", sans-serif;
    font-weight: 400;
    color: #fff;
    font-style: normal;
    font-size: 20px;
}

a {
    text-decoration: none;
}

.wrapper {
    background: linear-gradient(180deg,rgba(0, 0, 0, 1) 30%, rgba(139, 0, 255, 1) 100%);
    width: 100%;
}

.container {
    width: 1500px;
    margin: 0 auto;
}

header { 
    padding: 20px 0;
}

header .logo img {
    float: left;
    width: 134;
    height: 95;
}

header nav {
    float: right;
    width: 50%;
}

header nav ul {
    list-style: none;
    display: flex;
    justify-content: space-between;
    z-index: 2;
    position: relative;
    top: 30px;
    right: 100px;
}

header nav ul li {
    display: inline-block;
    font-size: 20px;
}

header nav ul li a {
    color: yellow;
}

header nav ul li:not(.active) a:hover {
    border-bottom: 5px solid #8b00ff;
}

header nav ul li.active a {
    border-bottom: 5px solid #520099;
}

.hero {
    padding: 100px;
    position: relative;
    z-index: 1;
}

.hero--info {
    width: 600px; /* Регулятор ширины текста */
}

.hero--info h1 {
    margin-left: 100px;
    font-size: 64px; /* Регулятор размера текста */
}

.hero img {
    position: absolute;
    top: 70px; /* Регулятор высоты большого лога */
    right: 200px; /* Регулятор расстояния между большим логом и текстом */
    width: 500px;
    height: auto;
}

.head-projects {
    padding-top: 100px;
}

.head-projects .head-projects-blocks { 
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 50px 0;
}

.head-projects h3 {
    font-size: 50px;
    font-weight: 600;
    text-align: center;
    padding-bottom: 50px;
}

.footer {
    background: black;
    padding: 50px 0;
}

.footer p {
    text-align: center;
}

/* Все проекты */


.ap-big-text h1 {
    font-size: 50px;
    text-align: center;
    font-weight: 700;
}

.ap-big-text h2 {
    font-size: 40px;
    text-align: center;
    font-weight: 500;
}

.ap-projects-blocks .block embed {
    width: 500px;
    height: 500px;
}

.ap-projects-blocks {
    display: flex;
    justify-content: space-between;
    padding: 50px 0;
}

.ap-projects-blocks .block {
    width: auto;
    height: 500px;
    padding-bottom: 200px;
}

.ap-projects-blocks .block span a {
    background: #8b00ff;
    padding: 30px;
    border-radius: 50px;
    transition: all 500ms ease;
    color: yellow;
    display: block;
    text-align: center;
    margin-top: 10px;
    font-size: 20px;
    font-weight: 700;
}

.ap-projects-blocks .block span a.tg {
    background: #27A7E7;
    color: white;
}

.ap-projects-blocks .block span a:hover {
    transform: scale(1.1);
}

.ap-projects-blocks .block span a.yt {
    background: red;
    color: white;
}

.ap-projects-blocks .block span a.ds {
    background: #7289DA;
    color: white;
}

.all-projects {
    padding-bottom: 150px;
}

.ap-other-blocks { 
    display: flex;
    flex-direction: column;
}

.ap-other-blocks .block span {
    display: none;
    color: yellow;
    position: absolute;
    width: 600px;
}

.ap-other-blocks .block:hover span {
    display: block;
    background: #00000080
}

.ap-other-blocks .block {
    margin-bottom: 40px;
}

.pd-blocks {
    display: flex;
    flex-direction: column;
    padding: 50px 0;
}

.pd-blocks .block {
    margin-bottom: 40px;
    padding: 50px 0;
}

.pd-blocks .block span {
    color: yellow;
    display: block;
}

.ap-other-blocks .block span a{
    color: #fff;
    font-weight: 500;
}

.all-projects .down-arrow img {
    height: 100px;
    width: auto;
    fill: yellow;
    display: block;
    margin: 0 auto;
    position: relative;
    top: -127px;
}

/* О нас */

.about {
	margin-left: 50px;
	margin-right: 50px
}

.about h1 {
	width: 370px;
	margin: auto;
	margin-bottom: 20px;
}

.about h3 a {
	color: yellow;
	text-decoration: underline;
	text-decoration-color: yellow;
	
}


