:root{
    --main:rgba(62, 6, 205, 0.982);
    --background:white;
    --text-over-main:white;
    --second:blueviolet;
}
html{
    font-size:1vw;
}
html, body {
    margin: 0;
    padding: 0;
    box-sizing: border-box; 
    width: 100%;
    height: 100%;
}
body{
    background-color:var(--background);
}
h1{
    font-family:"Oswald",sans-serif;
    font-size:3em;
}
h2{
    font-family:"Cormorant Garamond", serif;
    font-weight:400;
    font-size:2.75em;
}
p{
    font-size:1.5em;
}
p,h3{
    font-family:"Roboto", serif;
}
h6{
    font-size:1em;
    color:#989793;
    font-weight:100px;
    font-family:"Roboto",serif;
    border-bottom:#989793 solid 1px;
    padding-bottom:5px;
    width:15px;
}
ul li{text-decoration:none;float:left;list-style-type:none;}
footer {
    margin-top:50px;
    font-size:0.65em;
    background: #333;
    color: white;
    text-align: center;
    padding: 10px 0;
}
.menu{
    width:100%;
    position: sticky;
    top:0;
    overflow: hidden;
    background-color:var(--background);
    color:black;
    display:flexbox;
    padding-bottom:20px;
    margin-right:30px;
    position:sticky;
    z-index:2;
}
.menu ul li a{
    align-items: baseline;
}
.menu img{
    float:left;
    height:40px;
    }
.menu button{
    border:none;
    background-color:var(--background);
    font-size:0.85em;
    margin-top:15px;
    margin-left:10px;
}
.menu button:hover{
    color:var(--main);
}
.menu-items{
    float:left;
}
.forms-menu{
    float:right;
}
.find-jobs {
    text-align: center;
}
  .scroll-container {
    display: flex;
    overflow-x: auto;
    gap: 1rem;
    padding: 1rem;
    scroll-behavior: smooth;
    max-width: calc(250px * 4 + 3rem); 
    margin: 0 auto; 
  }
.scroll-container::-webkit-scrollbar {
    height: 2px;
}
.scroll-container::-webkit-scrollbar-thumb {
    background-color:#dfdfdf;
    border-radius: 4px;
}
  .card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    width: 250px;
    flex: 0 0 auto;
    transition: transform 0.3s;
    z-index:1;
  }

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

  .card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
  }

  .card-content {
    font-family:"Roboto",serif;
    text-align: left;
    padding: 1.5em;
  }
  .card-title {
    font-size: 1.25em;
    font-weight: bold;
    margin-bottom: 0.5em;
  }

  .card-description {
    font-size: 0.90em;
    color: #555;
  }

.jobs-container #heading-text{
    text-align:center;
    font-family:'Courier New', Courier, monospace;
    animation: typewriter 3s steps(30) alternate,blink 500ms steps(500) normal 3s; 
    border-right: 3px inset black;
    animation-timeline:view(110px 0px);
}
.header{
    background-image:url(home.png);
    background-color: rgba(0, 0, 0, 0);
    width:80%;
    margin:auto;
    height:500px;
    padding:50px;
    padding-left:150px;
    text-shadow:5px 5px 10px black;
    border-radius:10px;
    color:white;
}
.brands{
    margin:50px;
    margin-bottom:70px;
}
.brands p{
    font-weight:450;
    font-size:0.75em;
    letter-spacing:1.25px;
    text-align:center;
}

.images{
    display:flex;
    justify-content: center;
    align-items: center;
    gap:30px;
    margin-top:50px;
}

.images img,.hover-effect{
    height:60px;
    width:auto;
}
.hover-effect{
    position:relative;
    display: flex;
    width:150px;
    height:60px;
}
.hover-effect img{
    position:absolute;
    top:0;
    left:0;
    height:100%;
    width:100%;
    object-fit:contain;
    transition: opacity 0.3s ease-in-out; 
}
.hover-effect .active{
    object-fit:cover;
    max-width: 100%;
    max-height: 150%;
}
.hover-effect .static {
    z-index: 1;
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}
.hover-effect .active {
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}
.hover-effect:hover {
    .static{opacity:0;}
    .active{opacity:1;}
}
.testimonials {
    display: flex; 
    justify-content: space-around; 
    align-items: center;
    background-color: black;
    color: white;
    padding: 50px; 
    min-height: 250px; 
    width:100%;
    gap: 20px;
}
.section {
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    text-align:center;
    width:30%;
    margin-right:70px;
}
.section img{
    border-radius:50%;
    height:100px;
    justify-content:center;
}
.timeline-container-left,.timeline-container-right,.timeline p, .timeline h6, .timeline h2, .timeline img{
	animation:fade-in linear;
	animation-timeline:view(700px 0px);
	}
    .cta,.browse,.talent{
        margin-left:80px;
        margin-right:80px;
        justify-content:space-around;
        margin-top:50px;
        padding:20px;
        width:85%;
        background-color:#5669E9;
        color:white;
        border-radius:10px;
    }
    #castingFormContainer input,#castingFormContainer label,#castingFormContainer button,#castingFormContainer select,#castingFormContainer,#hr1,.bigger-container{
        animation:fade-in linear;
        animation-timeline:view(850px 0px);
        }
    .cta p,.cta h1,.cta h3{
        width:70%;
        margin:auto;
        text-align:center;
    }
    .cta p{
        margin-top:30px;
        font-weight:300;
        font-size:1.25em;
    }
    .browse{
        background-image:url(browse.png);
        background-repeat: no-repeat;
        background-size:cover;
        height:40%;
        text-align:left;
        padding:50px;
        margin-left:auto;
        margin-right:auto;
        padding-top:80px;
    }
    .browse h1,.browse p,.browse button{
        margin-left:40px;
    }
    .content h1{
        color:var(--main);
    }
    .jobs-container {
        padding: 20px;
        display: flex;
        flex-direction: column;
        gap: 50px;
    }
    .jobs-container h1{
        text-align:center;
    }
    .job-card p{
        font-size:1em;
    }
    .job-card h3{
        font-size:1.5em;
    }
    .job-section {
        display: flex;
        align-items: center;
    }
    .job-section:hover{
        background-color:black;
        color:white;
        .job-card{color:black;}
        .category-label{width:50px;transition:0.2s;};
        transition:0.3s;
    }
    .category-label {
        background-color: black;
        width:30px;
        height:250px;
        color: white;
        padding: 10px;
        margin-right: 5px;
        text-align: center;
        font-size: 1.5em;
        font-weight: bold;
        line-height: 1em;
        border-radius:5px;
    }
    .category-label p{
        padding:auto;
    }
    .scrollable {
        display: flex;
        gap: 20px;
        overflow-x: auto;
        padding: 10px 0;
    }
    
    .scrollable::-webkit-scrollbar {
        height: 0px;
    }
    
    .scrollable::-webkit-scrollbar-thumb {
        background-color: blueviolet;
        border-radius: 5px;
    }
    
    .scrollable::-webkit-scrollbar-track {
        background: #ddd;
    }
    
    .job-card {
        background: white;
        border: 1px solid #ddd;
        border-radius: 10px;
        padding: 20px;
        min-width: 300px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }
    
    .job-card h3 {
        margin: 0 0 10px;
    }
    
    .scrollable button, .job-card label {
        background-color: #3e06cd;
        color: white;
        border: none;
        padding: 10px 20px;
        cursor: pointer;
        border-radius: 5px;
    }
    
    .scrollable button:hover,.job-card label:hover{
        background-color: #5a37e3;
    }
    .category-label p{
        font-size:0.5em;
    }
    .job-card label{
        font-family:"Roboto",serif;
        font-size:0.80em;
        cursor: pointer;
        margin-top:20px;
    }
    .modal {
        display: none; 
        position: fixed;
        z-index: 1; 
        left: 0;
        top: 0;
        width: 100%; 
        height: 100%; 
        overflow: auto; 
        background-color: rgba(0, 0, 0, 0.5);
    }
    .modal-content {
        background-color: #fff;
        margin: 15% auto;
        padding: 30px;
        padding-top:15px;
        padding-bottom:40px;
        border-radius: 5px;
        width: 90%; 
        text-align:center;
        max-width: 600px; 
    }
    .talent{
        background-image: url('https://d3uscstcbhvk7k.cloudfront.net/static/c2115a57a0d43953a0c7.jpg');
        height:60%;
        text-align:left;
        padding-left:110px;
        vertical-align: bottom;
        background-size:cover;
        margin:auto;
    }
    .talent-text{
        padding-top:50px;
        width:50%;
    }
    .talent h1{
        text-shadow:black 2px 2px 5px;
    }
    .timeline {
        width:90%;
        margin:auto;
    }
    .timeline h1{
        text-align:center;
    }
    .timeline hr{
        width:60%;
        background-color: black;
    }
    .timeline-container-left,.timeline-container-right{
        display:flex;
        height:50%;
        margin:50px;
    }
    .timeline-text{
        width:50%;
        margin:auto;
    }
    .timeline-container-right img{
        gap:20px;
        align-items:right;
        height:250px;
        margin:auto;
        margin-right:0px
    }
    .timeline-container-left img{
        height:250px;
        margin:auto;
    }
    .timeline p{
        font-size:1em;
        line-height: 20px;
    }
    .connect{
        width:80%;
        margin:auto;
        display:flex;
        background-color:#fece0c;
        border-radius:15px;
        padding:30px;
        gap:20px;
        align-items: baseline;
    }
    .connect p{
        margin:auto;
    }
    
#heading-text{
    white-space: nowrap;
    overflow: hidden;
    animation: typewriter 2s steps(30) alternate,blink 500ms steps(1000) normal 3s; 
    border-right: 3px inset white;
    animation-fill-mode: forwards;
}
#join{
    background-color:var(--main);
    color:var(--text-over-main);
    border-radius:3px;
    height:25px;
    width:120px;
    border:none;
    margin-right:30px;
    margin-top:11px;
}
#join:hover{
    background-color:var(--second);
    transition:0.2s;
}
#hr1{
    background-color: white;
    height:1px;
    width:90%;
    border:none;
    position:absolute;
}
.section #quote{
    width:80%;
    text-align:center;
    font-size:1em;
}
.section #actor{
    font-size:1em;
    font-weight:bold;
}
#cast{
    margin-top:30px;
    height:50px;
    color:white;
    width:200px;
    font-size:1em;
    background-color:black;
    border-radius:10px;
    border:none;
}
.browse #cast{
    position:absolute;
    background-color:#5a37e3;
}
.browse #cast:hover{
    background-color:black;
    color:white;
}
#cast:hover{
    background-color:white;
    color:black;
    transition:0.2s;
} 
.talent #cast{
    font-weight:bold;
    background-color:#fece0c;
    color:black;
}
.talent #cast:hover{
    background-color:#ffd83d;
}
.connect #cast{
    margin:auto;
    height:60px;
}
.bigger-container{
    margin-top:0px;
    width:100%;

}
#castingFormContainer{
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 500px;
    margin: 0px auto; 
    background-image: linear-gradient(to bottom left, black, #5a37e3);
    color:white;
}
#castingFormContainer label{
    color:white;
    font-size:1.25em;
    padding-top:10px;
    font-family:"Roboto",sans-serif;
}
#castingFormContainer input,select,option{
    width:95%;
}
#castingFormContainer input, select{
    height:20px;
    width: 95%;
    padding: 10px;
    margin-top: 5px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
}
#castingFormContainer select{
    height:45px;
    width:100%;
}
#castingFormContainer button{
    background-color:#fece0c;
    margin:10px auto;
}
#castingFormContainer button:hover{
    background-color:#ffd83d;
}
.privacy p{
    font-size: 12px;
    color: white;
    text-align: center;
    margin-top: 10px;
    font-family:Arial;
}
form{
    height:90%;
    font-size:0.75em;
    color:black;
    text-align:left;
}
form a{
    color:var(--main);
}
form .container{
    margin-top:20px;
    width:70%;
    height:60%;
    display: block;
    margin-left: auto;
    margin-right: auto;
    background-color:#5669E9;
    border-radius:20px;
    color:white;
    padding:16px;
}
form .container-text{
    font-family:"Roboto",sans-serif;
    height:90%;
    width:90%;
    margin-left:auto;
    margin-right:auto;
}
input[type=text], input[type=password] {
    width: 100%;
    padding: 15px;
    margin: 5px 0 22px 0;
    display: inline-block;
    border: none;
    background: #f1f1f1;
}
input[type=text]:focus, input[type=password]:focus {
    background-color: #ddd;
    outline: none;
}
form hr {
  border: 1px solid #f1f1f1;
  margin-bottom: 25px;
}
form button {
  background-color:#fece0c;
  color: black;
  padding: 14px 20px;
  border: none;
  cursor: pointer;
  width: 100%;
  text-align:center;
}
form .signupbtn:hover{
  background-color:#ffd83d;
  }
form .cancelbtn:hover {
  background-color:white;
  color:black;
}
form .cancelbtn {
  padding: 14px 20px;
  background-color: black;
  color:white;
}
form .cancelbtn, .signupbtn {
  float: left;
  width: 50%;
}
form .container:hover{
    box-shadow: 0px 0px 10px 5px lightgray;
}
form a{
    color:white;
    font-size:0.75em;
}
input[type="checkbox"]{
    display: none;
}
input[type="checkbox"]:checked + .modal{
    display: block;
}
@keyframes typewriter {
        from {
            width: 0%;
        }
        to {
            width: 55%;
        }
    }
    
@keyframes blink {
        from {
            border-color: white;
        }
        to {
            border-color: transparent;
        }
    }
@keyframes fade-in{
	from{scale:0;opacity:0;}
	to{scale:1;opacity:1;}
	}
    .carousel-inner img {
        width: 100%;
        max-height:600px;
        object-fit: cover;
        object-position: top;
    }
.carousel-caption h3 {
        color: #fff; 
}
