@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Ubuntu:wght@400;500;700&display=swap");

  @import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');

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

html {
  scroll-behavior: smooth;
}

.max-width {
  max-width: 1300px;
  padding: 0 80px;
  margin: auto;
}

/* navbar styling */
.navbar {
  position: fixed;
  width: 100%;
  z-index: 999;
  padding: 30px 0;
  font-family: "Ubuntu", sans-serif;
  transition: all 0.3s ease;
}

.navbar.sticky {
  padding: 15px 0;
  background: #c70039;
}

.navbar .max-width {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar .logo a {
  color: #fff;
  font-size: 35px;
  font-weight: 300;
}
a:visited {
  outline: none;
}

.navbar .menu li {
  list-style: none;
  display: inline-block;
  margin-left: 10px;
  margin-right: 0;
  outline: none;
}
.one {
  margin-left: 300px !important;
}
.logo1 img{
  height: 50px;
}
.logo2 img{
  height: 50px;
  display: none;
}
.navbar .menu li a {
  padding-top: 5%;
  padding-left: 90px;
  display: block;
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  margin-left: 25px;
  transition: color 0.3s ease;
}

.navbar .menu li a:hover {
  color: #c70039;
}

.navbar.sticky .menu li a:hover {
  color: #fff;


}
.navbar.sticky .logo2 img{

  display: block;
}

.navbar.sticky .logo1 img{

  display: none;
}
/* menu btn styling */
.menu-btn {
  color: #fff;
  font-size: 23px;
  cursor: pointer;
  display: none;
  margin-left: 200px;
}

@media (max-width: 947px) {
  .logo1 img{
    height: 40px;
  }
  .logo2 img{
    height: 40px;
    
  }
  .menu-btn {
    display: block;
    z-index: 999;
  }
  .menu-btn i {
    font-size: 25px;
  }
  .menu-btn i.active:before {
    content: "\f00d";
  }

  .navbar .menu {
    position: fixed;
    height: 100vh;
    width: 100%;
    left: -100%;
    top: 0;
    background: #111;
    text-align: center;
    padding-top: 80px;
    transition: all 0.3s ease;
  }

  .navbar .menu.active {
    left: 0;
  }

  .navbar .menu li {
    display: block;
  }

  .navbar .menu li a {
    display: inline-block;
    margin: 20px 0;
    font-size: 25px;
  }
}
.about img {
  padding-left: 5%;
  height: 450px;
  width: 400px;
  
}
@media (max-width: 1104px) {
  .about img {
    height: 350px;
    width: 350px;
  }
}
@media (max-width: 415px) {
  .about img {
    width: 270px;
    height: 300px;
  }
}

.about .about-content .left {
  display: flex;
  justify-content: center;
  margin: 0 auto 60px;
}

.about .about-content .right {
  flex: 100%;
}

.scroll-up-btn {
  position: fixed;
  height: 45px;
  width: 42px;
  background: #c70039;
  right: 30px;
  bottom: 10px;
  text-align: center;
  line-height: 45px;
  color: #fff;
  z-index: 9999;
  font-size: 30px;
  border-radius: 6px;
  border-bottom-width: 2px;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
}

.scroll-up-btn.show {
  bottom: 30px;
  opacity: 1;
  pointer-events: auto;
}

.scroll-up-btn:hover {
  filter: brightness(90%);
}
.home {
  background-color: black;
  height: 100vh;
  color: #fff;
  min-height: 500px;
  font-family: "Ubuntu", sans-serif;
  text-align: center;
}

.text-center a:hover {
  color: #c70039;
  background: none;
}
.about{
  padding: 5% !important;
}
.text-center a {
  display: inline-block;
  background: #c70039;
  color: #fff;
  font-size: 25px;
  padding: 12px 36px;
  margin-top: 20px;
  font-weight: 400;
  border-radius: 6px;
  border: 2px solid #c70039;
  transition: all 0.3s ease;
}
.text-1 {
  font-size: 27px;
}
.text-2 {
  font-size: 75px;
  font-weight: 600;
  margin-left: -3px;
}

.text-3 {
  font-size: 40px;
  margin: 5px 0;
}
.text-3 span {
  color: #c70039;
  font-weight: 500;
}
.text {
  font-size: 20px;
  font-weight: 300;
  margin-bottom: 10px;
}

.about a {
  display: inline-block;
  background: #c70039;
  color: #fff;
  font-size: 20px;
  font-weight: 500;
  padding: 10px 30px;
  margin-top: 20px;
  border-radius: 6px;
  border: 2px solid #c70039;
  transition: all 0.3s ease;
}
.about a:hover {
  color: #c70039;
  background: none;
}
.text-center a:hover {
  color: #c70039;
  border-color: #c70039;
  background: none;
}

.flip-card {
  background-color: transparent;
  width: 300px;
  height: 350px;
  border: 1px solid #f1f1f1;
  perspective: 1000px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}
.flip-card-front img {
  width: 200px;
  height: 200px;
  margin-top: 40px;
}
.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.text-center {
  padding-top: 15%;
}

@media (max-width: 690px) {
  .text-1 {
    margin-top: 40%;
  }
  .text-2 {
    font-size: 30px;
    line-height: 2;
  }

  .text-3 {
    font-size: 22px;
  }
  .home a {
    font-size: 20px;
    padding: 10px 30px;
  }
}

.flip-card-front {
  background-color: #f4f4f4;
  color: #232b2b;
}

.flip-card-back {
  background-color: #f4f4f4;
  text-align: left;
  transform: rotateY(180deg);
  font-size: 17px;
  color: #334257;
  padding: 15px;
}
.flip-card-back h3 {
  text-align: center;
  margin-top: 20px;
  margin-bottom: 20px;
  font-size: 20px;
}
.flip-card-back .h4 {
  font-size: 15px;
  margin-bottom: 20px;
}
.contact {
  margin-left: 40%;
}
.large-header {
  position: relative;
  width: 100%;
  background: #111;
  overflow: hidden;
  background-size: cover;
  background-position: center center;
  z-index: 1;
}

.demo .large-header {
  background-color: #000000;
}

.main-title {
  position: absolute;
  margin: 0;
  padding: 0;
  color: #f9f1e9;
  text-align: center;
  top: 50%;
  left: 50%;
  -webkit-transform: translate3d(-50%, -50%, 0);
  transform: translate3d(-50%, -50%, 0);
}

.card-text {
  font-size: 15px;
}
.skill i {
  font-size: 4em;
  color: #c70039;
}

.cardsize {
  width: 300px;
  border: none;

  text-align: center;
}
@media (max-width: 800px) {
  .cardsize {
    max-width: 300px;
    border: none;

    text-align: center;
  }
  .skills {
  
 
    padding-left: 1% !important;
  }
  
}

.skills {
  
 padding-top: 2%;
  padding-left: 5%;
}

/* tabs styling*/
.mytabs {
  font-family: "Poppins", sans-serif;
  padding: 10px;
  display: flex;
  flex-wrap: wrap;
  max-width: 100%;
  top: 10%;
  margin: 10px auto;
  font-size: 20px;
  margin-top: 40px;
}

.mytabs input[type="radio"] {
  display: none;
}

.mytabs label {
  margin-left: 20%;
  padding: 5px;
  background: white;
  color: #c70039;
  border-radius: 10%;
}

.mytabs .tab {
  width: 100%;
  padding: 40px;
  order: 1;
  display: none;
}

.mytabs .tab h2 {
  font-size: 3em;
}

.mytabs input[type="radio"]:checked + label + .tab {
  display: block;
}

.mytabs input[type="radio"]:checked + label {
  background: #c70039;
  color: white;
}

@media (max-width: 600px) {
  .mytabs label {
    margin-left: 10%;
    padding: 2.5px;
    background: white;
    color: #c70039;
    border-radius: 5%;
  }
}

@media (max-width: 400px) {
  .mytabs label {
    margin-left: 6%;
    padding: 2px;
    background: white;
    color: #c70039;
    border-radius: 5%;
  }
}

#portfolio {
  padding: 50px;
}

@media (max-width: 947px) {
  .one {
    margin-left: 0% !important;
  }
  .projects {
    width: 250px !important;
    margin-left: 0% !important ;
    margin-bottom: 10%;
  }
  .projects img {
    width: 250px !important;
    height: 200px !important;
    border-radius: 10px;
    display: block;
  }
  .layer {
    width: 250px !important;
  }
}
.projects {
  width: 350px;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  margin-left: 10%;
}

.projects img {
  width: 100%;
  height: 200px;
  border-radius: 10px;
  display: block;
}

.layer {
  width: 100%;
  height: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.3), #c70039);
  border-radius: 10px;
  position: absolute;
  left: 0;
  bottom: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 0 40px;
  text-align: center;
  color: white;
  font-size: 14px;
  transition: height 0.5s;
}
.layer h3 {
  font-weight: 500;
  margin-bottom: 20px;
}
.layer a {
  margin-top: 20px;
  color: white;
  text-decoration: none;
  
  font-size: 180px;
  line-height: 60px;
  background: #fff;
  width: 60px;
  height: 60px;

  border-radius: 50%;
  text-align: center;
}
.projects:hover .img {
  transform: scale(1.1);
}
.projects:hover .layer {
  height: 100%;
}
.btn {
  display: block;
  margin: 50px auto;
  width: fit-content;
  border: 1px solid #c70039;
  padding: 14px 50px;
  border-radius: 6px;
}

.layer i {

  font-size: 30px;
position: absolute;
display: flex;

padding-left: 5%;
padding-top: 5%;

  color: #c70039;
 
}

.section-header .card-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.section-header .card {
  flex: 1;
  max-width: 300px;
  padding: 20px;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  text-align: center;
  margin: 10px;
  transition: transform 0.3s;
}

.section-header .card:hover {
  transform: translateY(-5px);
}

.section-header .card h3 {
  font-size: 24px;
  color: #333;
  margin-bottom: 10px;
}

.section-header .card p {
  font-size: 16px;
  color: #777;
  margin-bottom: 0;
}

.gallery {
  margin: 5%;
  background-color: white;
}
.cell {
  width: 18%;
  height: 450px;
  margin: 0 15px;
  overflow: hidden;
  border-radius: 8px;
}
.cell img {
  width: 100%;
  height: 450px;
  object-fit: cover;
}

@media (max-width: 947px) {
  .cell {
    width: 100%;
    height: 650px;
    margin: 0 15px;
    overflow: hidden;
    border-radius: 8px;
  }
  .cell img {
    width: 100%;
    height: 550px;
    object-fit: cover;
  }
}

/*--------contact------ */
#contact{
  padding: 5%;
}
.conctact-left {
  flex-basis: 35%;
  padding-top: 10%;
}
.contact-right {
  flex-basis: 60%;
}
.contact-left p {
  margin: 30px;
  font-size: 15px;
}
.contact-left p i {
  color: black;
  margin-right: 15px;
  font-size: 25px;
}
.social-icons {
  margin-top: 30px;
}
.sentence {
  margin-top: 10%;
  margin-bottom: 10%;
}
.social-icons a {
  text-decoration: none;
  font-size: 30px;
  margin-top: 10%;
  margin-right: 10%;
  color: black;
  display: inline-block;
  transition: transform 0.5s;
}

.social-icons i {
  font-size: 30px;
  color: black;
}
.social-icons a:hover {
  color: #ababab;
  transform: translateY(-5px);
}
.contact-right button {
  display: inline-block;
  background: white;
  width: 100%;
  border: 0;
  outline: none;
  background: #262626;
  padding: 15px;
  margin: 15px 0;
  color: #fff;
  font-size: 18px;
  border-radius: 6px;
}
.contact-right form {
  width: 100%;
}

form input,
form textarea {
  width: 100%;
  border: 0;
  outline: none;
  background: #262626;
  padding: 15px;
  margin: 15px 0;
  color: #fff;
  font-size: 18px;
  border-radius: 6px;
}
.copyright {
  width: 100%;
  text-align: center;
  color: white;
  padding: 25px 0;
  background: #262626;
  font-weight: 300;
  margin-top: 20px;
}

.title {
  position: relative;
  text-align: center;
  font-size: 40px;
  font-weight: 500;
  margin-bottom: 60px;
  padding-bottom: 20px;
  font-family: "Ubuntu", sans-serif;
}

.title::before {
  content: "";
  position: absolute;
  bottom: 0px;
  left: 50%;
  width: 180px;
  height: 3px;
  background: #111;
  transform: translateX(-50%);
}

.title::after {
  position: absolute;
  bottom: -8px;
  left: 50%;
  font-size: 20px;
  color: #c70039;
  padding: 1 5px;
  background: #fff;
  transform: translateX(-50%);
}
.about .title::after {
  content: "who i am";
}
#contact .title::after {
  content: "Get in touch";
}

.title2 {
  position: relative;
  text-align: center;
  font-size: 40px;
  font-weight: 500;
  margin-bottom: 60px;
  padding-bottom: 20px;
  font-family: "Ubuntu", sans-serif;
}

.title2::before {
  content: "";
  position: absolute;
  bottom: 0px;
  left: 50%;
  width: 180px;
  height: 3px;
  background: white;
  transform: translateX(-50%);
}

.title2::after {
  position: absolute;
  bottom: -8px;
  left: 50%;
  font-size: 20px;
  color: #c70039;
  padding: 0 5px;
  background: black;
  transform: translateX(-50%);
}
#portfolio .title2::after {
  content: "What i did";
}
.gallery .title::after {
  content: "What i click";
}
.internship{
  background-color: black;
  color: white;

  font-family: 'Roboto', sans-serif;
  padding: 5%;
}
.internship .title2::after {
  content: "What i earn";
}
.internship img{
  width: 500px;
  height: 350px;
  padding-left: 5%;
}
@media (max-width: 947px) {
  .internship img{
    width: 300px;
    height: 250px;
    padding: 5%;
  }
}
