* {
  margin: 0;
  padding: 0;
  border: none;
  box-sizing: border-box;
}

body {
  widows: 100%;
  height: 100%;
  background-color: #403e3e;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

/* ================ Layout ================ */

.container {
  display: flex;
  width: 100%;
  height: 100vh;
  flex-direction: row;
}

.left-side {
  z-index: 2;
  width: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-image: url(https://axxxmatov.ru/assets/background.jpg);
}

.left-side * {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.right-side {
  z-index: 3;
  background-size: cover;
  width: calc(100% - 386px);
  background-image: url(https://axxxmatov.ru/assets/background2.jpg);
}

main {
  z-index: 2;
  width: 100%;
  height: 100%;
  font-size: 12px;
  min-width: 600px;
  max-width: 600px;
  color: #fff;
  display: block;
  overflow-y: auto;
  overflow-x: hidden;
  word-break: break-word;
  padding: 48px 32px 128px 32px;
}

main * {
  font-family: monospace;
}

main::-webkit-scrollbar {
  display: none;
}

/* ================ Navbar ================ */

nav {
  float: right;
  display: block;
  overflow: hidden;
  text-align: center;
  position: relative;
  height: 100%;
  width: 100%;
  max-width: 256px;
  padding-top: 32px;
  padding-bottom: 32px;
  backdrop-filter: blur(24px);
  background-color: rgba(0, 0, 0, 0.5);
}

.links {
  display: flex;
  color: white;
  text-align: left;
  margin-top: 48px;
  margin-left: 36px;
  margin-bottom: 48px;
  flex-direction: column;
}

.link {
  width: 100%;
  opacity: 0.7;
  color: inherit;
  cursor: pointer;
  display: block;
  font-size: 10px;
  padding-top: 4px;
  padding-bottom: 8px;
  letter-spacing: 2px;
  text-decoration: none;
  text-transform: uppercase;
  transition: opacity 0.1s linear;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.selected, .link:hover {
  opacity: 1;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.selected {
  text-decoration: underline;
  text-underline-position: under;
}

.logo {
  width: 128px;
  height: 128px;
  margin-top: 24px;
  margin-bottom: 24px;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.name {
  color: white;
  text-align: center;
  font-size: 18px;
  margin-top: 0;
  margin-bottom: 0;
  letter-spacing: 4px;
  text-transform: uppercase;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.university {
  color: white;
  font-size: 10px;
  letter-spacing: 1px;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.copyright {
  position: absolute;
  float: left;
  color: white;
  opacity: 0.5;
  font-size: 8px;
  left: 36px;
  bottom: 32px;
  letter-spacing: 0.5px;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* ================ Profile ================ */

.images-list {
  display: flex;
  width: 100%;
  height: 190px;
  margin-left: -8px;
  margin-bottom: 32px;
  flex-direction: row;
  pointer-events: none;
}

.images-list .image {
  width: 100%;
  height: 100%;
  margin-left: 0px; 
  margin-right: 0px; 
  pointer-events: auto;
  background-size: cover;
  border: 8px solid white;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, box-shadow 0.3s ease, opacity 0.5s ease, margin 0.75s ease;
}

.images-list:hover .image {
  opacity: 0.75;
}

.images-list .image:hover {
  opacity: 1;
  cursor: pointer;
  margin-left: 8px; 
  margin-right: 8px; 
  background-color: #ececec;
  transform: translateY(-8px) scale(1.1);
  box-shadow: 0 8px 16px -4px rgba(0, 0, 0, 0.5);
}

/* ================ Default elements styling ================ */

h1, h2, h3, h4, h5, h6 {
  margin-bottom: 0.75em;
  letter-spacing: 2px;
  font-weight: bold;
}

a {
  color: inherit;
  text-underline-position: under;
  -webkit-tap-highlight-color: transparent;
}

p, ul {
  margin-top: 8px;
  margin-bottom: 24px;
  letter-spacing: 1px;
  line-height: 20px;
}

ul {
  margin-bottom: 32px;
}

ol {
  padding-left: 12px;
}

ol > li {
  font-style: italic;
  padding: 6px 8px;
  border-radius: 2px;
  margin-bottom: 6px;
  background-color: #f0f0f0;
}

ol > p {
  margin-bottom: 32px;
}

ul > li {
  margin-bottom: 8px;
}

table {
  padding: 0;
  width: auto;
  border: none;
  min-width: 400px;
  max-width: 600px;
  border-collapse: collapse;
}

tr {
  background-color: white;
}

td {
  margin: 0;
  padding: 8px;
  font-weight: normal;
}

/* ================ Mobile Version ================ */

@media (max-width: 1020px) {

  body {
    overflow-y: auto;
  }

  .container {
    height: 100%;
    flex-direction: column;
  }

  nav {
    height: 100%;
    max-width: 100%;
    background-color: rgba(0, 0, 0, 0.3);
  }

  main {
    font-size: 11px;
    min-width: 100%;
    max-width: 100%;
    padding: 48px 48px 92px 48px;
  }

  table {
    width: 100%;
    max-width: 100%;
  }

  .right-side {
    display: none;
  }

  .links {
    margin-left: 0;
    margin-top: 32px;
    margin-bottom: -4px;
    flex-direction: row;
    justify-content: center;
  }

  .link {
    text-align: center;
    letter-spacing: 0px;
  }

  .copyright {
    float: none;
    top: 0;
    left: 0;
    position: relative;
    text-align: center;
    margin-left: 0px;
  }

  .images-list {
    height: 28vw;
  }

  .images-list .image {
    margin-left: 4px;
    border: 4px solid white;
  }

  .table-container {
    overflow-x: auto;
  }

  .company-logo {
    height: 92px;
    transform: scale(1);
  }
  
}

@media (max-width: 1200px) {
  .right-side {
    width: 50%;
  }
}

@media (max-width: 400px) {
  .images-list {
    height: 25vw;
  }
}

	body::after {
    content: "AXXXMATOV.RU";
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 50px;
    color: rgba(0, 0, 0, 0.1);
    pointer-events: none;
}