/* ROOT */
:root {
  --primary-black: #1E1E1E;
  --primary-white: #F2ECFF;
  --primary-brand: #8685EF;
}
.phone-call, .detail {
  display: inline-block;
  padding: 14px 28px;
  background-color: #feba3e;
  color: #222;
  border-radius: 50px;
  font-size: 1.7rem;
  cursor: pointer;
  border: 0.1rem solid var(--primary-blue);
  font-family: 'Oswald-SemiBold';
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  margin-top: 0;
  text-decoration: none;
  font-weight: bold;
}

/* HEADER */
#header .toggle-button-container {
  font-family: "Poppins-Regular";
  font-weight: 600;
  color:var(--primary-black);
  position:absolute;
  right: 3.2rem;
  display: flex;
  align-items: center;
  padding: 0 1rem;
}
#toggle-language {
  cursor: pointer;
  opacity: 1;
}
#toggle-language:active {
  opacity: 0.7;
}
.toggle {
  transform: rotate(180deg);
}
#header .toggle-button-container p {
  font-size: 1.7rem;
}
.lang-srpski {
  margin-right: 1rem;
  opacity: 0.7;
}
.lang-english {
  margin-left: 1rem
}


/* PORTFOLIO */
#portfolio {
  display: flex;
  justify-content: space-between;
  padding: 80px 0;
  margin-top: 1.6rem;
  background-color: var(--primary-white);
  font-family: "Poppins-Regular";
  align-items: center;
}
#portfolio .left-side {
  margin-left: 6.4rem;
  margin-right: 6.4rem;
  width: 640px;
}
#portfolio h2 {
  font-size: 4.5rem;
  font-family: "Inter-Bold";
  color: var(--primary-black);
  margin-top: 0;
  margin-bottom: 0;
}
#portfolio p {
  font-size: 1.8rem;
}

#portfolio .right-side {
  position: relative;
  margin-right: 6.4rem;
  text-align: right;
  width: 450px
}
.right-side img {
  max-width: 100%;
  height: auto;
  border: 3px solid silver;
  border-radius: 7px;
  -webkit-box-shadow: 0px 10px 13px -7px #000000, 5px 5px 15px 5px rgba(0,0,0,0); 
  box-shadow: 0px 10px 13px -7px #000000, 5px 5px 15px 5px rgba(0,0,0,0);
}
#portfolio .belgrade-picture-caption {
  position: absolute;
  top: 32.4rem;
  text-align: center;
  font-style: italic;
  margin-top: 1rem;
  font-size: 1.5rem;
}

/* REPOSITORIES, PROJECTS */ 
#repositories, #projects {
  font-family: "Poppins-Regular";
  font-weight: 500;
  padding:64px 0;
  padding-bottom:80px;
  background-color: var(--primary-black);
  filter: brightness(95%);
  margin-bottom: 0;
}
#repositories .title, #projects .title {
  display: flex;
  align-items: last baseline;
  margin-left: 6.4rem;
  margin-right: 6.4rem;
}
#projects .title {
  align-items: flex-end;
}
.title .icon-color {
  color:#8685EF
}
#repositories h3, #projects h3 {
  color:#8685EF;
  font-family: "Inter-Regular";
  font-size: 3.7rem;
  margin-left: 2.4rem;
  margin-bottom: 0;
  margin-top: 0;
}
.repositories, .projects {
  margin-top: 6.4rem;
  margin-right: 6.4rem;
  margin-left:16rem;
}
.repositories p, .projects p {
  font-family: "Inter-Regular";
  font-size: 1.8rem;
  color:var(--primary-white);
  margin-bottom: 0;
}
#repositories a, #projects a {
  font-family: "Poppins-Regular";
  font-weight: 600;
  font-size: 2.2rem;
  color:#fab565;
  text-decoration: none;
  filter: brightness(85%);

}
#repositories a:hover, #projects a:hover {
  filter: brightness(100%)
}
#repositories .repositorium-description, #projects .project-description {
  font-family: "Poppins-Regular";
  font-weight: 200;
  margin-top:0.4rem;
}
#projects img {
  filter: brightness(90%);
  width: 64px;
  height: auto;
}

/* ICONS-CAROUSEL */
.icons-carousel {
  background-color: var(--primary-white);
}
.carousel-container {
  display: flex;
  justify-content: space-around;
  margin-left: 6.4rem;
  margin-right: 6.4rem;
  padding: 80px 0;
}

/* FOOTER */
footer {
  background-color: var(--primary-white);
  font-family: "Inter-Regular", "Helvetica";
}
.footer-container {
  display: flex;
  justify-content: space-between;
  margin-left: 6.4rem;
  margin-right: 6.4rem;
  padding: 80px 0;
}
.form-container {
  border: 1px solid silver;
  padding: 10px;
}
footer h4 {
  font-family: "Inter-Regular";
  font-size: 1.5rem;
  color:var(--primary-black);
}
footer h4:first-of-type {
  margin-bottom: 1rem;
}
#email, #message {
  border: 1px solid silver;
  font-family: "Inter-Regular";
  font-size: 1.4rem;
  background-color: var(--primary-white);
}
#email, #message, #submit-btn {
  width: 100%;
  padding: 1rem 0;
  padding-left: 1rem;
}
#submit-btn {
  font-size: 1.5rem;
  font-weight: 600;
  font-family: "Inter-Regular", "Helvetica";
  cursor: pointer;
  background-color: #4D4C89;
  color: var(--primary-white);
}
::placeholder {
  color: var(--primary-black);
  filter: brightness(60%);
}
 #footer-image-container {
  max-width: 256px;
  align-self: last baseline;
  margin-bottom: -10px;
  margin-left: 6.4rem;
  margin-right: 6.4rem;
}
#footer-image-container img {
  width: 100%;
  height: auto;
}
.right-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}
.links-container {
  display: flex;
}

footer ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  line-height: 32px;
  font-family: "Inter-Regular", "Helvetica";
  font-weight: 500;
  font-size: 1.5rem;
}
footer .links a {
  text-decoration: none;
  color:var(--primary-black);
}
footer .links a:hover {
 font-weight: 600;
 color:#4D4C89;
}
footer .repos-container {
 margin-right: 2.4rem;
}
.fa-color {
  color:#4D4C89;
  cursor: pointer;
  margin-right: 2.4rem;
}
.fa-color:hover {
  color:var(--primary-black);
}
.cooperation-open {
  margin-right: 2.4rem;
  font-size: 1.5rem;
  font-weight: 600;
  font-family: "Inter-Regular", "Helvetica";
  color:var(--primary-black);
  text-align: center;
  font-style: italic;
  margin-bottom: -10px;
}
#end-block {
  display: flex;
  font-family: Inter-Regular;
  font-size: 1.3rem;
  justify-content: center;
  align-items: center;
  padding: 12px 0;
  background-color: var(--primary-black);
  color:#D9D9D9;
  filter:brightness(85%)
}

/* RESPONSIVE */
@media screen and (max-width: 992px) {

  /* PORTFOLIO */ 
  #portfolio {
    flex-direction: column;
  }
  #portfolio .left-side {
    margin-left: 0;
    margin-right: 0;
    width: 80%;
  }
  #portfolio .right-side {
    margin-left: 0;
    margin-right: 0;
    max-width: 80%;
    margin-top: 1.8rem;
    margin-bottom: 2.4rem;
  }
  #footer-image-container {
    display: none;
  }

}

@media screen and (max-width: 767px) {

  .phone-call {
    margin-top: 4.8rem;
  }
  /* REPOSITORIES, PROJECTS */ 
  #repositories .title, #projects .title {
    margin-left: 3.2rem;
    margin-right: 3.2rem;
  }
  .repositories, .projects {
    margin-left:6.4rem;
  }

  /* ICONS_CAROUSEL */
  .carousel-container {
    margin-left: 3.2rem;
    margin-right: 3.2rem;
    flex-wrap: wrap;
    padding: 60px 0;
  }
  .icon-container {
    max-width: 256px;
    margin: 2rem;
  }

  /* FOOTER */
  .footer-container {
    flex-direction: column;
    margin-left: 3.2rem;
    margin-right: 3.2rem;
  }
  #contact-form {
    align-self: center;
    width: 70%;
  }
  .right-side {
    margin-top: 4.2rem;
  }
  .fa-color {
    color:#4D4C89;
    cursor: pointer;
    margin-top: 6.4rem;
  }
  .cooperation-open p {
    margin-right: 0;
    margin-bottom: 0;
    margin-top: 3.2rem
  }
}

@media screen and (max-width: 600px){

  /* PORTFOLIO */
  #portfolio {
    padding: 64px 0;
  }
  #portfolio h2 {
    font-size: 3.7rem;
  }
  #portfolio p {
    font-size: 1.6rem;
  }
  #portfolio .right-side {
    width: 300px;
  }
  .right-side img {
    max-width: 300px;
  }
  #portfolio .belgrade-picture-caption {
    top: 22rem;
  }

  /* REPOSITORIES, PROJECTS */
  #repositories, #projects {
    padding: 64px 0;
  }
  .repositories, .projects {
    margin-left:3.2rem;
    margin-right: 3.2rem;
  }
  #repositories .title, #projects .title {
    margin-left: 2.4rem;
    margin-right: 2.4rem;
    flex-direction: column;
    align-items: center;
  }
  #repositories h3, #projects h3 {
    font-size: 3.1rem;
    align-self: center;
    margin-top: 1rem;
  }
  .icon-internet-container {
    align-self: center;
  }
  .repositories p, .projects p {
    font-size: 1.6rem;
  }
  #repositories a, #projects a {
    font-size: 2rem;
  }
  #projects .title {
    align-items: flex-end;
  }
  #repositories h3, #projects h3 {
    margin-left:0;
  }
  /* ICONS CAROUSEL */
  .carousel-container {
    padding: 64px 0;
  }

  /* FOOTER */
  .footer-container {
    padding: 64px 0;
  }
  #contact-form {
    width: 90%;
  }
}
