/* styles.css */

/* TODO
General:
1. make dummy dev repo?
-> text resizing using media query?
2. make better solution for the spacing of the cta at end
-> each item should stay centered. probably need a wrapper around each item. or set each of their sizes relative to screensize?
About:
-> portrait image scaling to be appropriate using flexbox...
*/

/* || GENERAL STYLES */
:root {
    --footer-color: rgb(62, 62, 62);
    --light-grey: rgb(133, 133, 133);
    --footer-text-color: rgb(255, 255, 255);
    --transition-size: 500px;
    --button-bg: white;
    --button-txt: black;
}

html {
    height: 100%;
}

body {
    font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif; 
    font-weight: 300;
    display: flex;
    flex-direction: column;
    margin: 0px;
    height: 100%;
    width: 100%;
}

h1 {
    font-size: 3rem;
    letter-spacing: 0.03rem;
}

h3 {
    font-size: 1.5rem;
    letter-spacing: 0.03rem;
}

/* @media (max-width: 700px) {
    h3 {
        font-size: 1rem;
    }
} */

h4 {
    margin: 0px 0px 10px 0px;
    letter-spacing: 0.03rem;
    font-size: 1.2rem;
}

@media (max-width: 700px) {
    h4, .position {
        text-align: center;
    }
}

h5 {
    /* font-family:'Times New Roman', Times, serif; */
    /* text-transform: uppercase; */
    /* color: gray; */
}

p {
    font-size: 1rem;
    line-height: 1.5rem;
    letter-spacing: 0.02rem;
}

ul {
    list-style: none;
    padding: 0px;
    margin: 0px;
}

li + li{
    margin-top: 0.3rem;
}

hr {
    width: 100%;
    height:0.1px;
    /* border-width:2px; */
    /* color:rgb(0, 0, 0); */
    background-color:rgb(0, 0, 0);
}

#logo {
    color: inherit;
    text-decoration: none;
}

button {
    /* border: black; */
    font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif; 
    color: var(--button-txt);
    font-weight: 600;
    font-style: italic;
    border: 1.5px solid var(--button-txt);
    background-color: var(--button-bg);
    padding: 10px 15px;
    margin: 1em 0em;
    border-radius: 10px;
    transition-duration: 0.4s;
    cursor: pointer;
}

button:hover {
    background-color: var(--button-txt);
    color: var(--button-bg);
    border-color: var(--button-txt);
}

a {
    color: rgb(157, 157, 157);
    /* font-family: helvetica; */
    text-decoration: none;
    /* text-transform: uppercase; */
  }
  
  a:hover {
    text-decoration: underline;
  }
  
  a:active {
    color: black;
  }
  
  /* a:visited {
    color: rgb(122, 122, 122);
  } */

.position {
    margin-top: 0px;
    letter-spacing: 0.03rem;
    /* color: var(--light-grey); */
    /* font-style: italic; */
}
/* || LAYOUT */

.section {
    display: flex;
    align-items: center;
    justify-content: center;
}

.header {
    flex: 0 1 auto;
    height: 100px;
}

.main {
    flex: 1 0 auto;
    align-items: flex-start;
    padding-bottom: 2rem;
}

.footer {
    flex-shrink: 0;
    background-color: var(--footer-color);
    padding: 1rem 0rem;
}

/* .header .internal {
    flex-direction: column;
} */

.internal {
    display: flex;
    align-items: center;
    width: 800px; /* max width */
    padding: 0px 24px;
    gap: 8px; /* default gap width */
}

.header .internal {
    justify-content: space-between;
}

.main .internal {
    justify-content: flex-start;
    flex-direction: column; 
}

.cta .internal {
    flex-direction: row;
    padding-bottom: 44px;
    justify-content: space-evenly;
}

@media (max-width: 700px) {
    .cta .internal {
        flex-direction: column;

    }
}

/* || INTERNAL SECTION STYLING */

#about {
    padding-top: 44px;
}

.people-block {
    display: flex;
    flex-direction: row;
    box-sizing: border-box;
    gap: 20px;
    /* padding: 0px 44px; */
    padding-top: 44px;
}

@media (max-width: 700px) {
    .people-block {
        flex-direction: column-reverse;
    }
}


.left {
    flex: 1 1 auto;
    height: 35vh;
}
.right {
    /* flex-grow: 1; */
    justify-content: flex-start;
    /* height: 30vh; */
}

.portrait {
    min-width: 100%;
    max-height: 100%;
    object-fit: contain;
    /* object-fit: contain; */
    /* width: auto; */
}

#horizontal-link-list {
    display: flex;
    list-style: none;
    padding: 0px;
    margin: 0px;
    gap: 20px;
}

#hero-image {
    height: 53vh;
    width: 100%;
    object-fit: cover;
    align-self: center;
}

.hero-image {
    height: 53vh;
    width: 100%;
    object-fit: cover;
    align-self: center;
}

@media (max-width: 700px) {
    /* #hero-image {
        height: 35vh;
    } */

    .header {

    }
}

#footer-text {
    color: var(--footer-text-color);
    font-size: 0.75rem;
}

#hero-text {
    text-align: center;
}

.collabs-header {
    font-size: 1rem;
}
.collaborators {
    padding-bottom: 44px;
}

@media (max-width: 700px) {
    .collab-list li {
        text-align: center;
    }
}

/* || IMAGE SLIDER */
/* #slider {
    opacity:1;
    transition: opacity 1s; 
}

#slider.fadeOut {
    opacity:0;
} */

#slider {
    position: relative;
}
#slider img {
    transition: opacity 1.5s;
    position: absolute;
    top:0;
    left:0;
    opacity:0;
}
#slider img.fadeIn {
    opacity:1;
}

.offerings {
    padding-left: 30px;
}

#people-title {
    display: block;
}

#cta {
    width: 300px;
    word-wrap: break-word;
}

@media (max-width: 700px) {
    #cta {
        text-align: center;
    }
}

#logo-text {
    letter-spacing: -0.06rem;
}