@import url('https://fonts.googleapis.com/css2?family=Lilita+One&family=Paytone+One&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    font-family: 'Poppins';
    margin: 0%;
    padding: 0%;
    font-size: 12px;
    box-sizing: border-box; 
    -webkit-user-select: none;  /* Safari */
    -moz-user-select: none;     /* Firefox */
    -ms-user-select: none;      /* Internet Explorer/Edge */
    user-select: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

input, textarea, button, a {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
a:focus, a:visited, a:active {
    outline: none;
}

.search-bar, .search-anchor input {
    caret-color: transparent;
}
.search-bar, .search-anchor input:focus {
    caret-color: transparent;
}
@keyframes opacity {
    from {
        transform: translateY(-1%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes socialIcons {
    from {
        transform: translateY(60%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

body, html {
    background-color:  var(--background);
    color: white;
 

}
.hero {
    background-image: url(./images/background.png);
    height: 106vh;
    width: 100%;
    background-size: cover;             
    background-position: center center;  
    background-repeat: no-repeat;       

}
#container {
    padding: 3em 0;
}

section {
    padding-top: 13em;
    text-align: center;
    position: sticky;
    animation: opacity 1s ease-in-out, transition .3s ease-in-out;

}


:root {
    --tertiary: #ffffff;
    --background: #080808;

}


.menu-icon {
    margin-right: 3em;
    color: var(--tertiary);
}
.homelogo {
    width: 65%;
    margin: 0 auto 1em;
}
nav ul {
    position: fixed;
    z-index: 999;
    top: 2em;
    right: 2em;
    box-shadow: 1px 12px 29px rgba(0, 0, 0, 1);
    height: 50vh;
    list-style: none;
    border-radius: 4px;
    backdrop-filter: blur(85px);
    background: rgba(12, 12, 12, 1); 
    width: 70%;
    margin: auto;
    text-align: end;
    color: var(--tertiary);
    padding: 3em;
    transform: translateY(-140%);
    opacity: 0;
    transition: transform 0.2s ease-in-out, opacity .4s ease-in-out;
}
nav ul li {
        cursor: pointer; 
        margin: 2em 0;
        font-weight: 400;
        }
nav ul li:nth-of-type(1) {
            margin-bottom: 4em;
            margin-top: 0;
        }
nav ul li a {
            text-decoration: none;
            color: white;
            font-size: 1rem;
}
nav ul li a:hover {
                font-weight: 700;
            }


.open {
    transform: translateX(0%);
    opacity: 100%;
}

.logo {
    width: 45px;
    position: static;
    margin-left: 3em;
}

.icons, nav, .searchimg, .logo, .menu-icon {
    margin-top: 1.4em;
    margin-bottom: 1.5em;
}
.logo, .search, .navbar nav ul li {
    transition: .2s ease-in-out;
}
svg {
    cursor: pointer;
    color: white;
}
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4em;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    backdrop-filter: blur(85px);
    background: rgba(12, 12, 12, 0.9);


}

 .logo:hover {
    cursor: pointer;
    transform: scale(1.1);
    color: var(--tertiary);
}
.active {
    color: var(--tertiary);
    font-weight: 600;
    margin-left: auto;
    text-align: end;


}
button svg {
    color: white;
    
}

a {
    text-decoration: none;

}
#se-image a{
    text-align: center;
}

.search-bar p {
    display: flex;
    text-align: end;
    margin-right: 10px;
    justify-content: end;
}


.search-bar .search-anchor {
    width: 100%;
    text-align: center;
    
}

.search-bar button {
   border: none;
   height: 36px;
   border-bottom: 2px solid white;
   background-color: var(--background);

}


.search-bar input[type="search"] {
   width: 72%;
    height: 36px;
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom-color: var(--tertiary);
    background-color: var(--background);
    outline: none;
    color: White;
    padding-left: 1em;
    font-size: 16px;
}
.go-back {

    margin: 3em;
}
.search-image {
    width: 30px;
    margin: auto;
    max-width: 10%;
}
h4 {
    text-align: start;
    width: 65%;
    margin: 1em auto;
    font-size: 16px;
    font-weight: normal;
    color: white;
    margin-bottom: 4em;
}

.line {
    width: 50%;
    height: 1px;
    display: flex;
    justify-content: center;
    background-color: #464646;
    margin: 2em auto;
    margin-top: -1em;
}
.footer-left .line {
        width: 48%;
        height: 1px;
        background-color: #464646;
        margin: 2em auto;
    }


.majita-mag {
    margin-top: 12em;
    margin-bottom: 10em;
}

.majita-mag h5 {
    font-size: 16px;
    margin-left: 2.4em;
    
}
.majita-mag p {
    font-size: 15px;
    margin: 1em 2em 2em 2.6em;
    width: 80%;
    color:#bebebe
}
.majita-mag p i {
    font-size: 16px;
}
 .heading {
    text-align: center;
    font-weight: 700;
    margin-top: 2em;
    font-size: 20px;
    display: flex;
    justify-content: center;
 }

 strong {
    font-size: 14.5px;
 }
 .highlighted-creatives .home-text {
    text-align: center;
    width: 80%;
    margin: 1em auto;
    font-size: 14px;
 }

#image {
    width: 70%;
    border-radius: 12px;
    margin: 2em .8em;
}
#high-image {
    width: 70%;
    border-radius: 12px;
    margin: 2em 1em 6px;
}
.creative-box {
    display: flex;
    width: 100%;
    justify-content: center;   
    text-align: center;
}

.browse-btn {

    display: flex;
    justify-content: center;
    margin-bottom: 4em;
}
 .browse-btn button {
    height: 30px;
    width: 125px;
    font-size: 12px;
    border: none;
    border-radius: 35px;
    background-color: white;
    font-weight: 600;
    margin-top: 3em;
    cursor: pointer;
    color: black;
}
.browse-btn a {
    text-decoration: none;
    font-family: 'Poppins';
    color: black !important;
}
#creative-details {
    width: 100%;
    margin: 8em auto 2em;
}

#creative-details .heading {
    margin-bottom: 2em;
    font-size: 20px;
}
.search-bar, .search-anchor {
    display: flex;
    justify-content: center;
    margin:0 2em;
 
    text-decoration: none;

}
.hero-search .navbar{
    background-color: var(--background);
}

#creative-image {
    margin: auto;
    width: 93%;
    border-radius: 7px;
    display: flex;
    justify-content: center;
    transition: .3s ease-in-out;

}
#creative-name, #creative-questionOne, #creative-questionTwo , #creative-questionThree, #creative-questionFour   {
    font-size: 20px;
    margin: 1.1em;
    margin-bottom: .3em;
}
#creative-name {
    display: none;
}
#creative-answerOne, #creative-answerTwo, #creative-answerThree, #creative-answerFour, #creative-date {
    margin: 1.3em;
    margin-top: 0;
    margin-bottom: 3em;
    font-size: 15px;
    color: #c9c9c9;
}
#creative-date {
    color: grey;
    font-size: 14px;
    text-decoration: underline;
}
div #creative-date {
    color: grey;
    font-size: 14px;
    text-decoration: underline;
}
#se-image {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(370px, .1fr));
    justify-content: center;

}

#creative-questionOne , #creative-questionTwo, #creative-questionThree, #creative-questionFour  {
    font-weight: 600;
    font-size: 18px;
}
#creative-img {
    margin-left: 1.7em;
    width: 85%;
    border-radius: 3px;
}
.high-image:hover, #creative-image:hover {
    transform: scale(1.02);
}


#additional-questions ul {
    list-style: none;
    margin: 1.7em;
    margin-top: 0;
    margin-bottom: 2em;
    color: #c9c9c9;
}
#additional-questions ul li {
    font-size: 15px;
}

#highlighted-image div, #highlighted-image a {
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

#image {
    margin-bottom: 6px;
    margin-top: 3em;
}
#date-created {
    font-size: 12px;
    color: grey;
    font-weight: normal;


}
.message {
    text-align: center;
    margin-top: 7em;

}
.message p {
    font-size: 16px;
    width: 50%;
    margin: auto;
}
.message .footerlogo {

    width: 40%;
}
footer {
    background-color: #161515;
    display: block;
    padding: 4em 0;
    padding-top: 3em;
}
.footerlogo {
    width: 75px;
    margin: 5% 0 5%;
}
.footer-icons {
   display: flex;
   gap: 3em;
   justify-content: center;
}
.footer-right img {
   width: 30px;
   height: 30px;
   margin-top: 10%;
}
.footer-left  {
    width: 80%;
    margin: auto;
    text-align: center;
}
.footer-left .contactButton {
    opacity: 1;
}
.footer-right form {
    width: 80%;
    margin: auto;
    padding-top: 3em;
   
}
.footer-right form input {
    width: 100%;
    border: none;
    height: 40px;
}
.footer-right form input[type="submit"] {
    background-color: var(--tertiary);
    color: black;
    font-size: 15px;
    font-weight: 'Poppins';
    width: 100%;
    border-radius: 2px;
 
}
.footer-right form input[type="email"] {
    width: 100%;
    background-color: #242424;
    border-left: none;
    border-top: none;
    border-right: none;
    border: none;
    color: white;
    padding-left: 10px;
    box-sizing: border-box;
    outline: none;
    margin: 1em auto;
}
.footer-right form input[type="email"]:active {
   color: white;
}
.footer-right form label {
    color: white;
    font-weight: 600;
}

.footer-about {

    width: 100%;
    color: rgb(134, 134, 134);

}
.about-click {
    text-decoration: underline;
    line-height: 35px;
}

.vision {
    font-weight: 700;
    font-size: 17px;
    color: grey;
    margin-bottom: 1em;
}

.quick-links {
    display: none;
    text-align: center;
}



.footer-cont {
    opacity: 0;
    transition: opacity .2s ease-in-out;
    pointer-events: none; /* Prevent interaction when hidden */
}
.footer-cont.open-cont {
    opacity: 1;
    pointer-events: auto; /* Enable interaction when visible */
}

.footer-cont form {
    width: 80vw;
    max-width: 500px;
    min-width: 300px;
    margin: 0 auto;
    position: fixed;
    z-index: 999;
    font-size: 13px;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -60%);
    box-shadow: 1px 12px 29px rgba(0, 0, 0, 2);
    list-style: none;
    border-radius: 8px;
    backdrop-filter: blur(45px);
    background: rgba(17, 17, 17, 10); 
    color: var(--tertiary);
    padding: 3em 3em 6em ;
}

.footer-cont fieldset {
    border: none;
    padding: 2rem 0;
    padding-bottom: 0;
    border-bottom: 3px solid #3b3b4f;
  }
 .footer-cont form input, textarea {
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom-color: var(--tertiary);
    border-bottom-width: 3px;
    border-radius: 3px;
    backdrop-filter: blur(45px);
    background: rgba(17, 17, 17, 10);
    outline: none;
}
.footer-cont form input:active {
outline: none;
}

.footer-cont form .submit-btn {
background-color: var(--tertiary);
border: none;
margin-top: 0;
color: rgb(0, 0, 0);
font-weight: 500;
height: 34px;
}
.footer-cont form .submit-btn:hover {
opacity: 90%;
cursor: pointer;
}
.footer-cont form .submit-btn:active {
opacity: 70%;

}
.footer-cont form .error-message {
color: rgb(206, 43, 43);
font-size: 10px;
margin-top: 3px;
}

.footer-cont form fieldset:last-of-type {
    border-bottom: none;
  }
  
.footer-cont form label {
    display: block;
    color: white;
    margin: 0.5rem 0;
  }

  .footer-cont form input, .footer-cont form 
  textarea, .footer-cont form 
  select {
    margin: 10px 0 0 0;
    width: 100%;
    min-height: 2em;
    color: white;
  }

  .footer-cont form .cancelBtn {
    text-align: center;
    margin-top: 2em;
    cursor: pointer;
  }


.social-icons {
    display: flex;
    align-items: center;
    width: 65%;
    margin: -2em auto 0;
    animation: socialIcons .9s ease-in;
}
.social-icons i {
    margin-right: 10em;
  
}
.social-icons i a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
}
.social-icons i a svg {
    z-index: 1;
}
.social-icons i a p {
    padding: 7px;
    text-decoration: none;
    color: white;
    padding-right: 17px;
    font-size: 11px;
    padding-left: 3em;
    background: rgba(27, 27, 27, 0.637); 
    position: absolute;
    border-radius: 100px;
   

}




  @media (min-width: 384px) and (max-height: 500px){
    .hero {
       height: 150vh;
    }
    #image, #high-image {
        width: 50%;
    }
   }
    

@media (max-height: 545px) {
    .line {
       display: none;
    }
}

@media (min-width: 520px) {

    .homelogo {
        width: 37%;
        margin-left: 6.5em;

    }
    section {
        padding-top: 10em;
        width: 60%;
        margin-left: 7%;
        text-align: start;
    }
    h4 {
        width: 60%;
        text-align: start;
        margin-left: 4.8em;
        font-weight: normal;
    }
    .social-icons {
        display: flex;
        align-items: center;
        width: 60%;
        margin-top: -3em;
        margin-left: 6.2em;
    }
}


@media (min-width: 890px) {


    .logo {
        margin-left: 11em;
        margin-bottom: 1.3em;
    }
    .menu-icon {
       display: none;
       
    }

    .navbar {
        justify-content: unset;
    }
    .navbar nav ul {
        display: flex;
        color: white;
        opacity: 100%;
        height: 33px;
        backdrop-filter: none;
        background: none; 
        box-shadow: none;
        width: 720px;
        padding: 0;
        padding-right: 10em;
        transform: translateX(0);
        transition: transform 0.5s ease-in-out;

    }

    .navbar nav ul li {
        list-style: none;
        display: flex;
        margin: auto;
        font-weight: normal;
        align-items: center;
        justify-content: center;

    }
    .navbar nav ul li:nth-of-type(1) {
            display: none;
        }



    div #creative-date {

        text-align: unset;
    }

 
    .footer-icons {
        justify-content: end;
     }
     .footer-div {
        display: flex;
        justify-content: center;

    }
    .footer-about {
        width: 400px;
        text-align: start;
    }
    .footer-left {
        width: 450px;
        margin: 0;
        text-align: unset;
    }
    .footer-right form {
        margin: auto;
        padding-top: 3em;
       
    }
    .footer-cont form {
        width: 70vw;

    }


    .line {
        width: 40%;
    }
    .highlighted-creatives .home-text {

        width: 40%;

     }
     #image, #high-image, #results-container img {

        width: 250px;

    }

    .search-bar input[type="search"] {
        width: 60%;

     }

.majita-mag h5 {
    margin: auto;
    width: 55%;
}
.majita-mag p {
    margin: 1em auto 2em;
    width: 55%;


}
.majita-mag p i {
    font-size: 16px;
}

#creative-details {
    width: 70%;
    margin: 8em auto 6em;
}
#creative-details #se-image div, #creative-details #se-image a {
    text-decoration: none;
    margin: auto;
    display: inline-block;
    justify-content: center;
    text-align: center;
}


.right {
    width: 100%;
}


#creative-image {
    width: 43%;
    position: sticky;
    float: left;
    height: fit-content;
    margin: 1em;
    margin-left: 1em;
    margin-bottom: 0;
}
#creative-img {
    margin-right: 2em;
    width: 35%;
    float: right;


}
 #creatives {
    display: flex;
 }

    .footer-right form input {
        width: 100%;
        border: none;
        height: 40px;
    }
    .footer-right form {
        width: 100%;
        margin: auto;
        padding: 3em 3em 9em ;
    }

    .footer-right form input[type="email"] {
        width: 100%;
    }



    .navbar nav ul li:hover, .search:hover, .logo:hover {
        cursor: pointer;
        transform: scale(1.1);
        color: var(--tertiary);
    }
    .navbar nav ul .active {
        color: var(--tertiary);
        font-weight: 700;
        width: unset();
        border-left: none;
        border-right: none;
        border-top: none;
    }    

    .terms {
        width: 82%;
        max-width: 757px;
    }
    .message .footerlogo {

        width: 20%;
    }
}
