*{
    padding: 0;
    margin: 0;
}

ul{
    list-style: none;
}

a{
    text-decoration: none;
    color: inherit;
}
/* base styling */
body{
    background-color: #F0F0F0;
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    padding: 0;
    margin: 0;
}

.nav_bar{
    background-color: #383838;
}

.nav_menu{
    min-height: 60px;
    max-width: 1200px;
    padding: 0 30px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    vertical-align: middle;
    display: flex;
    align-items: left;
    flex: 0 0 auto;
}

.logo img {
    height: clamp(75px, 10vw, 100px);
    width: auto;
}


.logo_text:hover,
.logo_text:focus{
    color: #744B93;
}

.nav{
    transition: all 0.3s ease-in-out;
}

.nav_list{
    display: flex;
    column-gap: 30px; 
}

.nav_link{
    color: #F0F0F0;
    transition: all 0.2s;
    font-size: 16px;
}

.nav_link:hover,
.nav_link:focus{
    color: #744B93;
}


.hamburger{
    cursor: pointer;
    display: none;
}

.bar{
    height: 2px;
    width: 27px;
    background-color: #F0F0F0;
    margin: 5px 0;
    opacity: 0.8;
    transition: all 0.3s ease-in-out;
}

.hero-header{
    display: flex;
    justify-content: center;
    padding: 10px 0;
    align-items: center;
    font-size: clamp(1.25rem, 3vw, 2.5rem);      
}
.hero-container{
    padding-top: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    padding-bottom: 50px;
}
.bio{
    display: flex;
    flex-direction: column;
    padding: 30px;
    width: 40%;
    gap:25px;
    background: #9382A1;
    border-radius: 25px;
    color: #F0F0F0;
}
.bio h4{
    text-align: center;
    font-size: clamp(1rem, 3vw, 2rem);
    font-family: 'Vonique 43', sans-serif;
}
.bio p{
    margin-inline: auto;
    max-width: clamp(35ch, 60%, 50ch);
    font-size: clamp(.5rem, 3vw, 1rem);
}
.headshot{
    position: relative;
    justify-content: right;
    width: 75%;
    max-width: 750px;
    min-width: 350px;
}
.hs_img{
    width: 75%;
    height: auto;
    display: block;
    transition: filter 0.3s ease-in-out; 
    border-radius: 25px;
    filter: none;
}
.hs_title {
    position: absolute;
    top: 15%;
    left: 40%;
    transform: translateX(-50%);
    color: #D0ADC4;
    font-size: clamp(1rem, 3vw, 2rem);
    text-align: center;
    margin: 0;
    opacity: 0;
    transition: 0.3s ease-in-out;
    font-family: 'Vonique 43', sans-serif;
}
.hs_desc{
    position: absolute;
    top: 25%;
    left: 40%;
    transform: translateX(-50%);
    color: #D0ADC4;
    font-size: clamp(.5rem, 3vw, 1rem);
    text-align: center;
    margin: 0;
    opacity: 0;
    transition: 0.3s ease-in-out; 
}
.headshot:hover .hs_img{
    filter: blur(5px) brightness(40%) !important;
}
.headshot:hover .hs_title,
.headshot:hover .hs_desc {
    opacity: 1;
}
.portfolio{
    background-color: #383838;
} 
.outer-trans{
    height: 250px;
    background-image: url('src/sandia.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 0 0 150px 150px;
    color: #F0F0F0;
    
    
}
.outer-trans h1{ 
    text-align: center;
    padding-top: 85px;
    font-size: 2.5rem;
}
.inner-trans{ 
    text-align: center;
    border: 0px solid #ddd;
    height: 50px;
    line-height: 50px;
    font-size: 2rem;
    text-transform: lowercase;
    overflow: hidden;
    font-family: 'Vonique 43', sans-serif;
}
.inner-trans span{
    position: relative;
    animation: animation 10s ease infinite;
}

.portfolio h4{
    padding: 30px;
    font-size: 3rem;
    text-align: center;
    color: #F0F0F0;
}

.port-container{
    display: grid;
    grid-template-columns:1fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 30px;
}
.port-item{
    display: flex;
    flex-direction: column;
    background-color: #F0F0F0;
    padding: 20px;
    text-align: center;
    color: #383838;
    border-radius: 25px;
}
.port-item img{
    max-width: 100%;
    height: auto;
    width: auto;
}
.port-item a{
    padding-top: 15px;
    font-size: clamp(.75rem, 3vw, 1.25rem);
}
.port-item a:hover{
    color:#744B93
}

.contact{
    display: flex;
    justify-items: center;
    padding-top: 50px;
    padding-bottom: 50px;
    gap: 250px;
    
}
.cont-text{
    display: flex;
    flex-direction: column;
    padding-left: 2.5rem;
}
.cont-text h3{
    font-size: 2.5rem;
    padding-left: 1.5rem;
}
.under-container{
    text-align: center;
    padding-top: 20px;
    font-size: 1.75rem;
}
.underline {
    position: relative;
    display: inline-block;
    text-decoration: none;
    color: inherit;
    text-align: center;
}

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

.underline:hover::after {
    width: 100%;
}

.call-cont{
    display: flex;
    flex-direction: column;
    padding-top: 45px;
    justify-content: center;
    align-items: center;
    gap: 20px;
}
.call{
    background-color: #9382A1;
    width: 45%;
    height: auto;
    font-size: 2rem;
    border:transparent;
    border-radius: 25px;

}
.call-cont a{
    font-size: 1.5rem;
}
.call-cont a:hover{
    color: #744B93;
}

.email-cont{
    display: flex;
    flex-direction: column;
    padding-top: 45px;
    justify-content: center;
    align-items: center;
    gap: 20px;
}
.email{
    background-color: #9382A1;
    width: 45%;
    height: auto;
    font-size: 2rem;
    border:transparent;
    border-radius: 25px;

}
.email-cont a{
    font-size: 1.5rem;
}
.email-cont a:hover{
    color: #744B93;
}

.cont-form{
    padding-top: 15px;
    width: 35%;
    background-color: #9382A1;
    border: 2px solid #383838;
    border-radius: 25px;
}

.form-cont{
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
    align-items: center;
}
input[id="name"] {
    width: auto; 
    height: 25px;
    text-align: center;
}
input[id="email"] {
    width: auto; 
    height: 25px;
    text-align: center;
}
input[id="phone"] {
    width: auto; 
    height: 25px;
    text-align: center;
}
input[type="submit"] {
    height: 50px;
    width: 100px;
  border-radius: 25px;
  margin-bottom: 20px; 
}

.calender{
    background-color: #9382A1;
    border-radius: 50px;
}
.calendly-inline-widget{
     min-width:275px;
     height:700px;
     border-radius: 40px;
}

.btm-bar{
    position: relative;
    display: flex;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 75px;
    background-color: #383838;
    color: #F0F0F0;
    text-align: center;
    justify-content: center;
    align-items: center;
}


/* JS style */
.nav-open{
    left: 50% !important;
}

.hamburger-open .bar:nth-child(1){
    transform: translateY(7px) rotate(45deg);
}
.hamburger-open .bar:nth-child(2){
    opacity: 0;
}

.hamburger-open .bar:nth-child(3){
    transform: translateY(-7px) rotate(-45deg);
}

/* animation style */
@keyframes animation{
    0%,
    100%{
        top: 0;
    }
    20%{
        top: 0;
    }
    25%{
        top: -50px;
    }
    45%{
        top: -50px;
    }
    50%{
        top:-100px;
    }
    70%{
        top: -100px;
    }
    75%{
        top: -150px;
    }
    90%{
        top: -150px;
    }
}

@media screen and (max-width: 650px) {
    .nav{
        width: 100%;
        background-color: #383838;
        overflow: hidden;
        max-height: 0;
        transition: max-height 0.3s ease;
    }

    .nav-open{
        max-height: 300px;
    }

    .nav_list {
        flex-direction: column;
        align-items: center;
        row-gap: 20px;
        padding: 10px 0 25px;
    }
    .hero-header{
        font-size: 1rem;
    }

    .hamburger{
        display: block;
    }
    .hero-container{
        flex-wrap: wrap;
        justify-content: center;
    }
    .bio{
        width: 60%;
        border-radius: 25px;
    }
    .bio p{
         min-width: 30ch;
    }
    .headshot{
        width: 125%;
        padding-left: 5.75rem;
    }
    .hs_title{
       padding-left: 6.5rem;
       top: 5%;
    }
    .hs_desc{
       padding-left: 6.5rem;
       top: 12.5%;
       font-size: 12px;
    }
    .outer-trans{
        border-radius: 0 0 px 75px;
    }
    .contact{
        flex-wrap: wrap;
        gap: 35px;
    }
    .cont-form{
        width: 100%;
        margin-left: 25px;
        margin-right: 25px;
    }

    .cont-text{
    padding-left: 0.25rem;
    }
    .cont-text h3{
    padding-left: 0;
    font-size: 25px;
    }
    .cont-text a{
    padding-left: 0.25rem;
    }


    .port-container{
    grid-template-columns: 1fr 1fr;
    }
    .calendly-inline-widget{
     min-width:275px;
    }


}