.carousel,
.carousel .carousel-inner,
.carousel .carousel-item {
  width: 100%;
  height: 100%;
  aspect-ratio: 9 / 20;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}


html, body {
  min-height: 100vh;
  margin: 0;
  padding: 0;
  font-family: "Rubik", sans-serif;
  background-color: #72c2f1;
}

body {
  display: flex;
  flex-direction: column;
}


.description {
  font-size: 1.3em;
  text-align: justify;
  text-shadow: 1px 1px rgba(63,107,169, 0.75);
  margin:0; 
  margin-right:5em;
}

/* <weight>: Use a value from 300 to 900 */
.rubik-namelabel {
  font-family: "Rubik", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
}


.flex-container-for-socials {
  display: flex;
  flex-direction: row;
}


.flex-container-for-socials > div {
  padding: 0.5em; 
}

.flex-container-for-socials > div > a > img {
  width: 2.2em;
  height: 2.2em;
}

.gap {
  height: 1em;
}

.socials {
  margin: 0.50em; 
  width: fit-content;
}


.email {
  padding: 0;
  margin: 0; 
  width: fit-content; 
  max-width: 100%;
  box-sizing: border-box;
  position: relative; 
  background-color: pink; 
  box-shadow: 7px 7px rgba(0,0,0, 0.75);
  font-size: clamp(0.72rem, 3.4vw, 1rem);
}

.email .email-label {
  margin: 5px 0 5px 5px;
  padding: 0.4em 0.25em 0.4em 0.5em;
  border-style: dashed none solid dotted; 
  font-weight: bold;
  white-space: nowrap;
  flex-shrink: 0;
}

.email .email-address {
  margin: 5px 5px 5px 0;
  padding: 0.4em 0.5em 0.4em 0.25em;
  border-style: dashed dotted solid none; 
  font-weight: normal;
  white-space: nowrap;
}

.email-address a {
  color: inherit;
  text-decoration: none;
}

.email-address a:hover {
  text-decoration: underline;
}







/* Layout structure */
.left-sidebar-grid {
  display: flex;
  flex-direction: row;
  flex: 1 0 auto;
  width: 100%;
}

.left-sidebar {
  width: 320px;
  min-width: 280px;
  background-color: #f0f0ff;
  padding: 3.5rem 1.5rem 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.05);
}

.left-sidebar .container {
  border: 2px solid rgba(3, 100, 226, 0.5); /* Semi-transparent border */
  box-shadow: 0 4px 8px rgba(63, 7, 219, 0.3); /* Shadow with opacity */
  border-radius: 8px; /* rounded corners */
  padding: 0;
  max-width: 270px;
  width: 100%; 
  aspect-ratio: 9 / 20; 
  background-color: black; 
  margin: 1rem auto;
  overflow: hidden;
  position: relative;
}

.main-content {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 3.5rem 1.5rem 2.5rem 1.5rem;
  background-color: #72c2f1;
}

@media (max-width: 991px) {
  .left-sidebar-grid {
    flex-direction: column;
  }
  .left-sidebar {
    width: 100%;
    padding: 2rem 1rem 1.5rem 1rem;
    box-shadow: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  }
  .main-content {
    padding: 2.5rem 1rem 2rem 1rem;
  }
}

.footer {
  background-color: #62b2e1;
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
}

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

.video {
	width: 560px;
	height: 315px;
	background-color:black; 
	border-radius:12px;
}

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

	.video {
		width: 320px;
		height: 180px;
	}

}


/* contact form */
.contact-form {
  background: #ffffff;
  width: 100%;
  max-width: 620px;
  margin: 2.5rem auto 1rem auto;
  padding: 3.25rem 2.5rem 2rem 2.5rem;
  border-radius: 1.25rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  position: relative;
  box-sizing: border-box;
}

@media screen and (max-width: 576px) {
  .contact-form {
    padding: 2.75rem 1.25rem 1.5rem 1.25rem;
    margin: 2rem auto 1rem auto;
    border-radius: 1rem;
  }

  .footer {
    padding: 1.5rem 0.5rem;
  }

  .email {
    box-shadow: 5px 5px rgba(0,0,0, 0.75);
  }
}

div.fullname {
  font-size: 2.5em;
  margin: 0;
  padding: 0;
  margin:0.75em; 
  min-width: 15em;
}

@media screen and (max-width:800px) {
	.description {
		width: 80%; 
		text-align: left;
	}
	
	div.fullname {
        min-width: 8.3em; 
     	font-size: 2.2em;
	}
}

@media screen and (min-width:801px) and (max-width:1280px) {
	.description {
		width: 95%;
		text-align: left;
	}

	div.fullname {
        min-width: 8.3em; 
		font-size: 2.2em;
	}	
}

.description-text {
	text-align: justify;
}

.contact-image {
  position: absolute;
  top: -42px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}

.contact-image img {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  transform: rotate(29deg);
  background: #ffffff;
  padding: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.25s ease;
}

.contact-image img:hover {
  transform: rotate(35deg) scale(1.05);
}

.contact-form form {
  padding: 0;
  width: 100%;
}

.contact-form form .row {
  margin: 0;
}

.contact-form h3 {
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
  color: #0062cc;
  font-weight: 700;
  font-size: 1.45rem;
  line-height: 1.3;
}

.form-group {
  margin-bottom: 1.15rem;
  padding: 0;
}

.form-group label {
  font-weight: 600;
  color: #333333;
  margin-bottom: 0.35rem;
  display: inline-block;
  font-size: 0.95rem;
}

.contact-form .form-control {
  border-radius: 0.6rem;
  padding: 0.6rem 0.85rem;
  border: 1px solid #ced4da;
  font-size: 0.95rem;
}

.contact-form .form-control:focus {
  border-color: #0062cc;
  box-shadow: 0 0 0 0.2rem rgba(0, 98, 204, 0.2);
}

.contact-form .btnContact {
  min-width: 250px;
  max-width: 100%;
  border: none;
  border-radius: 2rem;
  padding: 0.75rem 2rem;
  background: #dc3545;
  font-weight: 600;
  font-size: 1rem;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
  transition: background-color 0.2s, transform 0.15s, box-shadow 0.2s;
}

.contact-form .btnContact:hover {
  background: #c82333;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(220, 53, 69, 0.4);
}

.contact-form .btnContact:active {
  transform: translateY(0);
}

.btnContactSubmit {
  width: 50%;
  border-radius: 1rem;
  padding: 1.5%;
  color: #fff;
  background-color: #0062cc;
  border: none;
  cursor: pointer;
}

.qr-code-img {
  max-width: 140px;
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid #ced4da;
  padding: 4px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.qr-code-img:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}
/* the end of contact form */

table {
  width: 60%;
  margin: 0 auto;
  border-collapse: collapse;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
th, td {
  padding: 12px 15px;
  text-align: center;
  border: 1px solid #ccc;
}
th {
  background-color: pink;
  color: white;
  text-shadow: 2px 2px 2px rgba(0,0,0,0.8);
}
tr:nth-child(even) {
  background-color: #f2f2f2;
}

h2 {
  padding-left: 20%;
}


/* Link styles for a light blue background page style */
a.cv {
  color: #0056b3;
  text-decoration: none;
}

a.cv:hover {
  color: #003d80;
  text-decoration: underline;
}

a.cv:visited {
  color: #551a8b;
}

a.cv:active {
  color: #c92a2a;
}

a.cv:focus {
  outline: 2px dashed #1c7ed6;
  outline-offset: 2px;
}

.contactform-radiobutton-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem 1rem;
  width: 100%;
  margin: 0.35rem 0 0.5rem 0;
}

@media screen and (max-width: 576px) {
  .contactform-radiobutton-container {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
}

.contactform-radiobutton-box {
  padding: 0.25rem 0;
  box-sizing: border-box;
}

.contactform-radiobutton-box label {
  font-weight: normal;
  color: #444;
  cursor: pointer;
  margin-bottom: 0;
  font-size: 0.9rem;
}

/* portfolio disclaimer */
.disclaimer {
    font-size: 0.85em;
    text-align: left;
    margin-top: 3em;
    color: #1a1a1a;
    font-style: italic;
    opacity: 0.8;
}
