body {
    background-image: url("pexels-fwstudio-33348-129731.jpg");
    background-size: cover;        
    background-repeat: no-repeat;  
    background-position: center;   
    margin: 0;
    font-family: "Delius", cursive;
    font-weight: 400;
    font-style: normal;
    color: black;
}

.bar {
  width: 100%;               
  height: 80px;           
  background-color: saddlebrown;
  margin-top: -67px;
  text-align: center;
  background-image: url(images/woodHeadboard.png);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}



.barButton button {
  background: none;
  color: white;
  border: none;
  padding: 10px 20px;
  margin: 0 10px;
  font-size: 16px;
  position: relative;        
  cursor: pointer;
  transition: color 0.3s ease;
  margin-top: 20px;
}

.barButton button::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;                 
  width: 0%;
  height: 3px;           
  background-color: goldenrod;
  transition: width 0.3s ease;
}

.barButton button:hover {
  color: goldenrod;          
}

.barButton button:hover::after {
  width: 100%;               
}



.title {
    margin-top: 50px;
    display: flex;
    flex-direction: column;  
    align-items: center;      
    margin-top: 20px;         
}


/* Header */
.woodHeader {
    width: 400px;
    height: auto;
    margin: 0;
    vertical-align: bottom;  
}


/* Links */
.links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 0;     
    margin-top: 15px;           
}

.links a {
    display: inline-block;
    padding: 10px 20px;
    background-color: saddlebrown;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;

}

.links a:hover {
    background-color: peru;
    transform: scale(1.05);
}


/* Education Section */
.education {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 100px;
}

.education-header {
    display: flex;
    align-items: center; 
    gap: 10px;           
}

.education-header h1 {
    margin: 0;           
}

.icon {
    width: 65px;         
    height: auto;
    animation: spin 3s linear infinite;
    transform: scale(1.1);
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.line {
  flex-grow: 1;            
  height: 4px;  
  border: black;           
  background-color: darkgoldenrod; 
  border: 2px solid black;
}

.education-desc {
    margin-top: 10px;
    background-color: lightgoldenrodyellow;
    border: 2px solid black;
    border-radius: 8px;
    padding: 20px;
}


/* Experience Section */
.experience-header {
    display: flex;
    align-items: center; 
    gap: 10px;
    
}

.experience-header h1 {
    margin: 0;   
    color: black;
    -webkit-text-stroke: .5px white;        
}

.education-header h1 {
    margin: 0;   
    color: black;
    -webkit-text-stroke: .5px white;        
}

.experience-desc {
    margin-top: 10px;
    background-color: lightgoldenrodyellow;
    border: 2px solid black;
    border-radius: 8px;
    padding: 20px;
    display: flex; 
    justify-content: space-around; 
    align-items: center; 
    gap: 10px; 
    display: flex;
    flex-wrap: wrap;          
    justify-content: center;   
    gap: 80px;               
    align-items: flex-start; 
}


.outer-box {
    width: 150px; 
    display: flex;
    flex-direction: column; 
    align-items: center;    
    background-color: darkgoldenrod;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid black;
    box-shadow: 3px 3px;
}

.inner-box img {
    width: 100px; 
    height: auto;
    margin-top: 10px; 
}

.subtitle-box {
    width: 100%;                
    background-color: tan; 
    text-align: center;
    padding: 5px 0;
    font-weight: bold;
    font-size: 12px;
    color: black;
}

.icon-button {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transform: scale(1.1);
}


/* Modal (background) */
.modal {
  display: none; 
  position: fixed; 
  z-index: 1; 
  left: 0;
  top: 0;
  width: 100%; 
  height: 100%; 
  overflow: auto; 
  background-color: rgb(0,0,0); 
  background-color: rgba(0,0,0,0.4); 
  backdrop-filter: blur(5px);
}


/* Modal Content */
.modal-content {
  display: flex;            
  justify-content: space-between;
  align-items: flex-start;
  background: tan;
  margin: 10% auto;
  padding: 20px;
  border-radius: 12px;
  border: 5px solid darkgoldenrod;
  width: 80%;
  max-width: 800px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}


.close {
  color: black;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.split {              
  padding: 20px;
  box-sizing: border-box;
}

.split.left {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 50px;
  margin-right: 30px;
}

.split.right {
  flex: 2;
  background-color: #fff7e6; 
  text-align: left;
  border-radius: 8px;
  border: 2px solid black;
}

.modalIcon {
    width: 150px;         
    height: auto;
    animation: spin 3s linear infinite;

}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes appear {
    from {
        opacity: 0;
        scale: 0.5;
    }
    to {
        opacity: 1;
        scale: 1;
    }
}


.reveal {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.8s ease-out;
}

.reveal.show {
    opacity: 1;
    transform: scale(1);
}

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

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

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

.skills-desc {
    margin-top: 15px;
    margin-top: 10px;
    background-color: lightgoldenrodyellow;
    border: 2px solid black;
    border-radius: 8px;
    padding: 20px;
}

.skill-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}



.skill-buttons span {
    display: inline-block;
    background-color: goldenrod;
    color: white;
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: bold;
    cursor: default;
    transition: transform 0.2s ease, background-color 0.2s ease;
    white-space: nowrap;
}

.skill-buttons span:hover {
    transform: scale(1.1);
    background-color: darkgoldenrod;
}

.title {
    position: relative;
    text-align: center; 
}


.woodHeader {
    width: 400px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.profile-wrapper {
    position: absolute;
    top: 110px;
    right: 100px;
}

.profile {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;  
    border: 3px solid saddlebrown;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    cursor: pointer;
    position: relative;
}

.profile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 10% 20%;
    transition: filter 0.3s ease;
    position: relative;
}

.profile-wrapper::after {
    content: "Click for inspirational quotes!";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.profile-wrapper:hover .profile img {
    filter: blur(3px) brightness(0.6);
}

.profile-wrapper:hover::after {
    opacity: 1;
}

.quote-bubble {
    position: absolute;
    top: 50%;
    right: 100%;
    transform: translateY(-50%);
    background-color: white;
    color: black;
    padding: 10px 15px;
    border-radius: 15px;
    font-size: 12px;
    text-align: left;   
    white-space: normal; 
    width: 250px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    border: 2px solid darkgoldenrod;
}


.quote-bubble::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -12px; 
    transform: translateY(-50%);
    border-width: 8px;
    border-style: solid;
    border-color: transparent transparent transparent white;
    filter: drop-shadow(1px 1px 2px rgba(0,0,0,0.2));
}

.tv-box {
    flex: 0 0 calc(33.33% - 20px); 
    box-sizing: border-box;
    position: relative;
    margin-top: -20px;
    
}

.tvIcon {
    display: block;
    width: 100%; 
    height: auto;
}

.video-overlay {
    position: absolute;
    top: 32.2%;      
    left: 25.6%;     
    width: 55%;    
    height: 47%;   
    overflow: hidden;
    border-radius: 15px;
    border: 2px solid black;
}

.video-overlay video {
    width: 100%;
    height: 100%;
    object-fit: cover; 
}

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

.highlight-desc {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;            
    justify-content: center; 
    background-color: lightgoldenrodyellow;
    border: 2px solid black;
    border-radius: 8px;
    padding: 20px;
    margin-top: 10px;
}

.ending {
    text-align: center;
    color: white;
    -webkit-text-stroke: 1px goldenrod;

}

.highlight-desc {
    display: flex;
    flex-wrap: wrap;          
    justify-content: center;  
    align-items: flex-start;   
}


.music-section {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 100px;
}

/* Gold outlined heading to match others */
.music-heading {
  text-align: center;
  color: white;
  -webkit-text-stroke: 1px goldenrod;
  font-size: 2.5rem;
  margin-top: 100px;
  margin-bottom: 40px;
}



.musicSubtitle {
  background-color: black;
  color: white;
  text-align: center;
  padding: 6px 12px;
  border-radius: 8px;
  margin-top: 8px;
  font-weight: bold;
  font-size: 14px;
  display: flex;
  flex-direction: column;
}

.subHeading {
    margin-top: -30px;
}


.cd {
  position: relative;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s ease;
  border: 2px solid goldenrod;
  box-shadow: 0px 0px 15px 5px goldenrod;
  top: -5px;
}

.cd:hover {
  transform: scale(1.05);
}


.cd img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}


.cd-hole {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 50px;  
  height: 50px;
  background: transparent;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  border: 5px solid rgba(0, 0, 0, 0.25);
  box-shadow:
    inset 0 0 8px rgba(0, 0, 0, 0.5),
    0 0 3px rgba(255, 255, 255, 0.3);
    background-color: lightgoldenrodyellow;
    z-index: 2;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.cd.spinning {
  animation: spin 2s linear infinite;
}

.musicOuter {
    width: 200px;
    display: flex;
    flex-direction: column; 
    align-items: center;    
    background-color: black;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid black;
    box-shadow: 3px 3px rgba(0,0,0,0.3);
}

.cd {
    width: 150px;
    height: 150px;
    position: relative;
    margin-top: 15px;
    border: 2px solid goldenrod;
    box-shadow: 0px 0px 15px 5px goldenrod;
}

.musicIcon {
    width: 100%;
    height: 100%;
    border-radius: 50%; 
    clip-path: circle(70% at 50% 50%);
}

.musicSubtitle {
    width: 100%;
    background-color: darkgoldenrod;
    text-align: center;
    padding: 5px 0;
    font-weight: bold;
    font-size: 14px;
    color: black;
}



.tonearm  {
    width: 8px;
    height: 120px;
    background-color: #888;
    border-radius: 4px;
    position: absolute;
    top: 10px;
    right: -20px;
    transform-origin: top center;
    transition: transform 0.2s ease;
}

.tonearmDot {
    position: absolute;
    width: 5px;
    height: 5px;
    background-color: white;
    border-radius: 50%;
    margin-left: 1px;
    margin-top: 2px;
}


.tonearm.rotate {
    transform: rotate(50deg);
}

.cd-container {
    position: relative; 
    display: flex;
    justify-content: center;
    align-items: center;
}

.music-desc {
    margin-top: 10px;
    background-color: lightgoldenrodyellow;
    border: 2px solid black;
    border-radius: 8px;
    padding: 20px;
    display: flex; 
    justify-content: space-around; 
    align-items: center; 
    gap: 10px; 
    display: flex;
    flex-wrap: wrap;          
    justify-content: center;   
    gap: 80px;               
    align-items: flex-start; 
}

.contact-left {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 20px;
}

.contact-left-title h2 {
    font-weight: 600px;
    margin-bottom: 5px;
    -webkit-text-stroke: .5px white;
    color: black;
}

.contact-inputs {
    width: 400px;
    height: 50px;
    border: none;
    outline: none;
    padding-left: 25px;
    border-radius: 50px;
}

.contact-left textarea {
    height: 140px;
    padding-top: 15px;
    border-radius: 20px;
    max-width: 400px;
}

.contact-inputs:focus {
    border: 2px solid;
    border-color: black;
}

.contact-left button {
    background-color: goldenrod;
    align-items: center;
    font-size: 20px;
    border-radius: 50px;
    padding: 5px 20px;
    gap: 10px;
}

.contact-right img {
    width: 500px;
}

@media (max-width: 800px) {
    .contact-inputs {
        width:vw;
    }
    .contact-right {
        display: none;
    }
}

.contact-desc {
    margin-top: 10px;
    background-color: lightgoldenrodyellow;
    border: 2px solid black;
    border-radius: 8px;
    padding: 20px;
    display: flex; 
    justify-content: space-around; 
    align-items: center; 
    gap: 10px; 
    display: flex;
    flex-wrap: wrap;          
    justify-content: center;   
    gap: 80px;               
    align-items: flex-start; 
}

.contact {
    margin: 0 auto;
    padding: 0 100px;
    width: 700px;
}


