/* Привет, путник! Эта CSS-состовляющая сайта собрана буквально из пабга и палок. Эту CSS'ку надо фиксить, а лучше полностью переписать. Делал я её ещё в феврале, а редачить начал в июне. Так что тут полно мешанины. */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
body {
    font-family: "Montserrat", sans-serif;
    background: linear-gradient(to bottom, #0b0b0b, #050505) no-repeat fixed;
    height: 100%;
    color: #aaff03;
    scroll-behavior: smooth;
}
.title {
    font-size: 4rem;
    text-align: center;
    padding: 50px 0;
    max-width: 90vw;
    margin: 0 auto;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

main {
    position: relative;
    z-index: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

.content {
    margin-bottom: 40px;
    max-width: 1200px;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
    padding: 0 20px;
    scroll-behavior: smooth;
}

.info-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 10px;
    box-sizing: border-box;
}

.info-box {
    position: relative;
    background-color: #272727;
    border-radius: 8px;
    cursor: default;
    padding: 20px;
    text-align: left;

    transition: transform 0.2s ease;
}

.sexy-razmetka {
    display: block;
    scroll-behavior: smooth;
}

.info-box:hover {
    transform: translateY(-5px);
}

@media (min-width: 980px) {
    .info-container {
        flex-direction: row;
    }
    .sexy-razmetka {
        display: flex;
        align-items: left;
    }
    .info-box {
        flex: 1;
    }
    .sex {
        max-width: 325px;
    }
}

.info-box h3 {
    font-weight: bold;
    margin-top: 0;
    text-transform: uppercase;
}

.corner_link {
    position: absolute;
    right: 20px;

}

.bottom_links {
    position: absolute;
    bottom: 20px;
    padding-top: 50px;
}

a {
    color:  #aaff03;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
    cursor: pointer;
}

.info-box i {
    color: gray;
    position: absolute;
    right: 20px;
}

.left-image {
    left: 0;
    max-height: 200px;
    padding-right: 30px;
}

footer {
    text-align: center;
}

.info-box p {
    margin: 10px 0;
}

img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 29px;
}