@import url('../components/secondary_header.css');

.content-box{
    display: flex;
    flex-direction: column;
    overflow: hidden; /* to respect the border-radius for images */
    align-items: start;
    width: 70%;
}
.careers-content-image {
    height: 300px; /* Adjust the height to your desired value */
    width: 80%;
    margin: 30px 0;
    border-radius: 20px; /* Adjust the border-radius to your desired value */
    overflow: hidden; /* To respect the border-radius for images */
  }


  .careers-content-image img {
    height: 100%; /* Ensure the image fills the container */
    width: 100%; /* Ensure the image fills the container */
    object-fit: cover; /* Maintain the image's aspect ratio and fill the container */
  }



.content-box h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--bright-blue);
}

.content-box p {
    font-size: 1rem;
    color: var(--bright-blue);
}

#file-input {
    width: 30px;
    height: 20px;
    opacity: 0;
    position: absolute;
    z-index: -1;
  }

  .label-container {
    position: relative;
    display: inline-block;

  }

  .label-container label {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 150px;
    height: 100%;
    background-color: var(--bright-blue);
    color: black;
    text-align: center;
    font-weight: 500;
    border-radius: 50px;
    cursor: pointer;
    transition: background-color 0.3s;
    font-size: 14px;
    padding: 15px;
  }

  .label-container label:hover {
    background-color: var(--primary-color);
  }

  #file-name{
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
    vertical-align: middle;
    color: var(--bright-blue);
    margin: 5px 20px;
  }


  .button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 150px;
    height: 100%;
    background-color: var(--bright-blue);
    color: black;
    text-align: center;
    font-weight: 500;
    border-radius: 50px;
    cursor: pointer;
    transition: background-color 0.3s;
    font-size: 14px;
    padding: 15px;
    border: none !important ;
  }

  .button:hover {
    background-color: var(--primary-color);
  }


  .upload-cv-box {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    justify-content: space-around;
    margin: 3rem 0;
    border: none;
}

.cv-form{
    display: flex;
    flex-direction: row;
    margin: 20px;
}

.header-title{
    color: var(--bright-blue);
}


@media(max-width: 900px) {
    .secondary-header-content h1 {
        font-size: 3.5vw;
        margin-bottom: 1rem;
        color: var(--bright-blue);
    }
}


@media(max-width: 460px) {
    .content-box{
        width: 100%;
    }

    .careers-content-image {
        height: 200px; /* Adjust the height to your desired value */
        width: 100%;
        margin: 30px 0;
        border-radius: 20px; /* Adjust the border-radius to your desired value */
        overflow: hidden; /* To respect the border-radius for images */
    }
    .secondary-header-content h1 {
        font-size: 6vw;
        margin-bottom: 1rem;
        color: var(--bright-blue);
    }

    .secondary-header-content {
        width: 100%;
    }

    .cv-form {
        display: flex;
        flex-direction: column;
        margin-top: 20px;
    }

}
