/* 
===============
GENERAL
===============
*/

* {
  margin: 0;
  padding: 0;
  --primary-clr: rgb(255, 120, 3);
  --primary-light-clr: rgb(251, 159, 79);
  --secondary-clr: rgb(94, 88, 88);
  --secondary-light-clr: rgb(133, 127, 127);
  --secondary-light-2-clr: rgb(204, 198, 198);

  --python-clr: #3e7bac;
  --python-light-clr: #4d95d1;
  --html-clr: #e54c21;
  --html-light-clr: #f9967a;
  --css-clr: #214ce5;
  --css-light-clr: #5a7eff;
  --js-clr: #f7e018;
  --js-light-clr: #fee5028e;
  --sql-clr: #dc7630;
  --sql-light-clr: #ffa970;
  --git-clr: #f05033;
  --git-light-clr: #ff8772;
  --c-clr: #787cb4;
  --c-light-clr: #9aa0ea;
}

h1 {
  font-size: 4rem;
  margin: 1rem;
  text-decoration: underline orange;
  padding-bottom: 5rem;
}

@media screen and (max-width: 700px) {
  h1 {
    font-size: 3rem;
    padding-bottom: 0;
  }
}

h2 {
  font-size: 2.5rem;
}

p {
  font-size: 1.5rem;
}

body {
  font-family: monospace;
  background: black;
  color: white;
}

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

.hide {
  display: none;
}

.link {
  color: white;
  text-decoration: underline solid;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  width: 100%;
  margin-top: 0.5rem;
  padding: 0;
  height: 50px;
  background: orange;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 5px;
  transition: all 0.2s;
  border: black solid 2px;
}

.btn:hover {
  color: rgb(55, 55, 55);
  filter: brightness(120%);
  transform: scale(1.01);
}

.btn img {
  width: 100%;
  margin-top: 0.5rem;
}

.logo-wrapper {
  width: 17px;
  padding-left: 1rem;
  margin-right: 0.5rem;
}

/* 
===============
LOGO
===============
*/

.domroon-logo {
  width: 200px;
  height: 200px;
  padding: 0.5rem;
  padding-right: 3rem;
}

.graphic {
  position: relative;
}

.company-name {
  font-weight: 600;
  font-size: 2rem;
  margin-left: 80px;
  padding-top: 0.5rem;
  transform: rotate(5deg);
  animation-name: company-name;
  animation-duration: 1s;
  color: white;
}

.triangle {
  width: 0;
  height: 0;
  background-color: transparent;
  border-top: 40px solid green;
  border-right: 22px solid transparent;
  border-bottom: 0 solid red;
  border-left: 22px solid transparent;
}

.triangle-1 {
  position: absolute;
  left: 0px;
  top: 0px;
}

.triangle-2 {
  position: absolute;
  left: 17px;
  top: 10px;
  transform: rotate(59deg);
  border-top: 40px solid orange;
  animation-name: triangle-2;
  animation-duration: 1s;
}

.triangle-3 {
  position: absolute;
  left: 17px;
  top: 29px;
  transform: rotate(118deg);
  border-top: 40px solid red;
  animation-name: triangle-3;
  animation-duration: 1s;
}

.triangle-4 {
  position: absolute;
  left: 1px;
  top: 40px;
  transform: rotate(177deg);
  border-top: 40px solid blue;
  animation-name: triangle-4;
  animation-duration: 1s;
}

.no-animation {
  animation-name: none;
}

@keyframes company-name {
  0% {
    translate: 20px;
  }
  100% {
    translate: 0;
  }
}

@keyframes triangle-2 {
  0% {
    left: 34px;
    top: 19px;
  }
  100% {
    left: 17px;
    top: 10px;
  }
}

@keyframes triangle-3 {
  0% {
    left: 35px;
    top: 58px;
  }
  100% {
    left: 17px;
    top: 29px;
  }
}

@keyframes triangle-4 {
  0% {
    left: 2px;
    top: 79px;
  }
  100% {
    left: 1px;
    top: 40px;
  }
}

/* 
===============
BURGER ICON
===============
*/

.burger-icon {
  display: inline-block;

  cursor: pointer;
  padding: 2rem;
}

.bar1,
.bar2,
.bar3 {
  width: 35px;
  height: 5px;
  background: rgb(220, 215, 215);
  margin: 6px 0;
  transition: 0.4s;
}

.change .bar1 {
  transform: translate(0, 11px) rotate(-45deg);
}

.change .bar2 {
  opacity: 0;
}

.change .bar3 {
  transform: translate(0, -11px) rotate(45deg);
}

/* 
===============
HEADER
===============
*/

header {
  display: flex;
  position: fixed;
  background-color: rgba(0, 0, 0, 0.729);
  height: 100px;
  width: 100%;
  z-index: 500;
}

nav {
  display: flex;
  align-items: center;
  font-size: 2rem;
  height: 100%;
  width: 100%;
}

header a {
  display: flex;
  text-align: center;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
  color: rgb(220, 215, 215);
  height: 100%;
  padding: 0 2rem;
}

header a:hover {
  background: orange;
  color: black;
}

.burger-container {
  display: flex;
  position: absolute;
  align-items: center;
  justify-content: center;
  right: 1px;
  top: 1px;
}

@media screen and (max-width: 1110px) {
  nav {
    display: none;
    position: absolute;
    padding-top: 1rem;
    flex-direction: column;
    align-items: flex-start;
    top: 100px;
    left: 0;
    background: rgba(0, 0, 0, 0.729);
    height: 400px;
    overflow: hidden;
    z-index: 500;
  }

  nav a {
    padding-left: 1rem;
    padding-right: 0;
    margin: 0;
    width: 100%;
  }

  header {
    display: block;
    position: fixed;
  }
}

@media screen and (min-width: 1110px) {
  .burger-container {
    display: none;
  }
}

.show-menu {
  display: flex;
}

/* 
===============
FOOTER
===============
*/

footer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: rgb(20, 20, 20);
  padding: 1rem;
  margin-top: 5rem;
}

footer a {
  color: white;
  padding: 0.2rem;
  transition: all 0.2s;
}

footer a:hover {
  transform: scale(1.1);
}

/* 
===============
HERO
===============
*/

.hero {
  height: 100vh;
}

.hero .domroon-logo {
  margin-top: 100px;
  transform: scale(2);
  margin: 0;
  padding: 0;
}

@media screen and (max-width: 1110px) {
  .hero .domroon-logo {
    transform: scale(1.5);
  }
}

.hero .domroon-logo p {
  color: white;
}

.hero .content {
  position: absolute;
}

/* 
===============
NEWS
===============
*/
.news {
  padding-top: 5rem;
  min-height: 100vh;
}

.news .content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

video {
  width: 100%;
  margin-bottom: 0.5rem;
}

.post {
  display: flex;
  flex-direction: column;
  /* align-items: center; */
  max-width: 800px;
  margin: 2rem;
  background: white;
  padding: 0.5rem;
  position: relative;
}

.post-header {
  color: white;
  padding: 1rem;
  margin: auto;
  /* background: orange; */
  background: black;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.5rem;
  width: 96%;
}

.post-header h2 {
  text-decoration: underline solid orange;
}

.post img {
  max-width: 100%;
  max-height: 500px;
  margin-bottom: 0.5rem;
}

.post .text {
  color: white;
  background: black;
  padding: 1rem;
  height: 100%;
}

/* .post .text a {
  color: blue;
} */

.post-media {
  display: flex;
  justify-content: center;
}

@media screen and (max-width: 700px) {
  .post .headline {
    font-size: 1.6rem;
    margin-right: 0.5rem;
  }

  .post .datetime {
    font-size: 0.9rem;
  }

  .post .text {
    font-size: 1.2rem;
  }

  .news {
    min-height: 0;
  }

  .post-header {
    width: 90%;
  }
}

@media screen and (max-width: 450px) {
  .post {
    margin: 4rem 0em;
  }
}

/* 
===============
ABOUT ME
===============
*/

.about-me {
  padding-top: 5rem;
  min-height: 100vh;
}

.about-me .content {
  display: flex;
  flex-wrap: wrap;
  padding: 1rem;
  align-items: center;
  justify-content: center;
}

.about-me img {
  max-width: 100%;
  max-height: 700px;
  margin-bottom: 0.5rem;
}

.about-me .text {
  padding: 1rem;
  max-width: 500px;
}

@media screen and (max-width: 700px) {
  .about-me {
    min-height: 0;
  }

  .about-me .text {
    padding: 0;
    padding-top: 1rem;
  }
}

/* 
===============
SKILLS
===============
*/

.skills {
  padding-top: 5rem;
}

.skills table {
  max-height: 1000px;
}

.skills .content {
  display: flex;
  height: 100vh;
  justify-content: center;
}

.skill-logo img {
  max-width: 70px;
  margin: 1rem;
}

.skills .text {
  font-size: 2.5rem;
  margin: 1rem 3rem;
}

.point-wrapper {
  display: flex;
  padding: 1rem;
}

.point {
  border: white solid 2px;
  width: 50px;
  height: 50px;
  border-radius: 100%;
  margin: 1rem;
}

.python-point {
  background: var(--python-clr);
}

.html-point {
  background: var(--html-clr);
}

.css-point {
  background: var(--css-clr);
}

.javascript-point {
  background: var(--js-clr);
}

.sql-point {
  background: var(--sql-clr);
}

.git-point {
  background: var(--git-clr);
}

.c-point {
  background: var(--c-clr);
}

.empty {
  background: black;
}

@media screen and (max-width: 1000px) {
  .skill-logo img {
    max-width: 50px;
    margin: 0;
  }

  .skills .text {
    font-size: 2rem;
    margin: 1rem 2rem;
  }

  .point-wrapper {
    padding: 0;
  }

  .point {
    width: 40px;
    height: 40px;
    margin: 0.7rem;
  }
}

@media screen and (max-width: 750px) {
  .skill-logo img {
    max-width: 40px;
    margin: 0;
  }

  .skills .text {
    font-size: 1.5rem;
    margin: 1rem 2rem;
  }

  .point-wrapper {
    padding: 0;
  }

  .point {
    width: 30px;
    height: 30px;
    margin: 0.5rem;
  }
}

@media screen and (max-width: 700px) {
  .skills .content {
    max-height: 50vh;
  }
}

@media screen and (max-width: 550px) {
  .skill-logo img {
    max-width: 30px;
    margin: 0;
  }

  .skills .text {
    font-size: 1.2rem;
    margin: 1rem 1rem;
  }

  .point-wrapper {
    padding: 0;
  }

  .point {
    width: 20px;
    height: 20px;
    margin: 0.3rem;
  }
}

/* 
===============
PROJECTS
===============
*/

.projects {
  padding-top: 5rem;
  min-height: 100vh;
}

.projects .content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.tech-area {
  display: flex;
  flex-wrap: wrap;
  justify-content: right;
  background: black;
  width: 100%;
  margin-bottom: 0.5rem;
  align-items: center;
}

.tech-logo img {
  display: flex;
  align-items: center;
  max-width: 15px;
  margin: 0;
}

.tech-name {
  padding-left: 0.5rem;
}

.tech {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  color: black;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 5px;
  margin: 1rem 0.5rem;
  transition: all 0.2s;
}

.tech:hover {
  filter: grayscale(100%);
}

.python-tech {
  background: var(--python-light-clr);
}

.html-tech {
  background: var(--html-light-clr);
}

.css-tech {
  background: var(--css-light-clr);
}

.js-tech {
  background: var(--js-light-clr);
}

.sql-tech {
  background: var(--sql-light-clr);
}

.sql-tech .tech-logo img {
  max-width: 30px;
}

.git-tech {
  background: var(--git-light-clr);
}

.c-tech {
  background: var(--c-light-clr);
}

@media screen and (max-width: 700px) {
  .projects {
    min-height: 0;
  }

  .tech-area {
    justify-content: center;
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  .tech {
    font-size: 0.7rem;
    font-weight: 600;
    width: 50px;
    height: 20px;
    margin: 0.15rem 0.15rem;
    padding: 0.3rem 0.4rem;
  }

  .tech-logo img {
    display: flex;
    align-items: center;
    max-width: 10px;
    margin: 0;
  }

  .sql-tech .tech-logo img {
    max-width: 20px;
  }
}

/* 
===============
PRIVACY
===============
*/

.privacy {
  padding-top: 6.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.privacy .content {
  max-width: 1200px;
  font-size: 2rem;
  background: white;
  color: black;
  padding: 1rem;
}

.privacy ul {
  padding: 1rem;
  padding-left: 2rem;
  font-size: 1.5rem;
}

.privacy h2 {
  padding-top: 3rem;
  text-decoration: underline orange;
}

.privacy h3 {
  text-decoration: underline dashed orange;
}

.privacy h4 {
  font-size: 1.7rem;
}

.privacy h2,
h3,
h4,
p {
  padding-bottom: 1rem;
}

.privacy h3 {
  font-size: 2.2rem;
}

@media screen and (max-width: 700px) {
  .privacy .content {
    font-size: 1rem;
  }

  .privacy h1 {
    margin: 0;
    text-align: left;
    font-size: 1.5rem;
  }

  .privacy h2 {
    font-size: 1.2rem;
  }

  .privacy h3 {
    font-size: 1.1rem;
  }

  .privacy h4 {
    font-size: 1rem;
  }

  .privacy p {
    font-size: 1rem;
  }

  .privacy ul {
    font-size: 1rem;
  }
}

/* 
===============
IMPRESS
===============
*/

.impressum h1 {
  padding-top: 6.5rem;
}

.impressum {
  padding: 1rem;
}
