﻿body {
      background-image: url("background.jpg");
      background-repeat: no-repeat;
      background-size: cover;
      font-family: Arial, sans-serif;
      color: #fff;
    }
.container {
  max-width: 1200px;
  width: 100%;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.item {
  width: 100%;
  max-width: 500px;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 5px;
  padding: 10px;
  margin-bottom: 20px;
}

.item h2 {
  font-size: 26px;
  font-weight: bold;
  margin-bottom: 10px;
}

.item h1 {
  font-size: 24px;
  line-height: 1.3em;
  margin-bottom: 10px;
}

.item img {
  width: 100%;
  height: auto;
  margin-bottom: 10px;
}

@media only screen and (min-width: 768px) {
  .item {
    width: 41%;
     margin-right: 6%;
  }
}

@media only screen and (min-width: 992px) {
  .item {
    width: 30%;
    margin-right: 6%;
  }
}



    .speech {
      border: 1px solid #f5f5f5;
      background-color: #f5f5f5;
      padding: 10px;
      margin-bottom: 20px;
      position: relative;
    }

    .speech:before {
      content: "";
      border-style: solid;
      border-width: 10px 15px 10px 0;
      border-color: transparent #f5f5f5;
      display: block;
      width: 0;
      z-index: 1;
      position: absolute;
      left: -15px;
      top: 5px;
    }

    .speech:after {
      clear: both;
    }

    .speech .avatar {
      width: 50px;
      height: 50px;
      float: left;
      margin-right: 10px;
      border-radius: 50%;
    }

    .speech .text {
      overflow: hidden;
      display: inline-block;
      vertical-align: middle;
      font-size: 16px;
      line-height: 24px;
      padding: 10px;
      background-color: #fff;
      border-radius: 5px;
      position: relative;
    }

    .speech .text:before {
      content: "";
      border-style: solid;
      border-width: 10px 15px 10px 0;
      border-color: transparent #fff;
      display: block;
      width: 0;
      z-index: 2;
      position: absolute;
      left: -15px;
      top: 5px;
    }

    .my-link {
      color: white; 
    }

    :root {
      --bg-colors: #FF0000, #FFA500, #008000, #0000FF,#4B0082, #EE82EE;
    }

    nav ul {
       margin: 0;
       padding: 0;
      list-style: none;
    }

    nav li {
       display:inline-block;
       margin-right: 21px;
       font-weight:  
    }

   nav li:last-child {
    margin-right: 0;
    }

    nav a {
    text-decoration: none;
    color: black;
    }

    nav a:hover {
    text-decoration: underline;
    }
    }