/* Author: vidux.sh */
@import url("https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap");

/* Main */
html,
body {
  height: 100%;
  width: 100%;
}

#newsletter {
  padding-bottom: 50px;
}

/* Start Intro Animation */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Roboto", sans-serif;
}

header {
  position: relative;
  left: 0;
  top: 0;
  width: 100%;
  height: 80px;
  display: flex;
  flex-direction: line;
  gap: 20px;
}

header h4 {
  position: absolute;
  left: 10%;
  bottom: 1rem;
  font-size: 1.6rem;
}

/* Splash screen */
.intro {
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  background-color: #161616;
  transition: 1s;
}

.logo-header {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
}

.logo {
  position: relative;
  display: inline-block;
  bottom: -20px;
  opacity: 0;
}

.logo.active {
  bottom: 0;
  opacity: 1;
  transition: ease-in-out 0.5s;
}

.logo.fade {
  bottom: 150px;
  opacity: 0;
  transition: ease-in-out 0.5s;
}
/* End Intro Animation */

/* Start Theme Selector */
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body{
  font-family: "Roboto", sans-serif;
  color: var(--color-4);
}

/* Light Theme colors */
body[data-theme="light"] {
  --color-1: rgb(196, 220, 240);
  --color-2: white;
  --color-3: white;
  --color-4: rgb(80, 82, 110);
}

/* Dark Theme colors */
body[data-theme="dark"] {
  --color-1: #1e1f26;
  --color-2: #292c33;
  --color-3: rgb(40, 40, 42);
  --color-4: rgb(186, 186, 202);
}

section {
  background-color: var(--color-1);
  min-height: 100vh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.container {
  width: 90%;
  margin: 0 auto;
  background-color: var(--color-2);
  border-radius: 8px;
  padding: 20px;
  max-width: fit-content;
}

table {
  width: 100%;
}

a {
  color: var(--color-1);
}

p {
  margin-top: 10px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 1px;
  line-height: 25px;
}

button {
  background-color: var(--color-4);
  padding: 10px 30px;
  border: none;
  font-size: 24px;
  text-transform: uppercase;
  color: var(--color-3);
  border-radius: 4px;
  margin-top: 20px;
  cursor: pointer;
}

.theme-switcher {
  position: absolute;
  right: 30px;
  top: 30%;
}

input {
  width: 0;
  height: 0;
  display: none;
  visibility: hidden;
}

.noHidden {
  width: auto;
  height: auto;
  display: block;
  visibility: visible;
}

.checkbox {
  width: auto;
  height: auto;
  display: block;
  visibility: visible;
}

th, td {
  padding: 8px;
  border: 4px solid #ddd;
  text-align: left;
  border-radius: 4%;
}

label {
  cursor: pointer;
  display: block;
  text-indent: -9999px;
  height: 30px;
  width: 60px;
  border-radius: 50px;
  background-color: rgb(255, 255, 255);
  transition: 0.5s ease background-color;
}

label::after {
  position: absolute;
  content: "";
  width: 20px;
  height: 20px;
  border-radius: 50px;
  top: 50%;
  left: 5px;
  transform: translateY(-50%);
  background-color: rgb(46, 42, 68);
  transition: 0.5s ease;
}

input:checked + label::after {
  left: calc(100% - 25px);
  background-color: aliceblue;
}

input:checked + label {
  background-color: rgb(25, 26, 37);
  border: 2px solid whitesmoke;
}

footer{
  background-color: var(--color-1);
  width: 100%;
  position: bottom;
  bottom: 0px;
}
/* End Theme Selector */

/* Start Table */
.styled-table {
  border-collapse: collapse;
  margin: 25px 0;
  font-size: 0.9em;
  font-family: "Roboto", sans-serif;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}

.styled-table thead tr {
  background-color: #009879;
  color: var(--color-2)fff;
  text-align: left;
}

.styled-table th,
.styled-table td {
    padding: 12px 15px;
}

.styled-table tbody tr {
  border-bottom: 1px solid #dddddd;
}

.styled-table tbody tr:nth-of-type(even) {
  background-color: var(--color-2);
}

.styled-table tbody tr:last-of-type {
  border-bottom: 2px solid #009879;
}

.styled-table tbody tr.active-row {
  font-weight: bold;
  color: #009879;
}
/* End Table */

/* Start Code Layout */
.code {
  font-family: Consolas, monospace;
  font-size: 16px;
  color: #333;
  background-color: #f5f5f5;
  padding: 16px;
  border-radius: 4px;
  overflow-x: auto;
}

.code pre {
  margin: 0;
  white-space: pre-wrap;
}
/* End Code Layout */

/* Start CV Layout */
.bold {
  font-weight: 700;
  font-size: 20px;
  text-transform: uppercase;
}

.semi-bold {
  font-weight: 500;
  font-size: 16px;
}

.resume {
  width: 800px;
  height: auto;
  display: flex;
  margin: 50px auto;
}

.resume .resume_left {
  width: 280px;
  background: var(--color-2);
}

.resume .resume_left .resume_profile {
  width: 100%;
  height: 280px;
}

.resume .resume_left .resume_profile img {
  width: 100%;
  height: 100%;
}

.resume .resume_left .resume_content {
  padding: 0 25px;
}

.resume .title {
  margin-bottom: 20px;
}

.resume .resume_left .bold {
  color: var(--color-4);
}

.resume .resume_left .regular {
  color: var(--color-4);
}

.resume .resume_item {
  padding: 25px 0;
  border-bottom: 2px solid var(--color-1);
}

.resume .resume_left .resume_item:last-child,
.resume .resume_right .resume_item:last-child {
  border-bottom: 0px;
}

.resume .resume_left ul li {
  display: flex;
  margin-bottom: 10px;
  align-items: center;
}

.resume .resume_left ul li:last-child {
  margin-bottom: 0;
}

.resume .resume_left ul li .icon {
  width: 35px;
  height: 35px;
  background: var(--color-2);
  color: var(--color-1);
  border-radius: 50%;
  margin-right: 15px;
  font-size: 16px;
  position: relative;
}

.resume .icon i,
.resume .resume_right .resume_hobby ul li i {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.resume .resume_left ul li .data {
  color: var(--color-4);
}

.resume .resume_left .resume_skills ul li {
  display: flex;
  margin-bottom: 10px;
  color: var(--color-4);
  justify-content: space-between;
  align-items: center;
}

.resume .resume_left .resume_skills ul li .skill_name {
  width: 25%;
}

.resume .resume_left .resume_skills ul li .skill_progress {
  width: 40%;
  margin: 0 5px;
  height: 5px;
  background: var(--color-1);
  position: relative;
}

.resume .resume_left .resume_skills ul li .skill_per {
  width: 15%;
}

.resume .resume_left .resume_skills ul li .skill_progress span {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: var(--color-2);
}

.resume .resume_left .resume_social .semi-bold {
  color: var(--color-4);
  margin-bottom: 3px;
}

.resume .resume_right {
  width: 520px;
  background: var(--color-2);
  padding: 25px;
}

.resume .resume_right .bold {
  color: var(--color-4);
}

.resume .resume_right .resume_work ul,
.resume .resume_right .resume_education ul {
  padding-left: 40px;
  overflow: hidden;
}

.resume .resume_right ul li {
  position: relative;
}

.resume .resume_right ul li .date {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 15px;
}

.resume .resume_right ul li .info {
  margin-bottom: 20px;
}

.resume .resume_right ul li:last-child .info {
  margin-bottom: 0;
}

.resume .resume_right .resume_work ul li:before,
.resume .resume_right .resume_education ul li:before {
  content: "";
  position: absolute;
  top: 5px;
  left: -25px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: 2px solid var(--color-1);
}

.resume .resume_right .resume_work ul li:after,
.resume .resume_right .resume_education ul li:after {
  content: "";
  position: absolute;
  top: 14px;
  left: -21px;
  width: 2px;
  height: 100%;
  background: var(--color-1);
}

.resume .resume_right .resume_hobby ul {
  display: flex;
  justify-content: space-between;
}

.resume .resume_right .resume_hobby ul li {
  width: 80px;
  height: 80px;
  border: 2px solid var(--color-1);
  border-radius: 50%;
  position: relative;
  color: var(--color-1);
}

.resume .resume_right .resume_hobby ul li i {
  font-size: 30px;
}

.resume .resume_right .resume_hobby ul li:before {
  content: "";
  position: absolute;
  top: 40px;
  right: -52px;
  width: 50px;
  height: 2px;
  background: var(--color-1);
}

.resume .resume_right .resume_hobby ul li:last-child:before {
  display: none;
}
/* End CV Layout */
