body,html {
    margin: 0;
    padding: 0;
}
bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: url(images/lasers.png), black;
    background-position: 0 10%;
    background-size: cover;
    background-repeat: no-repeat;
}
body {
    color: white;
    padding-top: 50px;
}
* {
    box-sizing: border-box;
    font-family: 'Ibarra Real Nova', serif;
}
hr {
    border: none;
    border-top: 1px solid gray;
    margin: 10px;
    margin-left: 0;
    margin-right: 0;
    padding: 0;
}
.top {
    height: 50px;
    padding: 15px;
    background: black;
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
}
.logo {
    margin: 0;
    font-size: 20px;
    font-weight: 500;
    cursor: pointer;
}
.main {
    height: calc(100vh - 50px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.title {
    background: black;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    font-size: 30px;
    font-weight: 800;
    text-align: center;
}

.maincrime {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    max-width: 1000px;
}
.crime {
    background: black;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 20px;
    margin-bottom: 20px;
}
.crime:nth-child(odd) {
    background: rgba(20,20,20);
}
.crime:nth-child(odd) .maincrime {
    flex-direction: row-reverse;
    text-align: end;
}
.crimeimage {
    height: 300px;
    border-radius: 20px;
}
.crimetitle {
    font-size: 30px;
}
.crimedescription {
    font-size: 15px;
}
.subhead {
    margin: 0;
    text-align: center;
    padding: 0;
    font-size: 20px;
    font-weight: 550;
    width: 100%;
}
.randomtext {
    display: flex;
    flex-direction: column;
    width: 100%;
    text-align: center;
}
.button {
    background: white;
    border: none;
    padding: 10px 15px;
    font-size: 14px;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    color: black;
    transition: 0.2s;
}
.button:hover {
    opacity: 0.8;
}

@media (max-width: 800px) {
    .maincrime {
        flex-direction: column;
    }
    .crime:nth-child(odd) .maincrime {
        flex-direction: column;
    }
    .crimeimage {
        width: 100%;
        height: auto;
    }
    .crimetitle {
        font-size: 25px;
    }
}