/* hide page scrollbar */
/* not copy pasted code (ty u/lift_spin_d */
html { scrollbar-width: none; } /* Firefox */
body { -ms-overflow-style: none; } /* IE and Edge */
body::-webkit-scrollbar, body::-webkit-scrollbar-button { display: none; } /* Chrome */
/* end hide page scrollbar */

.grid-div {
display: grid;
grid-template-columns: 90% 10%;
overflow-wrap: break-word;
}

.cv-info {
 display: grid;
 grid-template-columns: 75% 25%;
}

.menu {
position: fixed;
text-align: right;
right: 5%;
top: 15%;
}
body {
background: #202020;
color: #AAAAAA;
font-family: Arial, sans-serif;
} 

.top-button {
 background: #151515 !important;
 border: none;
 color: #AAAAAA !important;
 width: 120px;
 height: 70px;
 border-radius: 20px;
}
.top-button img {
 width: 50px !important;
}
.top-button img:hover {
 transform: none !important;
}
.title {
 text-align: center;
}

.title img {
 width: 200px;
 transition: transform 0.5s;
}
.title img:hover {
 transform: scale(1.1, 1.1);
}

.subtitle {
 font-size: 190%;
}

p {
 font-size: 120%;
}

a {
 color: #AAAAAA !important;
 text-decoration: none !important;
}

.text {
 margin: 20px 20px 20px 20px;
}

.project-grid {
 display: flex;
 flex-wrap: wrap;
}

.project-item {
 margin: 1% 1% 1% 1%;
 background: #303030;
 width: 388px;
 transition: background 0.5s;
}
.project-item img {
 width: 100%;
 onerror='this.src = "noimagefound.png"';
}
.project-item:hover {
 background: #404040;
}

.desc {
 margin-left: 4%;
 margin-right: 4%;
}

.contact-grid {
 display: flex;
 flex-wrap: wrap;
 justify-content: center;
 margin-left: 20%;
 margin-right: 20%;
 text-align: center;
}

.contact-item {
 margin: 2% 2% 2% 2%;
 transition: transform 0.5s;
}
.contact-item:hover {
 transform: scale(1.3, 1.3);
}

.contact-item img {
 width: 150px !important;
 max-width: 100%;
}
.contact-item img {
 width: 100%;
}
@media (max-width: 1000px) {
/* .contact-grid {
 grid-template-columns: 25% 25% 25% 25%;
 } */
 .grid-div {
 grid-template-columns: 85% 15%;
 }
 .subtitle {
 font-size: 160%;
 }
 p {
 font-size: 110%;
 }
}
@media (max-width: 800px) {
/* .contact-grid {
  grid-template-columns: 33% 33% 33%;
 } */
}
@media (max-width: 650px) {
 .grid-div {
 grid-template-columns: 80% 20%;
 }
 .subtitle {
 font-size: 150%;
 }
 p {
 font-size:100%;
 }
}
@media print {
 .grid-div {
 grid-template-columns: 100%;
 }
 .menu {
  display: none; 
 }
 title {
 display: none;
 }
 .top-button {
 display: none;
 }
}
