/* CSS Document */

/*
Theme Name: Marla Braverman
Author: Taya Sourikov
Description: template for the Marla Braverman website
Text Domain: marla-textdomain
Domain Path: /languages
Version: 1.0.0
*/

@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

:root {
  --text-color: #222222;
  --secondary-color: #ff0090;
}
body{
  font-family: "Roboto";
  font-weight: 400;
  font-size: 20px;
  color: var(--text-color);
}

#site_header{
  padding: 3.5em 0 5em 0;
}
#site_header .container{
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#header_logo{
  font-weight: 400;
  text-transform: uppercase;
  font-size: 2em;
  text-decoration: none;
  color: var(--secondary-color);
  letter-spacing: 0.05em;
}
#menu-main-menu{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 2em;
}
#menu-main-menu li{
  display: inline-block;
  margin: 0;
  padding: 0;
}
#menu-main-menu li a{
  text-transform: uppercase;
  text-decoration: none;
  color: var(--secondary-color);
  font-size: 0.9em;
  font-weight: 300;
  letter-spacing: 0.05em;
}
#menu-main-menu li a:focus,
#menu-main-menu li a:hover,
#menu-main-menu li.current-menu-item a{
  color: var(--text-color);
}
.container{
  max-width: 1200px;
  width: 90%;
  margin: 0 auto;
}
.two-cols{
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-column-gap: 5em;
}
.one-col .text-wrapper{
  max-width: 800px;
}
.text-wrapper{
  line-height: 1.5em;
  min-height: 50vh;
}
.text-wrapper h1{
  font-weight: 400;
  text-transform: uppercase;
  font-size: 2.5em;
}
body.home .text-wrapper h1{
  margin-top: 2em;
}
.text-wrapper h2{
  font-weight: 400;
  text-transform: uppercase;
  font-size: 2em;
  margin-top: 2em;
}
.text-wrapper h2:first-child{
  margin-top: 1em;
}
.thumbnail-wrapper img{
  max-width: 100%;
  height: auto;
}
.publication{
  margin: 0.8em 0;
}
.publication a{
  color: var(--text-color);
  text-decoration: none;
}
.publication a:hover,
.publication a:focus{
  color: var(--secondary-color);
}
.magazine{
  font-style: italic;
}
footer{
  padding: 7em 0 2em 0;
  font-size: 0.85em;
  text-align: center;
}
.hide-on-desktop{
  display: none;
}
@media (max-width: 1200px){
  body{
    font-size: 1.5vw;
  }
}
@media (max-width: 767px){
  body{
    font-size: 13px;
  }
  #site_header{
    padding: 1.5em 0 3em;
  }
  #site_header .container{
    display: block;
    text-align: center;
  }
  #site_header nav{
    margin: 1.5em 0;
  }
  .nav-toggle{
    margin-bottom: 1.5em;
  }
  .nav-toggle a{
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 1.2em;
    font-weight: 300;
    text-transform: uppercase;
  }
  #menu-main-menu{
    display: none;
    border-top: solid 1px #ddd;
  }
  body.menu-open #menu-main-menu{
    display: block;
  }
  #menu-main-menu li{
    display: block;
    margin: 2em 0;
  }
  #menu-main-menu li a{
    font-size: 1.2em;
  }
  .hide-on-desktop{
    display: block;
  }
  .two-cols{
    column-gap: 2em;
  }
  body.home .text-wrapper h1{
    margin-top: 0.1em;
    line-height: 1.2em;
  }
}
@media (max-width: 600px){
  body{
    font-size: 4vw;
  }
  body.home .text-wrapper h1{
    display: none;
  }
  body.home .two-cols{
    grid-template-columns: 1fr;
    grid-row-gap: 1.5em;
    grid-template-areas: "thumbnail" "the_text"
  }
  body.home .two-cols .text-wrapper{
    grid-area: the_text;
  }
  body.home .two-cols .thumbnail-wrapper{
    grid-area: thumbnail;
  }
}
.wpcf7-form input[type=text],
.wpcf7-form input[type=email],
.wpcf7-form input[type=tel],
.wpcf7-form textarea{
  width: calc(100% - 4px);
  display: block;
  font: normal 1em 'Jost', sans-serif;
  line-height: 1.7em;
  padding: 0.1em 0.1em 0.1em 0.1em;
  margin: 0;
  background: #ebebeb;
  border: solid 1px #cccccc;
  outline: none;
  -webkit-appearance: none;
  border-radius: 0;
}
.wpcf7-form textarea{
  height: 180px;
}
.wpcf7-form div.field_wrapper,
.wpcf7-form div.radio_wrapper,
.wpcf7-form div.textarea_wrapper{
  position: relative;
  margin: 1.5em 0;
}
.wpcf7-form p{
  margin: 0;
}
.wpcf7-form div.field_wrapper label,
.wpcf7-form div.textarea_wrapper label,
.wpcf7-form div.radio_wrapper > label{
  position: absolute;
  top: 0.6em;
  left: 0.45em;
  color: #777777;
  font-size: 0.7em;
  letter-spacing: 0.05em;
  line-height: 1.5em;
  transition:0.5s var(--ease-out-bounce) all; 
  -moz-transition:0.5s var(--ease-out-bounce) all; 
  -webkit-transition:0.5s var(--ease-out-bounce) all;
}
.wpcf7-form div.field_wrapper label.focused,
.wpcf7-form div.textarea_wrapper label.focused{
  top: -1.35em;
  font-size: 0.6em;
}
.wpcf7-submit{
  font-size: 0.65em;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 3em;
  padding: 0.15em 0.85em 0 0.85em;
  background: #444444;
  color: #ffffff;
  border: none;
  outline: none;
  font-variant: small-caps;
  min-width: 8em;
  cursor: pointer;
  -webkit-appearance: none;
  border-radius: 0;
}
.wpcf7-submit:hover,
.wpcf7-submit:focus{
  background: #666666;
}
.wpcf7-not-valid-tip{
  font-size: 0.65em;
}
.wpcf7 form .wpcf7-response-output{
  padding: 0.2em 0.2em;
  margin: 2em 0;
}
@media(max-width: 767px){
  .wpcf7-form div.field_wrapper label, .wpcf7-form div.textarea_wrapper label, .wpcf7-form div.radio_wrapper > label{
    top: 0.7em;
  }
  .wpcf7-submit{
    line-height: 3em;
  }
  .wpcf7-form input[type=date].wpcf7-date{
    height: 1.7em!important;
    -webkit-appearance: none; /* webkit browsers */
    -moz-appearance: none; /* firefox browser */
    appearance: none;
    border-radius: 0;  
  }
}