@import url('https://fonts.googleapis.com/css?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
    font-family: 'Poppins', sans-serif;
    }

.container{
    position: relative;
    background: var(--bg-color);
    color: var(--text-color);
}

:root {
    --bg-color: #081b29;
    --second-bg-color: #112e42;
    --text-color: #ededed;
    --main-color: #00abf0;
}

html {
    font-size: 62.5%;
    overflow-x: hidden;
}

body {
    background: var(--bg-color);
    color: var(--text-color);
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 9%;
    background: transparent;
    display: flex;
    align-items: center;
    z-index: 100;
}

.header.sticky{
    background: var(--bg-color);
}

#dark-container .header.sticky {
    background: white !important;
    z-index: 100; /* Ensure it's above other elements */
}

.logo {
    font-size: 2.5rem;
    color: var(--text-color);
    font-weight: 600;
    margin-right: auto;
}

.navbar{
    display: flex;
    justify-content: baseline;
}

.navbar a {
    font-size: 18px;
    color: var(--text-color);
    font-weight: 500;
    margin-right: 35px;
    transition: .5s;
}

.navbar a:hover{
    color: var(--main-color);
}

.navbar .toggle-icon{
    display: flex;
    font-size: 24px;
    cursor: pointer;
}

.navbar .toggle-icon.disabled{
    pointer-events: none;
}

.navbar .toggle-icon:hover{
    color: var(--main-color);
    transition: .5s;
}

#menu-icon{
    font-size: 3.6rem;
    color: var(--text-color);
    cursor: pointer;
    display: none;
}

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  }
  
  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }  

section {
    min-height: 100vh;
    padding: 10rem 9% 2rem
}

.home {
    display: flex;
    align-items: center;
    padding: 0 9%;
    background-image: url('../img/slika.webp');
    background-size:cover;
    background-position: center;
    background-repeat: no-repeat;
    animation: pojava 1s;
}

@keyframes pojava{
    from{
        opacity: 0;
    }
    to{
        opacity: 1;
    }
}
    
.home-content {
    max-width: 60rem; 
}

@keyframes levo{
    from{
        position: relative;
        left: -50%;
    }
    to{
        position: relative;
        left: 0%;
    }
}
    
.home-content h1 {
    font-size: 5.6rem;
    font-weight: 700;
    line-height: 1.3;
    animation: levo 2s; 
}

.home-content .text-animate {
    position: relative;
    width: 32.8rem;
    }

.home-content .text-animate h3 {
    font-size: 3.2rem;
    font-weight: 700;
    color: transparent;
    -webkit-text-stroke: .7px var(--main-color);
    animation: levo 2s; 
}
    
.home-content p {
    font-size: 1.6em;
    margin: 2rem 0 4rem;
    animation: levo 2s; 
}

.btn-box {
    position: relative;
    display: flex;
    justify-content: space-between;
    width: 34.5rem;
    height: 5rem;
    animation: levo 2s; 
}

.btn-box .btn {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 15rem;
    height: 100%;
    background: var(--main-color);
    border: .2rem solid var(--main-color);
    border-radius: .8rem;
    font-size: 1.8em;
    font-weight: 600;
    letter-spacing: .1rem;
    color: var(--bg-color);
    z-index: 1;
    overflow: hidden;
    transition: .5s;
}

.btn-box .btn:hover{
    color: var(--main-color);
}

.btn-box .btn:nth-child(2) {
    background: transparent;
    color: var(--main-color);
}

.btn-box .btn:nth-child(2):hover{
    color: var(--bg-color);
}

.btn-box .btn:nth-child(2)::before {
    background: var(--main-color);
}

.btn-box .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--bg-color);
    z-index: -1;
    transition: .5s;
}

.btn-box .btn:hover::before {
    width: 100%;
}

#text{
    display:none;
    }

.home-sci{
    position: static;
    margin-left: -60rem;
    margin-top: 60rem;
    width: 170px;
    display: flex;
    justify-content: space-between;
    animation: levo 2s; 
}

.home-sci a {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: .2rem solid var(--main-color);
    border-radius: 50%;
    font-size: 20px;
    color: var(--main-color);
    z-index: 1;
    overflow: hidden;
    transition: .5s;
}

.home-sci a:hover{
    color: var(--bg-color);
}

.home-sci a::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--main-color);
    z-index: -1;
    transition: .5s;
}

.home-sci a:hover::before{
    width: 100%;
}

.home-img img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    pointer-events: none;
    z-index: -1;
}

#dark-container{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: #ededed;
    color: #081b29;
}

#dark-container .logo,
#dark-container .navbar a{
    color: #081b29;
}

#dark-container .navbar a:hover,
#dark-container .navbar a.active{
    color: #00abf0;
}

#container,
#dark-container{
    clip-path: circle(0% at top right);
    transition-delay: 1.5s;
}

.active#container,
.active#dark-container {
    z-index: 1;
    clip-path: circle(150% at top right);
    transition: 1.5s cubic-bezier(0.645, 0.045, 0.355, 1);
    transition-delay: 0s;
}

.about{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background: var(--second-bg-color);
    color: var(--text-color);
    padding-bottom: 6rem;
}

#dark-container .about {
    background: #F5F5F5; /* light background */
    color: #081b29; /* dark text */
}

.heading{
    font-size: 5rem;
    margin-bottom: 3rem;
    text-align: center;
}

span{
    color: var(--main-color);
}

.about-img{
    position: relative;
    width: 25rem;
    height: 25rem;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-img img{
    width: 90%;
    border-radius: 50%;
    border: .2rem solid var(--main-color);
}

.about-img .circle-spin{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(0);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border-top: .2rem solid var(--second-bg-color);
    border-bottom: .2rem solid var(--second-bg-color);
    border-left: .2rem solid var(--main-color);
    border-right: .2rem solid var(--main-color);
}

#dark-container .about-img .circle-spin{
    border-top: .2rem solid #F5F5F5;
    border-bottom: .2rem solid #F5F5F5;
}

.about-content{
    text-align: center;
}

.about-content h3{
    font-size: 2.6rem;
}

.about-content p{
    font-size: 1.6rem;
    margin: 2rem 0 3rem;
}

.btn-box.btns{
    display: inline-block;
    width: 16rem;
}

.btn-box.btns a::before{
    background: var(--second-bg-color);
}

.education{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    min-height: auto;
    padding-bottom: 5rem;
}

.education .education-row{
    display: flex;
    flex-wrap: wrap;
    gap: 5rem;
}

.education-row .education-column{
    flex: 1 1 40rem;
}

.education-column .title{
    font-size: 2.5rem;
    margin: 0 0 1.5rem 2rem;
}

.education-column .education-box{
    border-left: .2rem solid var(--main-color);
}
.education-box .education-content{
    position: relative;
    padding-left: 2rem;
}

.education-box .education-content::before{
    content: '';
    position: absolute;
    top: 0;
    left: -1.1rem;
    width: 2rem;
    height: 2rem;
    background:var(--main-color);
    border-radius: 50%;
}

.education-content .content{
    position: relative;
    padding: 1.5rem;
    border: .2rem solid var(--main-color);
    border-radius: .6rem;
    margin-bottom: 2rem;
    overflow: hidden;
}

.education-content .content::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--second-bg-color);
    z-index: -1;
    transition: .5s;
}

#dark-container .education-content .content::before{
    background: #F5F5F5; /* light background */
    color: #081b29; /* dark text */
}

.education-content .content:hover::before{
    width: 100%;
}

.education-content .content .year{
    font-size: 1.5rem;
    color: var(--main-color);
    padding-bottom: .5rem;
}

.education-content .content .year i{
    padding-right: .5rem;
}

.education-content .content h3{
    font-size: 2rem;
}

.education-content .content p{
    font-size: 1.6rem;
    padding-top: .5rem;
}

.projects{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    min-height: auto;
    background: var(--second-bg-color);
    color: var(--text-color);
    padding-bottom: 8rem;
}

#dark-container .projects{
    background: #F5F5F5; /* light background */
    color: #081b29; /* dark text */
}

.projects .projects-row{
    margin-left: -3rem;
    margin-right: -3rem;
    padding-top: 3rem;
    display: flex;
    flex-wrap: wrap;
    text-align: center;
    align-items: center;
    gap: 5rem;
}

.projects-row .projects-card{
    perspective: 1000px;
}

.projects-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
  }

.projects-card:hover .projects-card-inner {
    transform: rotateY(180deg);
}

.project-card-front, .project-card-back {
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden; /* Safari */
    backface-visibility: hidden;
}

.project-card-front{
    border: .2rem solid var(--main-color);
    border-radius: 1rem;
    padding: 2rem;
    width: 40rem;
    height: 40rem;
    background: var(--bg-color);
    padding-top: 5rem;
}

#dark-container .project-card-front{
    background: #F5F5F5; /* light background */
    color: #081b29; /* dark text */
}

.project-card-back {
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 1rem;
    border: .2rem solid var(--main-color);
    padding: 2rem;
    background: var(--bg-color);
    transform: rotateY(180deg);
  }

  .project-card-back #prvi{
    padding-top: 10rem;
  }

  #dark-container .project-card-back{
    background: #F5F5F5; /* light background */
    color: #081b29; /* dark text */
}

.projects-img{
    display: flex;
    justify-content: center;
    align-items: center;
}

.projects-img .question{
    pointer-events: none;
    font-size: 300px;
    line-height: 30.5rem;
}

.projects-img img{
    width: 90%;
}

.projects h1{
    font-size: 4rem;
}

.projects p{
    font-size: 1.6rem;
    margin: 2rem 0 3rem;
}

.projects .prvi{
    padding-top: 7rem;
}

.projects .drugi{
    padding-top: 2rem;
}

.projects .treci{
    padding-top: 15rem;
}

.project-card-back a {
    text-decoration: none !important;
    color: inherit; /* Optional: Reset color as well */
}

.projects .projects-card .project-card-back a {
    text-decoration: none !important;
}

.contact{
    min-height: 100vh;
    width: 100vw;
    text-align: center;
    background-color: var(--bg-color);
}

#dark-container .contact{
    background: var(--text-color); /* light background */
    color: #081b29; /* dark text */
}

.contact .row{
    padding-top: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact .row .form-container{
    width: 75%;
    text-align: left;
    padding: 0 2rem;
}

.contact .row .form-container .text-red-400{
    color: red;
    font-size: 1.5rem;
}

.contact .row .form-container input, textarea{
    outline: none;
    border: 2px solid var(--main-color);
    height: 4rem;
    background: none;
    border-radius: .5rem;
    box-shadow: .2rem .2rem .5rem rgba(0, 0, 0, .2);
    padding: 0 1rem;
    margin: 1rem 0;
    font-size: 1.6rem;
}

.contact .row .form-container .inputBox{
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.contact .row .form-container .inputBox .kolona{
    width: 100%;
    display: flex;
    flex-flow: column;
}


::placeholder{
    color:var(--text-color);
    font-size: 1.3rem;
}

#dark-container ::placeholder{
    color:var(--bg-color);
}

.contact .row .form-container .inputBox input[type="text"]{
    width: 99%;
    color: var(--text-color);
}

.contact .row .form-container input[type="email"]{
    width: 99%;
    color: var(--text-color);
}

.contact .row .form-container textarea{
    width: 100%;
    height: 20rem;
    padding: 1rem;
    resize: none;
    color: var(--text-color);
}

.contact .row .form-container .unos{
    position: relative;
    display: flex;
    justify-content: space-between;
    width: 34.5rem;
    height: 5rem;
    left: 41%;
}

.contact .row .form-container .unos::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--bg-color);
    z-index: -1;
    transition: .5s;
}

.contact .row .form-container .unos:hover::before{
    width: 100%;
}

.contact .row .form-container .potvrda{
    margin-top: 2.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact .row .form-container input[type="submit"]{
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 15rem;
    height: 100%;
    cursor: pointer;
    background: var(--main-color);
    border: .2rem solid var(--main-color);
    border-radius: .8rem;
    font-size: 1.8em;
    font-weight: 600;
    letter-spacing: .1rem;
    color: var(--bg-color);
    z-index: 1;
    overflow: hidden;
    transition: .5s;
 }
 
 .contact .row .form-container input[type="submit"]:hover{
    color: var(--main-color);
    background-color: var(--bg-color);
 }

 .contact .row .form-container input[type="submit"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--bg-color);
    z-index: -1;
    transition: .5s;
}

.contact .row .form-container input[type="submit"]:hover::before {
    width: 100%;
}

.invalid-feedback,
.empty-feedback {
  display: none;
}

.was-validated :placeholder-shown:invalid ~ .empty-feedback {
  display: block;
}

.was-validated :not(:placeholder-shown):invalid ~ .invalid-feedback {
  display: block;
}

.is-invalid,
.was-validated :invalid {
  border-color: red;
}

footer{
    height: 10vh;
    width: 100%;
    background-color: var(--second-bg-color);
    position: relative;
    bottom: 0;
    margin-top: 10rem;
}

footer h1{
    padding-top: 2rem;
    padding-left: 10rem;
    color: var(--main-color);
    letter-spacing: .1rem;
    font-weight: 400;
    text-transform: capitalize;
}

#dark-container footer{
    background: var(--main-color); /* light background */
}

#dark-container footer h1{
    color: var(--bg-color); /* light background */
}

footer #gore {
    position: absolute;
    height: 50px;
    width: 50px;
    bottom: 10px;
    right: 100px;
    z-index: 99;
    font-size: 18px;
    border: 2px solid var(--main-color);
    outline: none;
    background-color: var(--second-bg-color);
    color: #000000;
    cursor: pointer;
    padding: 15px;
    border-radius: 1rem;
    transition: .5s;
  }

footer #gore i{
    position: absolute;
    top:33%;
    left:34.5%;
    color: var(--text-color);
}
  
footer #gore:hover {
    background-color: var(--main-color);
    color: var(--main-color);
  }

#dark-container footer #gore i{
    color: var(--bg-color);
}

#dark-container footer #gore{
    border: 2px solid var(--bg-color);
    background-color: var(--main-color);
}

#dark-container footer #gore:hover{
    background-color: var(--text-color);
    color: var(--main-color);
}

/* RESPONSIVE */
@media (max-width: 1281px) {
    html{
       font-size: 55%; 
    }

    .project-card-front{
        border: .2rem solid var(--main-color);
        border-radius: 1rem;
        padding: 2rem;
        width: 30rem;
        height: 30rem;
        background: var(--bg-color);
        padding-top: 5rem;
    }

    .projects .prvi{
        padding-top: 0rem;
    }

    .projects .prvi h1{
        font-size: 20px;
    }

    .projects .prvi p{
        font-size: 14px;
    }

    .projects .drugi{
        padding-top: 0rem;
    }

    .projects .drugi h1{
        font-size: 20px;
    }

    .projects .drugi p{
        font-size: 13px;
    }

    .projects-img .question{
        pointer-events: none;
        font-size: 200px;
        line-height: 20.5rem;
    }

    .projects .treci{
    padding-top: 7rem;
    }

    .contact{
        min-height: 90vh;
        width: 100vw;
        text-align: center;
        background-color: var(--bg-color);
    }

    .contact .row .form-container input, textarea{
        font-size: 1rem;
    }

    footer h1{
        padding-top: 3rem;
    }

    footer #gore{
        margin-bottom: 0rem;
    }
}

@media (max-width: 1024px) {

    .contact{
        min-height: 90vh;
        width: 100vw;
        text-align: center;
        background-color: var(--bg-color);
    }

    .contact .row .form-container .unos{
        position: relative;
        display: flex;
        justify-content: space-between;
        width: 34.5rem;
        height: 5rem;
        left: 38%;
    }

    footer h1{
        padding-top: 3rem;
        font-size: 16px;
    }

    footer #gore{
        margin-bottom: 1rem;
        height: 40px;
        width: 40px;
    }

    footer #gore i{
        height: 30px;
        width: 30px;
    }

    footer #gore i{
        position: absolute;
        top:27%;
        left:10%;
        color: var(--text-color);
    }
}

@media (max-width: 991px) {
    .header{
        padding: 2rem 4%;
    }

    section{
        padding: 10rem 4% 2rem;
    }

    .home{
        padding: 0 4%;
    }

    .contact .row .form-container .unos{
        position: relative;
        display: flex;
        justify-content: space-between;
        width: 34.5rem;
        height: 5rem;
        left: 39%;
    }

    .footer{
        padding: 2rem 4%;
    }
}

@media (max-width: 768px){
    html{
        font-size: 45%; 
     }

    #menu-icon{
        display: block;
    }

    #dark-container #menu-icon{
        color: var(--bg-color);
    }

    #dark-container .navbar{
        background: var(--main-color); /* light background */
        color: #081b29; /* dark text */
    }

    .navbar{
        position: absolute;
        top: -400px;
        left: 0;
        width: 100%;
        padding: 1rem 4%;
        background: var(--main-color);
        box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .2);
        z-index: 1;
        transition: .50s ease;
        transition-delay: .15s;
        display: flex;
        flex-direction: column;
    }

    .navbar.active{
        top: 100%;
        transition-delay: 0s;
    }

    .navbar a{
        display: block;
        font-size: 2rem;
        margin: 1rem 0;
        transform: translateY(-20rem);
        transition: .25s ease;
        transition-delay: 0s;
    }

    .navbar.active a{
        transform: translateY(0);
        transition-delay: .25s;
    }

    .navbar .active-nav{
        position: absolute;
        top: -500px;
        left: 0;
        width: 100%;
        height: 100%;
        background: var(--bg-color);
        border-top: .1rem solid rgba(0, 0, 0, .2);
        z-index: -1;
        transition: .25s ease;
        transition-delay: 0s;
    }

    #dark-container .navbar .active-nav{
        background: var(--text-color);
    }

    .navbar.active .active-nav{
        top: 0;
        transition-delay: .25s;
    }

    .navbar .toggle-icon{
        display: block;
        font-size: 2rem;
        margin: 1rem 0;
    }

    .home{
        background-image: url('../img/slika.webp');
    }

    #dark-container .home {
        background-image: url('../img/slika2.webp') !important; /* Check if the path is correct */
        background-size: cover;
        background-position: center;
    }

    .project-card-back .prvi h1{
        font-size: 15px;
    }

    .project-card-back .prvi p{
        font-size: 11.8px;
    }

    .project-card-back .drugi h1{
        font-size: 15px;
    }

    .project-card-back .drugi p{
        font-size: 11px;
    }

    .contact .row .form-container .inputBox{
        width: 100%;
        text-align: left;
        flex-flow: column;
        display: flex;
        justify-content:center;
    }

    ::placeholder{
        color:var(--text-color);
        font-size: 1.6rem;
    }

    .contact .row .form-container .inputBox input[type="text"]{
        width: 100%;
    }
    
    .contact .row .form-container .inputBox input[type="email"]{
        width: 100%;
    }
    
    .contact .row .form-container .success{
        font-size: 2.5rem;
        color: green;
    }

    .contact .row .form-container .unos{
        position: relative;
        display: flex;
        justify-content: space-between;
        width: 34.5rem;
        height: 5rem;
        left: 39%;
    }
}

@media (max-width: 664px) {
    .projects-row{
        display: flex;
        flex-direction: column;
    }

    footer h1{
        padding-top: 3rem;
        font-size: 12px;
    }

}

@media (max-width: 520px) {
    html{
        font-size: 50%;
    }

    .home{
        background-image: url('../img/slika5.webp');
    }

    #dark-container .home {
        background-image: url('../img/slika6.webp') !important; /* Check if the path is correct */
        background-size: cover;
        background-position: center;
    }

    .home-content h1{
        display: flex;
        flex-direction: column;
    }

    .home-sci a{
        width: 38px;
        height: 38px;
    }

    .home-sci{
        position: static;
        margin-left: -160rem;
        margin-top: 70rem;
        width: 170px;
        display: flex;
        justify-content: space-between;
    }

    .home-content{
        margin-right: 100rem;
        padding-right: 30rem;
    }

    footer h1{
        padding-left: 5rem;
        padding-top: 2rem;
        padding-right: 40%;
        display: flex;
        flex-direction: column;
    }

    footer #gore{
        margin-right: -8rem;
    }

    .contact .row .form-container{
        width: 85%;
        text-align: left;
        padding: 0 2rem;
    }

    ::placeholder{
        color:var(--text-color);
        font-size: 1.2rem;
    }

    .contact .row .form-container .inputBox{
        width: 100%;
        text-align: left;
        flex-flow: column;
        display: flex;
        justify-content:center;
    }

    .contact .row .form-container .inputBox input[type="text"]{
        width: 100%;
    }
    
    .contact .row .form-container .inputBox input[type="email"]{
        width: 100%;
    }
    
    .contact .row .form-container .success{
        font-size: 2.5rem;
        color: green;
    }

    .contact .row .form-container .unos{
        position: relative;
        display: flex;
        justify-content: space-between;
        width: 24.5rem;
        height: 5rem;
        left: 33%;
    }
}

@media (max-width: 468px) {
    .home-sci a{
        width: 38px;
        height: 38px;
    }

    .home-content {
        max-width: 50rem;
    }

    .home-sci{
        position: static;
        margin-right: 25rem;
        margin-top: 70rem;
        width: 170px;
        display: flex;
        justify-content: space-between;
    }

    .home-content{
        margin-right: auto;
        padding-right: 20rem;
    }

    ::placeholder{
        color:var(--text-color);
        font-size: 1.2rem;
    }

    footer #gore{
        margin-bottom: 1.5rem;
    }

    .contact .row .form-container{
        font-size:smaller;
    }

    .contact .row .form-container .unos{
        position: relative;
        display: flex;
        justify-content: space-between;
        width: 24.5rem;
        height: 5rem;
        left: 31%;
    }
}


@media (max-width: 415px) {
    .home-sci a{
        width: 38px;
        height: 38px;
    }

    .home-content {
        max-width: 40rem;
    }

    .home-content{
        margin-right: auto;
        padding-right: 10rem;
    }

    .home-sci{
        position: static;
        margin-right: 23rem;
        margin-top: 70rem;
        width: 170px;
        display: flex;
        justify-content: space-between;
    }

    .contact .row .form-container .unos{
        position: relative;
        display: flex;
        justify-content: space-between;
        width: 24.5rem;
        height: 5rem;
        left: 28%;
    }
}

@media (max-width: 393px) {
    .home-sci{
        position: static;
        margin-right: 24rem;
        margin-top: 70rem;
        width: 170px;
        display: flex;
        justify-content: space-between;
    }
}

@media (max-width: 376px) {
    .home-sci{
        position: static;
        margin-right: 20rem;
        margin-top: 70rem;
        width: 170px;
        display: flex;
        justify-content: space-between;
    }

    .contact .row .form-container .inputBox{
        width: 100%;
        text-align: left;
        flex-flow: column;
        display: flex;
        justify-content:center;
    }

    .contact .row .form-container .inputBox input[type="text"]{
        width: 100%;
    }
    
    .contact .row .form-container .inputBox input[type="email"]{
        width: 100%;
    }
    
    .contact .row .form-container .success{
        font-size: 2.5rem;
        color: green;
    }
}

@media (max-width: 361px) {
    .contact .row .form-container .unos{
        position: relative;
        display: flex;
        justify-content: space-between;
        width: 24.5rem;
        height: 5rem;
        left: 27%;
    }

    footer h1{
        padding-left: 5rem;
        padding-top: 2rem;
        padding-right: 35%;
        display: flex;
        flex-direction: column;
    }
}

@media (max-width: 345px) {
    .home-sci{
        position: static;
        margin-right: 18rem;
        margin-top: 80rem;
        width: 170px;
        display: flex;
        justify-content: space-between;
    }

    .home-content {
        max-width: 25rem;
    }

    .home-content{
        margin-right: auto;
        padding-right: 0rem;
    }

    .contact .row .form-container .unos{
        position: relative;
        display: flex;
        justify-content: space-between;
        width: 24.5rem;
        height: 5rem;
        left: 27%;
    }
}

@media (max-width: 330px) {
    .home-sci{
        position: static;
        margin-right: 17rem;
        margin-top: 80rem;
        width: 170px;
        display: flex;
        justify-content: space-between;
    }

    .home-content {
        max-width: 25rem;
    }

    .home-content{
        margin-right: auto;
        padding-right: 0rem;
    }

    .contact .row .form-container .unos{
        position: relative;
        display: flex;
        justify-content: space-between;
        width: 24.5rem;
        height: 5rem;
        left: 27%;
    }
}

@media (max-width: 325px) {
    .home-sci{
        position: static;
        margin-right: 16rem;
        margin-top: 80rem;
        width: 170px;
        display: flex;
        justify-content: space-between;
    }

    .home-content {
        max-width: 25rem;
    }

    .home-content{
        margin-right: auto;
        padding-right: 0rem;
    }

    .contact .row .form-container .unos{
        position: relative;
        display: flex;
        justify-content: space-between;
        width: 24.5rem;
        height: 5rem;
        left: 27%;
    }
}

@media (max-width: 320px) {
    .home-sci{
        position: static;
        margin-right: 15rem;
        margin-top: 80rem;
        width: 170px;
        display: flex;
        justify-content: space-between;
    }

    .home-content {
        max-width: 25rem;
    }

    .home-content{
        margin-right: auto;
        padding-right: 0rem;
    }

    .contact .row .form-container .unos{
        position: relative;
        display: flex;
        justify-content: space-between;
        width: 24.5rem;
        height: 5rem;
        left: 27%;
    }
}