bareMinerals
<style> /* mobile 320 */ @media (min-width: 320px) {&nbs
<style>
/* mobile 320 */
@media (min-width: 320px) {
* {
margin: 0;
padding: 0;
}
html,
body {
width: 100%;
height: 100%;
margin: 0px;
padding: 0px;
}
ul {
padding: 0;
}
a, a:visited, a:link {
color: #000;
}
.call-us-mobile a {
color: #fff !important;
}
.lp-container {
width: 100%;
padding: 0px 0px;
}
.hero__container {
width: 100%;
display: flex;
}
.hero__origins-container,
.hero__origins-container-2 {
width: 50%;
background-color: #fafafa;
position: relative;
}
.hero__origins-logo-mobile {
width: 100%;
text-align: center;
margin: auto;
display: flex;
margin-top: 3rem;
}
.hero__origins-image-mobile {
width: 100%;
}
.hero__origins-text-container {
position: absolute;
font-weight: bold;
text-align: center;
margin: 0 auto;
z-index: 999;
left: 1%;
right: 0;
top: 2%;
}
.hero__origins-header {
font-size: 22px;
padding-top: 1rem;
font-weight: bold;
color: #303030;
}
.dropbtn {
background-color: #303030;
color: white;
padding: 16px;
font-size: 16px;
border: none;
cursor: pointer;
}
.hero__nav-container {
display: block;
}
.hero__nav {
display: none;
background-color: #fff;
width: 100%;
}
.hero__list-link {
color: #303030;
padding: 12px 16px;
text-decoration: none;
display: block;
font-size: 14px;
}
.hero__list-item {
border-bottom: 1px solid #303030;
}
.active {
border-bottom: 5px solid #303030
}
.show {
display: block;
}
.hero__nav-button-arrow-right {
border: solid #303030;
border-width: 0 3px 3px 0;
display: inline-block;
padding: 3px;
transform: rotate(-45deg);-webkit-transform: rotate(-45deg);
position: absolute;
right: 0;
margin-right: 16px;
margin-top: 5px;
}
.hero__nav-button-arrow-down {
border: solid #303030;
border-width: 0 3px 3px 0;
display: inline-block;
padding: 3px;
transform: rotate(45deg);
-webkit-transform: rotate(45deg);
position: absolute;
right: 0;
margin-right: 16px;
margin-top: 3px;
}
.hero__nav-button {
width: 100%;
border: none;
border-bottom: 2px solid #303030;
color: #303030;
text-transform: uppercase;
font-size: 14px;
font-weight: bold;
background-color: #fff;
height: 40px;
text-align: left;
padding-left: 10px;
position: relative;
}
.hero__list-item:focus, .hero__list-item:active {
border-bottom: 4px solid #303030;
}
.hero__origins-text-desktop {
display: none;
}
.hero__nav-container-desktop {
display: none;
}
.products {
display: none;
}
.hero__origins-image-desktop {
display: none;
}
}
/* tablet 768px */
@media (min-width: 768px) {
.hero__origins-text-container {
top: 13%;
}
.hero__origins-header {
font-size: 38px;
}
.hero__container {
height: 300px;
}
.hero__origins-image-mobile {
height: 336px;
}
}
/*tablet 1024px */
@media (min-width: 1024px) {
.hero__origins-image-mobile, .hero__container {
height: auto;
}
.container {
padding-right: 15px;
padding-left: 15px;
margin-right: auto;
margin-left: auto;
}
.hero__origins-image-desktop {
display: block;
width: 100%;
}
.hero__origins-text-container {
top: -4%;
}
.hero__origins-logo-mobile {
width: 60%;
}
.hero__origins-header {
font-size: 30px;
}
.hero__origins-text-desktop {
display: block;
font-size: 14px;
font-weight: 400;
width: 334px;
margin: auto;
color: #303030;
}
.hero__origins-image-mobile {
display: none;
}
.hero__origins-text-desktop {
display: block;
}
.hero__origins-container {
width: 40%;
}
.hero__origins-container-2 {
width: 60%;
}
.hero__nav-container {
display: none;
}
.hero__nav-container-desktop {
display: block;
background-color: #fff;
border-bottom: 2px solid #303030;
height: 44px;
}
.hero__list-item-desktop:hover {
border-bottom: 4px solid #303030;
}
.hero__list-desktop {
display: flex;
justify-content: space-evenly;
}
.hero__list-link-desktop {
color: #303030 !important;
text-decoration: none;
font-size: 13px;
}
.hero__list-item-desktop {
padding-top: 10px;
padding-bottom: 8px;
}
.products {
display: flex;
margin-top: 2rem;
width: 100%;
}
.products__container {
padding-right: 30px;
text-align: center;
position: relative;
}
.products__container-3 {
text-align: center;
position: relative;
padding-right: 0;
}
.products__header {
font-size: 13px;
font-weight: bold;
padding-top: 1.2rem;
}
.products__text {
font-size: 13px;
margin-top: -0.5rem;
margin-bottom: -0.1rem;
}
.products__button {
border: none;
border-bottom: 1px solid #000;
background-color: #fff;
font-size: 13px;
text-transform: uppercase;
font-weight: bold;
height: 16px;
}
.products__new-text {
text-transform: uppercase;
background-color: #000;
color: #fff;
font-size: 15px;
font-weight: bold;
width: 75px;
height: 28px;
padding-top: 3px;
text-align: center;
position: absolute;
z-index: 999;
left: 0%;
right: 0;
top: 8%;
}
.products__play-icon {
position: absolute;
right: 0;
bottom: 70px;
margin: 0 auto;
z-index: 999;
right: 30px;
width: 50px;
}
.products__play-icon-cb3 {
position: absolute;
right: 0;
bottom: 91px;
margin: 0 auto;
z-index: 999;
right: 0px;
width: 50px;
}
.products__image {
width: 100%;
}
}
/* desktop 1200px*/
@media (min-width: 1200px) {
.hero__origins-text-container {
top: 1%;
}
.hero__origins-header {
margin-top: 1.5rem;
}
.hero__list-link-desktop {
font-size: 14px;
}
.products__header,
.products__text,
.products__button {
font-size: 14px;
}
.products__play-icon {
bottom: 91px;
}
}
</style>
<script>
function toggleNav() {
document.getElementById("dropdown").classList.toggle("show");
let icon = document.getElementById("icon");
icon.classList.toggle('hero__nav-button-arrow-right');
icon.classList.toggle('hero__nav-button-arrow-down');
}
window.onclick = function(e) {
if (!event.target.matches('.hero__nav-button')) {
let dropdowns = document.getElementsByClassName("hero__nav");
let i;
for (i = 0; i < dropdowns.length; i++) {
let openDropdown = dropdowns[i];
if (openDropdown.classList.contains('show')) {
openDropdown.classList.remove('show');
}
}
}
}
</script>
<div class="main__container">
<div class="row hero">
<div class="lp-container">
<!-- hero -->
<div class="main__container">
<div class="row hero">
<div class="lp-container">
<div class="hero__container">
<div class="hero__origins-container">
<div class="hero__origins-text-container">
<img class="hero__origins-logo-mobile" src="//dr9wvh6oz7mzp.cloudfront.net/i/e9709738774d747e80a3abfa2c3a63cb.png" alt="bare minerals brand logo">
<h1 class="hero__origins-header">bareMinerals</h1>
<p class="hero__origins-text-desktop">What sets our clean makeup apart is that its tested, proven to perform and actually improves your skin. Clean without compromise. Were also 100% cruelty-free always have been, always will be.</p>
</div>
</div>
<div class="hero__origins-container-2">
<img class="hero__origins-image-mobile" src="//dr9wvh6oz7mzp.cloudfront.net/i/84d00458e2b223d8616c4a6699ddc7c6.jpg" alt="bare minerals products">
<img class="hero__origins-image-desktop" src="//dr9wvh6oz7mzp.cloudfront.net/i/97df3b79fe15df7e04526c7cddcceb9e.jpg" alt="bare minerals products">
</div>






















