

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

:root {
  --red: #fe3e57;
  --light-red: #e94d62;
  --white: #fffffe;
  --dim-white: #e1e1e1;
  --primary-text: rgb(230, 241, 255);
  --territory-text: rgb(214, 217, 224);
  --secondary-text: rgb(166, 172, 194);
  --secondary-head: rgb(215, 224, 236);
  --primary-background:#101010	;
  --card-background:#002244;
  --secondary-background: #181818	;
  --secondary-button: #294572;
  --dark-shadow: #48484a;

  --montserrat: "Montserrat", sans-serif;
  --open-sans: "Open Sans", sans-serif;
}

html {
  font-size: 10px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--montserrat);
  background-color: var(--primary-background);
  color: var(--white);
  position: relative;
  width: 100%;
}

h1 {
  font-size: 5.7rem;
  letter-spacing: -1px;
}
h2 {
  font-size: 5rem;
}
h3 {
  font-size: 2rem;
}
p {
  font-size: 1.8rem;
  font-family: var(--open-sans);
  text-align: justify;
  line-height: 3.3rem;
  color: var(--territory-text);
}

li {
  font-size: 1.9rem;
  font-family: var(--open-sans);
  text-align: justify;
  color: var(--territory-text);
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 7px;
}
  
::-webkit-scrollbar-track {
  background-color: var(--territory-text);
}

::-webkit-scrollbar-thumb {
  -webkit-border-radius: 10px;
  border-radius: 50px;
  background: #5757577a;
}

::-webkit-scrollbar-thumb:hover {
  background: #1818187a;
}

/* Custom Styling Starts */

.loader-body {
  position: fixed;
  top: 0;
  left: 0;
  background-color: var(--primary-background);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  z-index: 999;
  width: 100vw;
  height: 100vh;
  overflow-y: hidden;
}
.loader-body .loader-name{
  padding-top:30px;
  position: relative;
  right: 260px;
  color: var(--light-red);
  font-size: 15px;
}
.loader-body .loader-cont{
  font-size: 22px;
  position:relative;
  padding-bottom: 10px;
  left: 45px;
}

.add-on {
  animation: bottomUp 0.7s 1 0s linear;
  animation-delay: 500ms;
}
.email {
  position: fixed;
  bottom: 0;
  right: 58px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
}

.mail {
  writing-mode: vertical-rl;
  font-size: 10px;
  line-height: 20px;
  text-decoration: none;
  letter-spacing: 2px;
}

.mail-line {
  width: 2px;
  height: 150px;
  margin-top: 30px;
}

.social {
  position: fixed;
  bottom: 0;
  right: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
}

.social a {
  width: 100%;
  height: 100%;
}

.social-i {
  font-size: 20px;
  margin: 10px auto;
  transition: 0.3s;
  transition-property: color;
}

.social-i:hover {
  color: var(--red);
}

.social-line {
  width: 2px;
  height: 50px;
  margin-top: 10px;
}

.mail,
.social-i {
  color: var(--dim-white);
}

.social-line,
.mail-line {
  background-color: var(--dim-white);
}

.nav-bar {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: 15%;
  padding-right: 15%;
  height: 100px;
  background-color: var(--primary-background);
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  transition: 350ms;
  transition-property: height;
}

.floatingNav {
  height: 60px;
  box-shadow: 0px 1px 10px var(--dark-shadow);
}

#logo h3 {
  color: var(--white);
  font-size: 2.2rem;
  cursor: pointer;
}

#logo h3 span {
  color: var(--red);
}

.nav-elements {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
}

.nav-link a {
  font-family: var(--montserrat);
  color: var(--white);
  font-weight: 700;
  font-size:20px;
  text-decoration: none;
  padding-left: 2.5vw;
  padding-right: 2.5vw;
  transition: 0.3s;
  transition-property: color;
}

.nav-link a:hover {
  color: var(--red);
}

#nav-btn {
  width: 130px;
  height: 40px;
  background-color: var(--secondary-button);
  border: 1px solid var(--red);
  margin-left: 3vw;
  transition: 0.2s;
  transition-property: background-color;
  cursor: pointer;
  user-select: none;
}

#nav-btn:hover {
  background-color: var(--red);
}

#nav-btn p {
  font-family: var(--montserrat);
  color: var(--white);
  text-align: center;
  font-weight: 700;
  font-size: 1.6rem;
  line-height: 40px;
}

.ham {
  display: none;
}

.main-wrapper {
  margin-left: 15%;
  margin-right: 15%;
}

.main {
  margin-top: 36px;
  min-height: 100vh;
  padding-bottom: 120px;
  padding-top: 120px;
  width: 100%;
  background-color: var(--primary-background);
  display: flex;
  justify-content: flex-start;
  align-items: center;
  position: relative;
}

.main-content h3 {
  color: var(--dim-white);
  font-size: 2rem;
  font-weight: 600;
}

.main-content h1 {
  color: var(--white);
  font-size: 6rem;
  font-weight: 700;
  margin-bottom: 1rem;
  margin-top: 0.5rem;
}

.main-content h1 span {
  color: var(--red);
}

.main-content h2 {
  color: var(--white);
  font-weight: 600;
  font-size: 3.5rem;
}

.btn-grp {
  margin-top: 5.5rem;
  display: flex;
  align-items: center;
}

.btn-primary{
  box-shadow: 0 0 15px var(--light-red);
  transform: translate(-10px);
}

.socialmedia{
  align-items: center;
  margin-top: 1rem;
  display: flex;
  margin-left: 4rem;
  gap: 15rem;
  font-size: 15px;
}

.btn {
  width: 180px;
  height: 55px;
  color: var(--white);
  border-radius: 5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 5px 6px 21px 6px rgba(0, 0, 0, 0.2);
  user-select: none;
  transition: 0.3s;
  transition-property: box-shadow;
}
.btn p {
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--white);
  font-family: var(--montserrat);
}

.btn:hover {
  box-shadow: 2px 2px 20px 2px var(--dim-white);
  transform: translate(-2px);
}

.primary {
  background-color: var(--red);
  margin-right: 40px;
}

.secondary {
  background-color: var(--secondary-button);
}

.main-img {
  position: absolute;
  right: -100px;
}

.hero-img {
  display: block;
  width: 40vw;
}

.section {
  padding: 120px 15%;
}

.about {
  background-color: var(--secondary-background);
  min-height: 100vh;
  display: flex;
  height: 100%;
  padding-bottom: 0px;
  align-items: center;
}
.about-content {
  margin-left: 50px;
  flex-basis: 60%;
}

.about-img{
  flex-basis: 40%;
  height: 100%;
  object-fit: cover;
  box-shadow: 0 0 14px var(--light-red);
  border-radius: 50%;
}

.about-img:hover{
  box-shadow: 0 0 90px var(--light-red);
  transform: translate(-18px);

}

.about-brief {
  margin-bottom: 30px;
}

.about-brief h1 {
  margin-bottom: 15px;
}

.about-tabs {
  margin-top: 30px;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  width: 100%;
  font-family: var(--montserrat);
  list-style: none;
  margin-left: -6px;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

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


#portfolio .tabs li{
  margin-top: 24px;
}

#portfolio h3{
  font-size: 16px;
}

.tab {
  position: relative;
  cursor: pointer;
  font-size: 2rem;
  font-family: var(--montserrat);
  font-weight: 600;
  color: var(--primary-text);
  margin: 0 15px;
  margin-bottom: 10px;
  line-height: 30px;
  user-select: none;
  transition: 0.5s;
  transition-property: color;
}

.tab::after {
  content: "";
  display: block;
  background: var(--dim-white);
  height: 2.5px;
  max-width: 50px;
  width: 100%;
  transition: 0.5s;
}

.active::after {
  content: "";
  display: block;
  background: var(--red);
  height: 2.5px;
  max-width: 150px;
  width: 100%;
  transition: 0.5s;
}

.active-tab {
  color: var(--red);
}

.tab-content {
  margin-top: 20px;
  height: 50px;
}

.tab-content h3 {
  font-family: var(--open-sans);
  font-weight: 500;
  color: var(--primary-text);
}
.tab-content p {
  font-size: 1.5rem;
  text-align: left;
}

.link {
  cursor: pointer;
  position: relative;
}

.about-img img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.portfolio {
  min-height: 100vh;
  padding-left: 12%;
  padding-right: 12%;
  background-color: var(--secondary-background);
}

.portfolio h2,
.portfolio h3 {
  text-align: center;
}
.portfolio h3 {
  margin-top: 1.5rem;
  font-size: 2.2rem;
  font-weight: 500;
  color: var(--secondary-head);
}


.portfolio .tab::after{
  max-width: 80px;
}

.portfolio .active::after{
  max-width: 150px;
}

.portfolio .active.tab{
  color:var(--light-red);
}


.works {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
 
}

.all-works,
.web-works,
.android-works,
.other-works {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(36rem, 1fr));
  gap: 30px;
  margin-top: 6rem;
  width: 100%;
}

.project-card{
  box-shadow: 0 0 10px var(--light-red);
}




.project-card:hover{
  box-shadow: 2px 0 20px 3px var(--light-red);

}


.other-works {
  grid-template-columns: 36rem;
}


.project-tabs {
  margin-top: 5rem;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-tab {
  cursor: pointer;
  user-select: none;
  line-height: 5rem;
  font-weight: 700;
  font-size: 1.7rem;
  text-align: center;
  color: var(--territory-text);
  width: 18rem;
  transition: 0.3s;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  position: relative;
}

.project-tab::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 3px;
  left: 0;
  right: 0;
  bottom: 0px;
  background-color: var(--secondary-text);
}

.active-project {
  color: var(--red);
}
.active-project::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 3px;
  left: 0;
  right: 0;
  bottom: 0px;
  background-color: var(--red);
}

/* Card UI */

.project-card {
  justify-self: stretch;
  position: relative;
  height: 35rem;
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
  overflow: hidden;
 
}

.hidden{
  display: none;
}



.project-img {
  width: 100%;
  height: 25rem;
  object-fit: cover;
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
  transition: 0.3s ease-in;
  transition-property: transform;
}

.card-content {
  height: 11rem;
  position: absolute;
  padding: 3.9rem 3rem;
  bottom: 0px;
  left: 0;
  right: 0;
  background-color: var(--card-background);
  transition: 0.4s ease-in;
  overflow: hidden;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}

.card-content p {
  font-size: 1.5rem;
  line-height: 2.2rem;
  text-align: left;
  font-weight: 400;
  color: var(--primary-text);
  letter-spacing: 0.5px;
}
.card-content h4,
.card-content h5 {
  color: white;
}
.card-content h4 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.card-content h5 {
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--dim-white);
  margin-bottom: 4rem;
}

.card-icons {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 3rem;
  padding-left: 0;
}

.card-icon {
  cursor: pointer;
  margin-right: 20px;
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--red);
  background: linear-gradient(
    90deg,
    rgba(254, 62, 87, 1) 0%,
    rgba(250, 91, 111, 1) 100%
  );
  transition: 0.1s;
}

.demo {
  right: 9rem;
}

.card-i {
  font-size: 2.5rem;
}

.demo i {
  font-size: 2.4rem;
}

/* Card UI Ends */

.view-more {
  margin-top: 8rem;
  background-color: var(--red);
}
.view-more p {/* --------------------------------------------------------
Style Sheet for Portfolio Website of Aromal Anil

version: 1.0
Start Date : 09-02-2020
last modified: 08-12-2021 by Aromal Anil
author: Aromal Anil
email: aromalanilkannan@gmail.com
website: https://aromalanil.in/
----------------------------------------------------------*/

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

:root {
  --red: #fe3e57;
  --light-red: #e94d62;
  --white: #fffffe;
  --dim-white: #e1e1e1;
  --primary-text: rgb(230, 241, 255);
  --territory-text: rgb(214, 217, 224);
  --secondary-text: rgb(166, 172, 194);
  --secondary-head: rgb(215, 224, 236);
  --primary-background: #17315a;
  --card-background: rgb(35, 64, 107);
  --secondary-background: rgb(13, 34, 68);
  --secondary-button: #294572;
  --dark-shadow: #051020;
  --footer: #131d2c;

  --montserrat: "Montserrat", sans-serif;
  --open-sans: "Open Sans", sans-serif;
}

html {
  font-size: 10px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--montserrat);
  background-color: var(--primary-background);
  color: var(--white);
  position: relative;
  width: 100%;
}
h1 {
  font-size: 5.7rem;
  letter-spacing: -1px;
}
h2 {
  font-size: 5rem;
}
h3 {
  font-size: 2rem;
}
p {
  font-size: 1.8rem;
  font-family: var(--open-sans);
  text-align: justify;
  line-height: 3.3rem;
  color: var(--territory-text);
}

li {
  font-size: 1.9rem;
  font-family: var(--open-sans);
  text-align: justify;
  color: var(--territory-text);
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 7px;
}

::-webkit-scrollbar-track {
  background-color: var(--territory-text);
}

::-webkit-scrollbar-thumb {
  -webkit-border-radius: 10px;
  border-radius: 50px;
  background: #5757577a;
}

::-webkit-scrollbar-thumb:hover {
  background: #1818187a;
}

/* Custom Styling Starts */

.loader-body {
  position: fixed;
  top: 0;
  left: 0;
  background-color: var(--primary-background);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  width: 100vw;
  height: 100vh;
  overflow-y: hidden;
}

.add-on {
  animation: bottomUp 0.7s 1 0s linear;
  animation-delay: 500ms;
}
.email {
  position: fixed;
  bottom: 0;
  right: 58px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
}

.mail {
  writing-mode: vertical-rl;
  font-size: 10px;
  line-height: 20px;
  text-decoration: none;
  letter-spacing: 2px;
}

.mail-line {
  width: 2px;
  height: 150px;
  margin-top: 30px;
}

.social {
  position: fixed;
  bottom: 0;
  left: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
}

.social a {
  width: 100%;
  height: 100%;
}

.social-i {
  font-size: 20px;
  margin: 10px auto;
  transition: 0.3s;
  transition-property: color;
}

.social-i:hover {
  color: var(--red);
}

.social-line {
  width: 2px;
  height: 100px;
  margin-top: 10px;
}

.mail,
.social-i {
  color: var(--dim-white);
}

.social-line,
.mail-line {
  background-color: var(--dim-white);
}

.nav-bar {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: 15%;
  padding-right: 15%;
  height: 100px;
  background-color: var(--primary-background);
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  transition: 350ms;
  transition-property: height;
}

.floatingNav {
  height: 60px;
  box-shadow: 0px 1px 10px var(--dark-shadow);
}

#logo h3 {
  color: var(--white);
  font-size: 2.2rem;
  cursor: pointer;
}

#logo h3 span {
  color: var(--red);
}

.nav-elements {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
}

.nav-link a {
  font-family: var(--montserrat);
  color: var(--white);
  font-weight: 700;
  font-size: 1.6rem;
  text-decoration: none;
  padding-left: 2.5vw;
  padding-right: 2.5vw;
  transition: 0.3s;
  transition-property: color;
}

.nav-link a:hover {
  color: var(--red);
}

#nav-btn {
  width: 130px;
  height: 40px;
  background-color: var(--secondary-button);
  border: 1px solid var(--red);
  margin-left: 3vw;
  transition: 0.2s;
  transition-property: background-color;
  cursor: pointer;
  user-select: none;
}

#nav-btn:hover {
  background-color: var(--red);
}

#nav-btn p {
  font-family: var(--montserrat);
  color: var(--white);
  text-align: center;
  font-weight: 700;
  font-size: 1.6rem;
  line-height: 40px;
}

.ham {
  display: none;
}

.main-wrapper {
  margin-left: 15%;
  margin-right: 15%;
}

.main {
  margin-top: 36px;
  min-height: 100vh;
  padding-bottom: 120px;
  padding-top: 120px;
  width: 100%;
  background-color: var(--primary-background);
  display: flex;
  justify-content: flex-start;
  align-items: center;
  position: relative;
}

.main-content h3 {
  color: var(--dim-white);
  font-size: 2rem;
  font-weight: 600;
}

.main-content h1 {
  color: var(--white);
  font-size: 6rem;
  font-weight: 700;
  margin-bottom: 1rem;
  margin-top: 0.5rem;
}

.main-content h1 span {
  color: var(--red);
}

.main-content h2 {
  color: var(--white);
  font-weight: 600;
  font-size: 3.5rem;
}

.btn-grp {
  margin-top: 5.5rem;
  display: flex;
  align-items: center;
}

.btn {
  width: 180px;
  height: 55px;
  color: var(--white);
  border-radius: 5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 5px 6px 21px 6px rgba(0, 0, 0, 0.2);
  user-select: none;
  transition: 0.3s;
  transition-property: box-shadow;
}
.btn p {
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--white);
  font-family: var(--montserrat);
}

.btn:hover {
  box-shadow: 5px 6px 12px 4px rgba(0, 0, 0, 0.31);
}

.primary {
  background-color: var(--red);
  margin-right: 40px;
}

.secondary {
  background-color: var(--secondary-button);
}

.main-img {
  position: absolute;
  right: -100px;
}

.hero-img {
  display: block;
  width: 40vw;
}

.section {
  padding: 120px 15%;
}

.about {
  background-color: var(--secondary-background);
  min-height: 100vh;
  display: flex;
  height: 100%;
  padding-bottom: 0px;
  align-items: center;
}
.about-content {
  margin-left: 50px;
  flex-basis: 60%;
}

.about-img {
  flex-basis: 40%;
  height: 100%;
}

.about-brief {
  margin-bottom: 30px;
}

.about-brief h1 {
  margin-bottom: 15px;
}

.about-tabs {
  margin-top: 30px;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  width: 100%;
  font-family: var(--montserrat);
  list-style: none;
  margin-left: -15px;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
.tab {
  position: relative;
  cursor: pointer;
  font-size: 2rem;
  font-family: var(--montserrat);
  font-weight: 600;
  color: var(--primary-text);
  margin: 0 15px;
  margin-bottom: 10px;
  line-height: 30px;
  user-select: none;
  transition: 0.5s;
  transition-property: color;
}

.tab::after {
  content: "";
  display: block;
  background: var(--dim-white);
  height: 2.5px;
  max-width: 50px;
  width: 100%;
  transition: 0.5s;
}

.active::after {
  content: "";
  display: block;
  background: var(--red);
  height: 2.5px;
  max-width: 150px;
  width: 100%;
  transition: 0.5s;
}

.active-tab {
  color: var(--red);
}

.tab-content {
  margin-top: 20px;
  height: 50px;
}

.tab-content h3 {
  font-family: var(--open-sans);
  font-weight: 500;
  color: var(--primary-text);
}
.tab-content p {
  font-size: 1.5rem;
  text-align: left;
}

.link {
  cursor: pointer;
  position: relative;
}

.about-img img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.portfolio {
  min-height: 100vh;
  padding-left: 12%;
  padding-right: 12%;
  background-color: var(--secondary-background);
}

.portfolio h2,
.portfolio h3 {
  text-align: center;
}
.portfolio h3 {
  margin-top: 1.5rem;
  font-size: 2.2rem;
  font-weight: 500;
  color: var(--secondary-head);
}

.works {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.all-works,
.web-works,
.android-works,
.other-works {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(36rem, 1fr));
  gap: 30px;
  margin-top: 6rem;
  width: 100%;
}
.other-works {
  grid-template-columns: 36rem;
}

.web-works,
.android-works,
.other-works {
  display: none;
}

.project-tabs {
  margin-top: 5rem;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-tab {
  cursor: pointer;
  user-select: none;
  line-height: 5rem;
  font-weight: 700;
  font-size: 1.7rem;
  text-align: center;
  color: var(--territory-text);
  width: 18rem;
  transition: 0.3s;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  position: relative;
}

.project-tab::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 3px;
  left: 0;
  right: 0;
  bottom: 0px;
  background-color: var(--secondary-text);
}

.active-project {
  color: var(--red);
}
.active-project::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 3px;
  left: 0;
  right: 0;
  bottom: 0px;
  background-color: var(--red);
}

/* Card UI */

.project-card {
  justify-self: stretch;
  position: relative;
  height: 35rem;
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
  overflow: hidden;
}

.hidden-card {
  display: none;
}

.project-img {
  width: 100%;
  height: 25rem;
  object-fit: cover;
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
  transition: 0.3s ease-in;
  transition-property: transform;
}

.card-content {
  height: 11rem;
  position: absolute;
  padding: 3.9rem 3rem;
  bottom: 0px;
  left: 0;
  right: 0;
  background-color: var(--card-background);
  transition: 0.4s ease-in;
  overflow: hidden;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}

.card-content p {
  font-size: 1.5rem;
  line-height: 2.2rem;
  text-align: left;
  font-weight: 400;
  color: var(--primary-text);
  letter-spacing: 0.5px;
}
.card-content h4,
.card-content h5 {
  color: white;
}
.card-content h4 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.card-content h5 {
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--dim-white);
  margin-bottom: 4rem;
}

.card-icons {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 3rem;
  padding-left: 0;
}

.card-icon {
  cursor: pointer;
  margin-right: 20px;
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--red);
  background: linear-gradient(
    90deg,
    rgba(254, 62, 87, 1) 0%,
    rgba(250, 91, 111, 1) 100%
  );
  transition: 0.1s;
}

.demo {
  right: 9rem;
}

.card-i {
  font-size: 2.5rem;
}

.demo i {
  font-size: 2.4rem;
}

/* Card UI Ends */

.view-more {
  margin-top: 8rem;
  background-color: var(--red);
}
.view-more p {
  font-size: 1.6rem;
}

#contact {
  background-color: var(--primary-background);
}

.contact h3 {
  font-size: 2.5rem;
  font-weight: 500;
}

.contact h1 {
  margin-bottom: 4rem;
}

.contact-wrapper {
  margin-top: 3rem;
  display: flex;
  width: 100%;
}

.contact-details {
  margin-top: 6rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.contact-container {
  cursor: pointer;
  margin-bottom: 5rem;
  border: 1.5px solid var(--primary-text);
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.5s ease;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
.mail-id {
  padding: 0 5.3rem;
}
.phone {
  padding: 0 11.1rem;
}

.contact-icon {
  margin: 2rem 0;
  width: 5rem !important;
  height: 5rem;
  border: 2px solid var(--primary-text);
  background-color: var(--primary-text);
  color: var(--primary-background);
  transition: 0.5s;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-icon i {
  font-size: 2rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}

.contact-info a {
  margin-left: 3rem;
  font-size: 1.6rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--primary-text);
  transition: 0.5s;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.s-medias {
  width: 100%;
}

.s-head {
  margin-top: 4rem;
  text-align: right;
  margin-bottom: 3rem;
}

.social-media-pack {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.social-media-pack a {
  width: 5rem;
  height: 5rem;
  text-align: center;
  background-color: var(--primary-text);
  border-radius: 50%;
  transition: 0.5s;
  margin: 0rem 0rem 2rem 2rem;
}

.contact-social {
  font-size: 2.6rem;
  line-height: 5.1rem;
  color: var(--primary-background);
  transition: 0.5s;
}

.contact-form {
  display: flex;
  flex-direction: column;
  width: 100%;
  position: relative;
}

.form-head {
  margin-bottom: 0;
}

.input {
  font-family: var(--montserrat);
  padding-left: 1.7rem;
  color: var(--white);
  font-size: 1.5rem;
  margin-top: 2.5rem;
  height: 5.5rem;
  background-color: var(--secondary-button);
  border: none;
  border-radius: 5px;
}

/* Removing autocomplete styling */

@-webkit-keyframes autofill {
  0%,
  100% {
    color: var(--white);
    background: var(--secondary-button);
  }
}

input:-webkit-autofill {
  -webkit-animation-delay: 1s; /* Safari support - any positive time runs instantly */
  -webkit-animation-name: autofill;
  -webkit-animation-fill-mode: both;
}

/* Removing autocomplete styling Finished*/

.input::placeholder {
  font-size: 1.5rem;
  color: rgba(255, 251, 251, 0.589);
}

.input:focus {
  outline: none;
}

#message {
  height: 20rem;
  resize: vertical;
  padding-top: 1.7rem;
}

.submit {
  font-family: var(--montserrat);
  margin-top: 3rem;
  background-color: var(--red);
  border: none;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--white);
  width: 15rem;
  height: 4.8rem;
}

.footer {
  padding: 3rem 15%;
  padding-top: 4rem;
  background-color: var(--footer);
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  position: relative;
  z-index: 0;
  margin-top: 7rem;
}

.footer hr {
  border: none;
  height: 0.1rem;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.171);
  margin-bottom: 1.5rem;
}

.footer-icons {
  width: 40vw;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 2rem 0;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.footer-i {
  color: var(--dim-white);
  font-size: 2.5rem;
  padding: 0 2rem;
}

.copyright {
  font-family: var(--open-sans);
  font-size: 1.6rem;
}

.footer p {
  font-size: 1.2rem;
}

.up-btn-wrapper {
  position: absolute;
  top: -2.3rem;
  height: 5rem;
  width: 5rem;
  border-radius: 50%;
  background-color: var(--red);
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.up-btn {
  position: relative;
  top: -0.3rem;
  font-size: 3.5rem;
  line-height: 5rem;
  width: 5rem;
  color: var(--dim-white);
  text-align: center;
}

@media only screen and (max-width: 1470px) {
  .section {
    padding-left: 10%;
    padding-right: 10%;
  }
}

@media only screen and (max-width: 1300px) {
  html {
    font-size: 8.8px;
  }
  .btn {
    width: 160px;
    height: 50px;
  }
}

/* Removes Add-On */
@media only screen and (max-width: 1200px) {
  .section {
    padding-left: 8%;
    padding-right: 8%;
  }
  .add-on {
    display: none;
  }
  .nav-bar {
    padding-left: 8%;
    padding-right: 8%;
  }
  .main-wrapper {
    margin-left: 8%;
  }
  .about-img img {
    min-height: 570px;
  }
}

@media only screen and (max-width: 970px) {
  html {
    font-size: 8px;
  }
  .nav-bar {
    padding-left: 10%;
    padding-right: 5%;
    height: 80px;
  }
  .floatingNav {
    height: 55px;
  }

  .nav-elements {
    opacity: 0;
    display: none;
    background-color: var(--dark-shadow);
    justify-content: center;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 100vw;
  }

  .nav-visible {
    display: flex;
    transition: 0.5s;
    transition-property: opacity;
    opacity: 1;
  }

  .nav-links {
    flex-direction: column;
  }

  .nav-link {
    margin-top: 5vh;
  }

  .nav-links a {
    padding-left: 0px;
    padding-right: 0px;
    font-size: 3rem;
  }

  #nav-btn {
    background-color: #11233f;
    margin-left: 0px;
    margin-top: 10vh;
    width: 180px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  #nav-btn p {
    font-size: 2.4rem;
  }

  .ham {
    display: block;
    position: relative;
    z-index: 20;
  }

  .main-wrapper {
    margin-left: 15%;
  }

  .main {
    margin-top: 0px;
    justify-content: center;
    flex-direction: column-reverse;
    text-align: center;
  }

  .main-content h2 {
    line-height: 50px;
  }

  .primary {
    margin-right: 20px;
  }

  .btn-grp {
    margin-top: 3rem;
    justify-content: center;
  }

  .main-img {
    position: static;
    right: 0px;
  }

  .main-img {
    margin-bottom: 5vh;
    height: 50%;
  }

  .hero-img {
    width: 75vw;
    max-width: 500px;
  }

  .section {
    padding: 60px 8%;
  }
  .about {
    flex-direction: column;
    padding-bottom: 0;
  }
  .about-content {
    margin-left: 0px;
    flex-basis: 70%;
  }
  .about-img img {
    min-height: 200px;
    min-height: 200px;
    max-width: 500px;
    max-height: 500px;
    height: 70vw;
    width: 70vw;
    object-fit: cover;
  }
  .about-brief h1 {
    margin-top: 30px;
  }
  .about-brief {
    margin-bottom: 0px;
  }
  .tab {
    font-size: 2.2rem;
  }
  .contact-wrapper {
    flex-direction: column;
  }
  .contact-details {
    margin-top: 8rem;
    align-items: center;
  }
  .contact-container {
    width: auto;
  }
  .s-head {
    text-align: center;
    margin-top: 2rem;
  }
  .social-media-pack {
    justify-content: center;
  }
  .social-media-pack a {
    margin: auto 1rem;
    margin-bottom: 2rem;
  }
}

@media screen and (max-width: 720px) {
  .all-works,
  .other-works {
    grid-template-columns: 1fr;
  }
}

@media only screen and (max-width: 600px) {
  .main {
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .about {
    padding-bottom: 0;
  }
  .main-content h1 {
    font-size: 10vw;
  }

  .main-content h2 {
    font-size: 5.5vw;
  }

  .main-content h3 {
    font-size: 4.7vw;
    margin-bottom: 15px;
  }

  .btn-grp {
    width: 100%;
  }
  .about-brief h1 {
    font-size: 4.3rem;
    text-align: center;
  }
  .tab-content {
    height: 70px;
  }
  .card-content {
    padding-top: 20px;
  }
  .card-content p {
    font-size: 1.7rem;
  }
  .card-content h4 {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
  }

  .card-content h5 {
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--dim-white);
    margin-bottom: 20px;
  }
  .contact-container {
    padding: 0 7vw;
  }
}

@media only screen and (max-width: 400px) {
  .btn {
    width: 40vw;
    height: 12.8vw;
  }
  .btn p {
    font-size: 4vw;
  }

  .portfolio h3 {
    font-size: 2rem;
  }
  .project-tabs {
    margin-top: 4rem;
  }
}

@media only screen and (min-height: 580px) and (max-width: 500px) {
  .main {
    padding-top: 18vh;
  }
  .main-content {
    padding-top: 3vh;
  }
}

/* Remove hovering on unsupported devices */
@media (hover: none) {
  .project-card:hover img {
    transform: scale(1);
  }
  .btn:hover {
    box-shadow: 5px 6px 21px 6px rgba(0, 0, 0, 0.2);
  }
  .project-tab:active {
    background-color: var(--secondary-button);
  }
  .view-card-details {
    height: 100%;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
  }
}

@media (hover: hover) {
  .card-icon:hover {
    transform: scale(1.08);
  }

  .project-tab:hover:not(.active-project) {
    background-color: var(--secondary-button);
  }
  .project-card:hover .card-content {
    height: 100%;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
  }
  .project-card:hover .project-img {
    transform: scale(1.07);
  }

  .contact-container:hover {
    background-color: var(--red);
    border: 1.5px solid var(--red);
  }
  .contact-container:hover .contact-icon {
    border: 2px solid var(--white);
    color: var(--red);
  }
  .social-media-pack a:hover {
    background-color: var(--red);
  }
  .social-media-pack a:hover .contact-social {
    color: var(--primary-text);
  }
}

/* Animations */

@keyframes bottomUp {
  0% {
    transform: translateY(150px);
    opacity: 0;
  }
  100% {
    transform: rotate(xx) translateY(0px);
    opacity: 1;
  }
}
  font-size: 1.6rem;
}



#contact {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  height: 40vh;
  margin-top: -100px;
  background-color: var(--primary-background);
}

.contact-info-upper-container {
  display: flex;
  justify-content: center;
  border-radius: 2rem;
  border: rgb(53, 53, 53) 0.1rem solid;
  border-color: rgb(163, 163, 163);
  background: white;
  margin: 2rem auto;
  padding: 0.5rem;
}

.contact-info-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 1rem;
}

.contact-info-container p {
  font-size: larger;
}

.contact-icon {
  cursor: default;
}

.email-icon {
  height: 2.5rem;
}



/* Removing autocomplete styling */

@-webkit-keyframes autofill {
  0%,
  100% {
    color: var(--white);
    background: var(--secondary-button);
  }
}

input:-webkit-autofill {
  -webkit-animation-delay: 1s; /* Safari support - any positive time runs instantly */
  -webkit-animation-name: autofill;
  -webkit-animation-fill-mode: both;
}

/* Removing autocomplete styling Finished*/

.input::placeholder {
  font-size: 1.5rem;
  color: rgba(255, 251, 251, 0.589);
}

.input:focus {
  outline: none;
}



@media only screen and (max-width: 1470px) {
  .section {
    padding-left: 10%;
    padding-right: 10%;
  }
}

@media only screen and (max-width: 1300px) {
  html {
    font-size: 8.8px;
  }
  .btn {
    width: 160px;
    height: 50px;
  }
}

/* Removes Add-On */
@media only screen and (max-width: 1200px) {
  .section {
    padding-left: 8%;
    padding-right: 8%;
  }

  .social-line {
    width: 2px;
    height: 50px;
    margin-top: 10px;
  }
  
  .nav-bar {
    padding-left: 8%;
    padding-right: 8%;
  }
  .main-wrapper {
    margin-left: 8%;
  }
  .about-img img {
    min-height: 570px;
  }
}

@media only screen and (max-width: 970px) {
  html {
    font-size: 8px;
  }
  .nav-bar {
    padding-left: 10%;
    padding-right: 5%;
    height: 70px;
  }
  .floatingNav {
    height: 55px;
  }

  .social-line {
    width: 2px;
    height: 50px;
    margin-top: 10px;
  }

  .nav-elements {
    opacity: 0;
    display: none;
    background-color: var(--primary-background);
    justify-content: center;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 100vw;
  }

  .nav-visible {
    display: flex;
    transition: 0.5s;
    transition-property: opacity;
    opacity: 1;
  }

  .nav-links {
    flex-direction: column;
  }

  .nav-link {
    margin-top: 5vh;
  }

  .nav-links a {
    padding-left: 0px;
    padding-right: 0px;
    font-size: 3rem;
  }

  .nav-link a:hover {
    color: var(--red);
  }

  #nav-btn {
    background-color: #11233f;
    margin-left: 0px;
    margin-top: 10vh;
    width: 180px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  #nav-btn p {
    font-size: 2.4rem;
  }

  

  .ham {
    display: block;
    position: relative;
    z-index: 20;
  }

  .main-wrapper {
    margin-left: 15%;
  }

  .main {
    margin-top: 0px;
    justify-content: center;
    flex-direction: column-reverse;
    text-align: center;
  }

  .main-content h2 {
    line-height: 50px;
  }

  .primary {
    margin-right: 20px;
  }

  .btn-grp {
    margin-top: 3rem;
    justify-content: center;
  }

  .btn:hover {
      box-shadow: 2px 2px 20px 2px var(--dim-white);
      transform: translate(-2px);
    }

  .main-img {
    position: static;
    right: 0px;
  }

  .main-img {
    margin-bottom: 5vh;
    height: 50%;
  }

  .hero-img {
    width: 75vw;
    max-width: 500px;
  }

  .section {
    padding: 60px 8%;
  }
  .about {
    flex-direction: column;
    padding-bottom: 0;
  }
  .about-content {
    margin-left: 0px;
    flex-basis: 70%;
  }
  .about-img img {
    min-height: 200px;
    min-height: 200px;
    max-width: 500px;
    max-height: 500px;
    height: 70vw;
    width: 70vw;
    object-fit: cover;
  }

  
.about-img:hover{
  box-shadow: 0 0 90px var(--light-red);
  transform: translate(-18px);

}

  .about-brief h1 {
    margin-top: 30px;
  }
  .about-brief {
    margin-bottom: 0px;
  }
  .tab {
    font-size: 2.2rem;
  }
  .contact-wrapper {
    flex-direction: column;
  }
  .contact-details {
    margin-top: 8rem;
    align-items: center;
  }
  .contact-container {
    width: auto;
  }
  .s-head {
    text-align: center;
    margin-top: 2rem;
  }
  .social-media-pack {
    justify-content: center;
  }
  .social-media-pack a {
    margin: auto 1rem;
    margin-bottom: 2rem;
  }
}

@media screen and (max-width: 720px) {
  .all-works,
  .other-works {
    grid-template-columns: 1fr;
  }
  .loader-body .loader-name{
    padding-top:30px;
    position: relative;
    right: 200px;
    font-size: 15px;
  }
  .loader-body .loader-cont{
    font-size: 15px;
    position:relative;
    padding-bottom: 15px;
    left: 45px;
  }
}

@media only screen and (max-width: 600px) {
  .main {
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .about {
    padding-bottom: 0;
  }
  .main-content h1 {
    font-size: 10vw;
  }

  .main-content h2 {
    font-size: 5.5vw;
  }

  .main-content h3 {
    font-size: 4.7vw;
    margin-bottom: 15px;
  }

  .btn-grp {
    width: 100%;
  }
  .about-brief h1 {
    font-size: 4.3rem;
    text-align: center;
  }
  .tab-content {
    height: 70px;
  }
  .card-content {
    padding-top: 20px;
  }
  .card-content p {
    font-size: 1.7rem;
  }
  .card-content h4 {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
  }

  .card-content h5 {
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--dim-white);
    margin-bottom: 20px;
  }
  .contact-container {
    padding: 0 7vw;
  }
  .loader-body .loader-name{
    padding-top:30px;
    position: relative;
    right: 209px;
    font-size: 15px;
  }
  .loader-body .loader-cont{
    font-size: 16px;
    position:relative;
    padding-bottom: 17px;
    left: 45px;
  }
}

@media only screen and (max-width: 400px) {
  .btn {
    width: 40vw;
    height: 12.8vw;
  }
  .btn p {
    font-size: 4vw;
  }

  .portfolio h3 {
    font-size: 2rem;
  }
  .project-tabs {
    margin-top: 4rem;
  }

  .portfolio .tabs {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
  }
  .loader-body .loader-name{
    padding-top:30px;
    position: relative;
    right: 180px;
    font-size: 13px;
  }
  .loader-body .loader-cont{
    font-size: 10px;
    position:relative;
    bottom: 2px;
    left: 45px;
  }
}

@media only screen and (min-height: 580px) and (max-width: 500px) {
  .main {
    padding-top: 18vh;
  }
  .main-content {
    padding-top: 3vh;
  }
  .loader-body .loader-name{
    padding-top:30px;
    position: relative;
    right: 150px;
    font-size: 11px;
  }

  .loader-body .loader-cont{
    font-size: 12px;
    position:relative;
    padding-bottom: 15px;
    left: 45px;
  }
}

/* Remove hovering on unsupported devices */
@media (hover: none) {
  .project-card:hover img {
    transform: scale(1);
  }
  .btn:hover {
    box-shadow: 5px 6px 21px 6px rgba(0, 0, 0, 0.2);
  }
  .project-tab:active {
    background-color: var(--secondary-button);
  }
  .view-card-details {
    height: 100%;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
  }
}

@media (hover: hover) {
  .card-icon:hover {
    transform: scale(1.08);
  }

  .project-tab:hover:not(.active-project) {
    background-color: var(--secondary-button);
  }
  .project-card:hover .card-content {
    height: 100%;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
  }
  .project-card:hover .project-img {
    transform: scale(1.07);
  }

  .contact-container:hover {
    background-color: var(--red);
    border: 1.5px solid var(--red);
  }
  .contact-container:hover .contact-icon {
    border: 2px solid var(--white);
    color: var(--red);
  }
  .social-media-pack a:hover {
    background-color: var(--red);
  }
  .social-media-pack a:hover .contact-social {
    color: var(--primary-text);
  }
}

/* Animations */

@keyframes bottomUp {
  0% {
    transform: translateY(150px);
    opacity: 0;
  }
  100% {
    transform: rotate(xx) translateY(0px);
    opacity: 1;
  }
}



.string {
  display: flex;
  flex-direction: column;
  text-align: center;
  animation: move 4s infinite;
}

.greeting {
  position: relative;
  animation: white-out 5s infinite;
}

.closure::after {
  content: '';
  position: absolute;
  
  transform: translate(-45vmin, -24.5vmin);
}



.closure::before {
  content: '';
  position: absolute;
  
  transform: translate(-40vmin, 5vmin);
}



.en {
  color: #fa8231;
}

.es {
  color: white;
}

.de {
  color: #c678dd;
}

.it {
  color: #a9b0bd;
}

@keyframes move {
  25% {
    transform: translatey(-5.8vmin);
    opacity: 1;
  }
  50% {
    transform: translatey(-11vmin);
  }
  75% {
    transform: translatey(-16.5vmin);
  }
}





