@charset "UTF-8";
/* CCT360-Project 2 CSS Document */

body {
	text-align: left;
}


.ms-6 {
  margin-left: 4rem;
}


.bg-navbar {
	background-color: white;
}

.nav-link:hover {
  color: #936d54; 
}

/* Typography adgustments */

p, a, label, li, .skill, span, strong, th, td {
	font-family: "Spectral", serif;
	color: #404040;
	font-size: 1rem;
}


h4 {
	font-family: "Spectral", serif;
}

h1, h5, h3 {
	font-family: "Ibarra Real Nova", serif;
}

h2 {
	font-family: "Ibarra Real Nova", serif;
	padding: 20px 30px 15px 45px;
	margin: 0px;
}

#display-6-contact {
	font-family: "Ibarra Real Nova", serif;
	padding: 50px 0px;
	margin: 0px;
}

.display-6 {
	margin: 20px 0px 30px 0px;
	font-weight: 600;
}


/* Badge adgustments */

.badge-new {
	color: white;
	background-color: pink;
	font-family: "Spectral", serif;
	font-size: 1.5rem;
	margin: 0px 20px;
	border: 0;
    padding: 10px 20px;
    border-radius: 10px;
}

/* Button adgustments */

.btn-button {
	background-color: #d9c1ad;
	font-family: "Spectral", serif;
	font-size: 1.2rem;
	border: 0;
    padding: 10px 20px;
    border-radius: 10px;
}

.btn.btn-button:hover {
  color: white; /* Changes the text color to white */
  background-color: #936d54;
}

.btn-toggle {
  background-color: #d9c1ad;
  font-family: "Spectral", serif;
  font-size: 1rem;
  border: 0;
  padding: 10px 20px;
  border-radius: 40px;
}

.btn.btn-toggle:hover {
  color: white; /* Changes the text color to white */
  background-color: #936d54;
}

#contact-toggle1, #contact-toggle2, #contact-toggle3, #contact-toggle4 {
	font-family: "Spectral", serif;
	font-size: 1rem;
}


/*Blog page button adjustments*/

.youtube-play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;   /* smaller width */
  height: 50px;  /* smaller height */
  background: #ff0000; /* solid red, no transparency */
  border-radius: 12px / 20px; /* rounded rectangle (pill shape) */
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

.youtube-play-button::before {
  content: "";
  display: block;
  margin-left: 4px; /* slight shift right */
  width: 0;
  height: 0;
  border-left: 18px solid white;  /* smaller triangle */
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
}


/* Card carousel adgustments */

.carousel-control-prev,
.carousel-control-next {
    width: 8%; 
    margin-left: 0px; 
    margin-right: 0px; 
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-size: 200%,200%;
    border-radius: 50%; 
    background-color: rgba(0, 0, 0, 0.5); 
    padding: 5px; 
}


/* Added the next one to ensure the button stays always aligned at the flex end despite different text length on cards*/
.card-body  {
    display: flex;
    flex-direction: column; 
    justify-content: space-between; 
    height: 100%; 
}


.card-body-vid  {
    display: flex;
    flex-direction: column; 
    justify-content: flex-start; 
    height: 100%; 
	padding: 20px 15px;
}


input::placeholder,
textarea::placeholder {
  font-family: "Spectral", serif;
  font-size: 1rem; 
  color: darkgrey; 
}


input:focus,
textarea:focus {
  border-color: black !important;
  box-shadow: none !important; 
  outline: none !important;
}


.form-control {
  border-radius: 10px;
  border-color: darkgrey;
  box-shadow: 0 2px 20px 0 rgba(0, 0, 0, 0.08);
  padding: 10px;
  
}




.btn.btn-button {
    align-self: flex-start; 
}


.img-rounded {
	border: 0;
    border-radius: 10px;
    box-shadow: 0 2px 20px 0 rgba(0, 0, 0, 0.08); 
	padding: 10px 15px;
}


/* Sidebar + widget adgustments */

aside {
  width: 30%;
  height: 1300px;
}


.widget-card {
	width: auto;
    background-color: white;
	border: 0;
    border-radius: 10px;
    box-shadow: 0 2px 20px 0 rgba(0, 0, 0, 0.08); 
	padding: 30px 40px;
}

aside .widget-card {
    background-color: white;
	border: 0;
    border-radius: 10px;
    box-shadow: 0 2px 20px 0 rgba(0, 0, 0, 0.08); 
	padding: 20px 10px 5px 20px;
}

skill .widget-card {
	background-color: white;
	border: 0;
    border-radius: 10px;
    box-shadow: 0 2px 20px 0 rgba(0, 0, 0, 0.08); 
	padding: 10px 15px;
}

.widget-border {
	display: inline-block;
    border: 1px solid lightgray; 
    border-radius: 10px;
    box-shadow: 0 2px 20px 0 rgba(0, 0, 0, 0.08);
    padding: 5px 10px;
}


/* Resume progress bar adgustments */

.skills {
  max-width: 100%;
  margin: 0 auto; 
}

.progress-wrapper {
  margin-bottom: 20px; 
}

.skill {
  margin-bottom: 10px; 
  display: flex;
  justify-content: space-between; 
}

.val {
  font-style: normal;
}

.progress {
  height: 15px; 
  background-color: #f0f0f0; 
  border-radius: 0px;
  overflow: hidden; 
}

.progress-bar {
  background-color: #d9c1ad;
  height: 100%; 
}


/* Contact form adgustments */

.contact .table-and-map-frame {
  height: 700px;
  border-radius: 10px;
  box-shadow: 0 2px 20px 0 rgba(0, 0, 0, 0.08);
  padding: 30px;
}


.contact .php-email-form {
  height: 100%;
  border-radius: 10px;
  box-shadow: 0 2px 20px 0 rgba(0, 0, 0, 0.08);
  padding: 30px;
}


.contact .php-email-form input[type=text]::placeholder,
.contact .php-email-form input[type=email]::placeholder,
.contact .php-email-form textarea::placeholder {
  color: darkgray;
  font-family: "Spectral", serif;
}

.contact .php-email-form input[type=text],
.contact .php-email-form input[type=email],
.contact .php-email-form textarea {
  font-size: 1rem;
  padding: 10px 15px;
  box-shadow: 0 2px 20px 0 rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  border-color: darkgray;
}

.contact .php-email-form input[type=text]:focus,
.contact .php-email-form input[type=email]:focus,
.contact .php-email-form textarea:focus {
  border-color: black;
  box-shadow: none;
}


.contact .php-email-form button[type=submit] {
  color: black;
  background: #d9c1ad;
  font-family: "Spectral", serif;
  font-size: 1.2rem;
  border: 0;
  padding: 10px 20px;
  border-radius: 10px;
}

.contact .php-email-form button[type=submit]:hover {
  color: white;
  background: #936d54;
}

.contact .table-text {
	display: flex;
	align-items: center;
}

/* Quick skill section adgustment */

#personal-skills, #tech-skills {
	margin-top: 60px;
}


/* Footer adgustments */

.footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #d9c1ad;
  color: black;
  text-decoration: none;
  margin: 0 10px;
  border-radius: 50%;
  width: 50px;
  height: 50px;
}

.footer .social-links a:hover {
  color: white;
  background: #936d54;
  text-decoration: none;
}











/* Resizing + media quieries adgustments */



.container-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.card {
  margin: 15px;
}

.carousel-item img {
  width: 100%;
  height: auto;
}



@media (max-width: 575px) {
  .contact .php-email-form {
    padding: 20px;
  }
}

/* Adjusted design, typography, and spacing for md-sm screens */

@media (max-width: 767px) {
  .row .col-md-4 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
  }

  .card {
    width: 100%;
    max-width: 300px;
  }
   
  #p-video-home, #h1-hero-md, #h5-video-home, #p-hero-md {
    padding: 0px 20px;
	text-align: center;
  }
	#h1-hero-md, #h5-video-home {
		padding-top: 20px;
	}


  aside .widget-card {
    margin-bottom: 20px;
	text-align: center;
	}
	
  .widget-card {
	  margin-top: 30px;
  }
  
  .display-6 {
	padding-top: 30px;
		
	}
	
  .display-5 {
	text-align: center;
	margin-left: 0px;
		
	}
	
  aside {
    height: 1500px; 
}
	
	
  #personal-skills {
		margin-top: 35px;
	}
	
  .row .video-cards-md {
		display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin: 30px 0px;
		
	}
	
	h5 .lead .lead-md {
		width: 100%;
	}

}

