/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove default margin */
* {
    margin: 0;
    background-color: #1D1D1D;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role='list'],
ol[role='list'] {
  list-style: none;
}

/* Set core root defaults */
html:focus-within {
  scroll-behavior: smooth;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
  color: white;
}

/* Make images easier to work with */
img,
picture {
  max-width: 100%;
  display: block;
}


@font-face {
    font-family: "JetBrains Mono";
    src: url("fonts/JetBrainsMono-Regular.ttf") format("ttf");
    src: url("fonts/JetBrainsMono-Regular.ttf") format("woff2");
    src: url("fonts/JetBrainsMono-Regular.ttf") format("woff");
    src: url("fonts/JetBrainsMono-Regular.ttf") format("svg");
    src: url("fonts/JetBrainsMono-Regular.ttf") format("truetype");
}

body {
    font-family: "JetBrains Mono", monospace;
}

h1 {
    font-size: 26px;
}

#all-content {
    width: 100%;
    justify-content: center;
    display: flex;
}

#header {
    padding-top: 1rem;
    display: flex;
    width: 960px;
    position: fixed;
}

#logo {
    max-width: 200px;
    cursor: pointer;
}

#header-text {
    text-align: center;
    margin-left: auto;
}

#main-content {
    width: 960px;
    padding-top: 10rem;
}

#text-area {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-top: 1rem;

}

p {
    margin-bottom: 8px;
    border-right: 2px solid #05FDD8;
    margin-right: 1rem;
    
}

p:hover {
    border-color: #FD2155;
}

a {
    cursor: pointer;
}

a:link, a:visited {
    color: #05FDD8;
}

a:hover {
    color: #FD2155;
    text-decoration-color: #FD2155;
}

@media only screen and (max-width: 1000px) {
    #main-content {
        width: 580px;
    }

    #header {
        width: 560px;
    }

    #header-text {
        font-size: 18px;
    }

    #logo {
        width: 180px;
    }

    #text-header {
        text-align: center;
    }

    #text-area {
        text-align: center;
    }

    p {
        border-width: 0;
    }
}