<div class="about-wrapper">
  <nav class="top-bar nav">
    <a class="mfont biggertext" id="text" data-value="morayo" href="index.html">morayo</a>
    <a class="stars container" href="#">let's work
      <span class="s"></span>
      <span class="s"></span>
      <span class="s"></span>
      <span class="s"></span>
      <span class="s"></span>
      <span class="m"></span>
      <span class="m"></span>
      <span class="m"></span>
      <span class="m"></span>
      <span class="m"></span>
      <span class="l"></span>
      <span class="l"></span>
      <span class="l"></span>
      <span class="l"></span>
      <span class="l"></span>
    </a>
  </nav>

  <h1 class="title">joy</h1>
  <div class="about-inner">

    <div class="column1">
      <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, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
        <br>swods!</br>
      </p>

    </div>

    <div class="column2"><img class="cross-size" src="https://picsum.photos/id/1016/600/1200" alt="example image" width="600" height="1200"></div>
  </div>

  <div class="bottom-bar nav">
    <a href=".//pages/letswork.html">about</a>
    <a href=".//pages/letswork.html">services + work</a>
  </div>

</div>
:root {
  --main-black: #0e0f10;
  --beige: #e7e0d4;
}

a,
a:hover,
a:focus,
a:active {
  text-decoration: none;
  color: inherit;
}

a {
  display: inline-block;
  color: --beige;
  cursor: pointer;
}

img {
  display: block;
  width: 100%; /* to far reaching -max-width:100% would be better*/
  height: auto;
}

::selection {
  background: rosybrown;
}
html,
body {
  height: 100%; /* not really needed now that we have vh units*/
  margin: 0;
  padding: 0;
}

body {
  line-height: 1.4;
  background-color: var(--main-black);
  color: var(--beige);
  font-family: "helixaregular";
}

h1,
.mfont {
  font-family: "young_morinregular";
}

h1 {
  font-size: 45px; /* suggest using rem or em for all font sizes*/
}

.biggertext {
  font-size: 35px;
}

.imgsize {
  width: 42px;
}

.main-wrapper,
.about-wrapper {
  /* note 100% height can only be obtained if there is an 'unbroken' chain of heights on all parents right back to root. This is why it would be better to use vh units for height nstead. min-height:100vh */
  min-height: 100%; /* use min-height so that the element can grow*/
  position: relative;
  max-width: 90%;
  margin: auto;
  display: flex;
  flex-direction: column;
}

.bottom-bar {
  display: flex;
  justify-content: space-between;
}

.top-bar {
  z-index: 9;
  display: flex;
  justify-content: space-between;
  padding-top: 30px;
}

.top-bar,
.bottom-bar {
  font-size: 25px;
}

.bottombar-wrap {
  display: flex;
}

.title {
  font-family: "belgium_freeregular";
  letter-spacing: 13px;
  font-size: 20px;
}

.tricross {
  display: flex;
  gap: 50px;
  height: 45px;
  align-items: center;
  justify-content: center;
  margin-top: 3%;
}

#text {
  text-transform: lowercase;
  height: inherit;
}

.cross-size {
  width:30vw;
  max-width:600px;
  min-width:200px;
  height:auto;
}

.about-inner {
  display: flex;
  flex:1 0 0;
  font-family: "helixaregular";
  font-size: 20px;
  justify-content: space-between;
  background:#222;
}
.column1{padding:1rem;}
.container {
  position: relative;
  padding: 20px 0;
  font-size: 1em;
  text-align: center;
  line-height: 0.7em;
}

.stars {
  position: relative;
}

.stars span {
  position: absolute;
}

.stars span:before {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;

  /*星のサイズ調節*/
  transform: scale(0.2);
}

.stars span.s:before {
  /*20px 20pxが中央*/
  box-shadow: 20px 20px #ffffff;
}

.stars span.m:before {
  box-shadow:
        /*1段目*/ 20px 10px #fff176, /*2段目*/ 10px 20px #fff176,
    20px 20px #ffffff, 30px 20px #fff176, /*3段目*/ 20px 30px #fff176;
}

.stars span.l:before {
  box-shadow:
        /*0段目*/ 20px 0px #fd8f35, /*1段目*/ 20px 10px #fff176,
    /*2段目*/ 0px 20px #fdd835, 10px 20px #fff176, 20px 20px #ffffff,
    30px 20px #fff176, 40px 20px #fdd835, /*3段目*/ 20px 30px #fff176,
    /*4段目*/ 20px 40px #fdd835;
}

/*
  星の位置とアニメーション指定
  最初の秒はアニメーション時間、2つ目は開始までの時間
  */
.stars span:nth-child(1) {
  left: 10%;
  top: 10%;
  animation: star-anim 8s 0s infinite;
}

.stars span:nth-child(2) {
  left: 80%;
  top: 20%;
  animation: star-anim 6s 1s infinite;
}

.stars span:nth-child(3) {
  left: 60%;
  top: 40%;
  animation: star-anim 5s 2s infinite;
}

.stars span:nth-child(4) {
  left: 20%;
  top: 70%;
  animation: star-anim 7s 3s infinite;
}

.stars span:nth-child(5) {
  left: 80%;
  top: 80%;
  animation: star-anim 7s 4s infinite;
}

.stars span:nth-child(6) {
  left: 40%;
  top: 10%;
  animation: star-anim 4s 0s infinite;
}

.stars span:nth-child(7) {
  left: 10%;
  top: 50%;
  animation: star-anim 7s 1s infinite;
}

.stars span:nth-child(8) {
  left: 50%;
  top: 50%;
  animation: star-anim 8s 2s infinite;
}

.stars span:nth-child(9) {
  left: 90%;
  top: 90%;
  animation: star-anim 5s 3s infinite;
}

.stars span:nth-child(10) {
  left: 80%;
  top: 50%;
  animation: star-anim 7s 4s infinite;
}

.stars span:nth-child(11) {
  left: 90%;
  top: 10%;
  animation: star-anim 5s 0s infinite;
}

.stars span:nth-child(12) {
  left: 10%;
  top: 80%;
  animation: star-anim 6s 1s infinite;
}

.stars span:nth-child(13) {
  left: 30%;
  top: 20%;
  animation: star-anim 7s 2s infinite;
}

.stars span:nth-child(14) {
  left: 60%;
  top: 90%;
  animation: star-anim 8s 3s infinite;
}

.stars span:nth-child(15) {
  left: 80%;
  top: 50%;
  animation: star-anim 7s 4s infinite;
}

@keyframes star-anim {
  0% {
    opacity: 0;
  }

  5% {
    opacity: 1;
  }

  10% {
    opacity: 0;
  }

  55% {
    opacity: 0;
  }

  60% {
    opacity: 1;
  }

  95% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@media (min-width: 320px) and (max-width: 480px) {
  .container p {
    line-height: 0.38em;
  }
}

@media (min-width: 1025px) and (max-width: 1279px) {
  .stars {
    position: absolute;
    left: 0;
    top: 5px;
    width: 100%;
    height: 100%;
  }
}
/*
Forum question answer only:

https://www.sitepoint.com/community/t/justify-content-space-between-not-working-how-can-i-get-this-image-to-the-right-end-of-div/426644/

*/






Run Pen

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.