@import url("https://fonts.googleapis.com/css2?family=Roboto&display=swap");

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

html {
  font-size: 62.5%;
  --bg: #fcfcfc;
  --color-headings: #03003f;
  --color-text: black;
  --color-footer: #2c70ff;
}

h1,
td,
p,
.about a {
  color: var(--color-text);
}

p {
  grid-area: content;
  font-size: 1.1em;
  line-height: 1.8em;
  margin-top: 2em;
}

html,
body {
  height: 100vh;
  font-family: "Roboto", Helvetica, Arial, sans-serif;
  text-rendering: optimizelegibility;
  -webkit-font-smoothing: antialiased;
  background-color: var(--bg);
}

body {
  font-size: 1.6rem;
}

header {
  background-color: var(--color-headings);
}

header .menu-logo img {
  width: 20px;
  height: 20px;
}

.lang {
  font-weight: bold;
}

header .menu-logo a {
  font-size: 2.25rem;
  font-weight: bold;
  margin: 0 10px;
  text-decoration: none;
  color: #fff;
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 90%;
  max-width: 980px;
  height: 80px;
  margin: auto;
  color: #fff;
}

header nav ul {
  display: flex;
}

.menu-logo a,
header nav ul li,
.other-activies-link {
  cursor: pointer;
}

header nav ul li {
  list-style: none;
}

header nav ul li:hover {
  text-decoration: underline;
}

header nav ul li a {
  text-decoration: none;
  color: white;
  font-size: 1.8rem;
  padding: 10px;
}

header nav ul li a:hover {
  background: rgba(255, 255, 255, 0.15);
}

.about img {
  border-radius: 50%;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

h1 {
  display: block;
  margin-bottom: 0.5em;
  font-size: 4rem;
}

.about td {
  font-size: 2rem;
  padding: 10px;
}

.about td a {
  text-decoration: none;
}

.footer {
  background: var(--color-footer);
  height: 100px;
}

.footer .icons {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer .reserved {
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.footer img {
  padding: 10px;
  color: #fff;
  width: 45px;
  height: 45px;
}
.about-text {
  float: right;
}

.about-table {
  width: 100%;
}

.about,
.skills,
.experience,
.education,
.other-activies {
  width: 90%;
  max-width: 980px;
  margin: 0 auto;
  padding: 10px;
}

a:hover.other-activies-link,
.about td a:hover {
  color: var(--color-headings);
  text-decoration: underline;
}

iframe {
  width: 90%;
  height: 90%;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0, 0, 0); /* Fallback color */
  background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  height: 80%;
}

/* The Close Button */
.close {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}
