:root {
    --main-bgc: #fff;
    --purple: #aa25fc;
    --std-padding: 14%;
    --gray: rgb(131, 131, 131);
    --text: #000;
    --dark-mode: #2b2b2b;
    --see-through: #ffffffc4;
    --dark-text: #e1e1e1;
    --account-item: #dddddd70;
    --account-item-hover: #ddddddff;
    --bcg: url('Assets/Background.svg');
    --green: #01f76d;
    --green-text: #4d4d4d;
    --red: #ea0606;
    --red-text: #fdfdfd;
    --yellow: #ffff00;
    --yellow-text: #535353;
    --blue: #00bbff;
    --blue-text: #262626;

}

* {
    box-sizing: border-box;
    color: var(--text);
}

abbr {
    font-weight: inherit;
    color: inherit;
}

.center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
}

html,
body {
    width: 100vw;
    height: auto;
    margin: 0;
    padding: 0;
    background-color: var(--main-bgc);
    overflow-x: hidden;
    z-index: 1;
    position: relative;
    transition: 1s;
}

.sticky {
    position: fixed;
    top: 0;
}

main {
    z-index: -1;
    position: relative;
}

/* ======================== */
header {
    display: flex;
    height: 100px;
    background-color: var(--main-bgc);
    width: 100vw;
    transition: 1s;

    /* ONLY WHEN SCROLLED */
    /* border-bottom: 2px solid rgb(155, 155, 155);
     ;
     box-shadow: 0px 0px 15px rgb(90, 90, 90); */
}

#left-header-section {
    height: 100%;
    flex-basis: 50%;
    position: relative;
}

#title-container {
    display: inline-block;
    height: 60px;
    position: absolute;
    top: 50%;
    left: calc(2 * var(--std-padding));
    transform: translateY(-50%);
}

h1 {
    font-size: 55px;
    margin: 0;
    font-family: "Orbitron", Arial, Helvetica, sans-serif;
}

#right-header-section {
    height: 100%;
    flex-basis: 50%;
    position: relative;
}

#nav {
    display: flex;
    list-style-type: none;
    width: 75%;
    height: 100%;
    justify-content: center;
    justify-items: center;
    text-align: center;
    align-items: center;
    margin: 0;
}

.nav-item {
    width: 25%;
    height: 100%;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 20px;
    font-weight: 600;
    justify-content: center;
    justify-items: center;
    text-align: center;
    align-items: center;
    padding: 4px;
    cursor: pointer;
}

.nav-item:hover {
    font-size: 21px;
    color: var(--purple);
    transition: .5s;
}

#nav-alligment {
    position: absolute;
    width: 100%;
    height: 30%;
    left: 50%;
    top: 50%;
    transform: translateX(-50%)translateY(-50%);
}

#login {
    position: absolute;
    height: 100px;
    width: 100px;
    right: 20px;
}

#login-btn {
    background-image: url("Assets/Account/login-icon.svg");
    height: 30px;
    width: 30px;
    position: fixed;
    top: 50px;
    transform: translateY(-50%);
    right: 30px;
    background-position: 50% 50%;
    background-size: contain;
    background-repeat: no-repeat;
    transition: .5s;
    cursor: pointer;
}

#login-btn:hover {
    height: 40px;
    width: 40px;
}

#login-area {
    height: 250px;
    width: 350px;
    position: fixed;
    right: 0px;
    border-radius: 20px 0 0 20px;
    border: 2px dashed var(--text);
    border-right: none;
    background-color: var(--see-through);
    transition: .5s;
    top: 80px;
    opacity: 0;
    visibility: hidden;
}

#login-form {
    height: 100%;
    width: 100%;
    padding: 40px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.login-shown {
    top: 100px !important;
    opacity: 1 !important;
    height: 300px !important;
    width: 400px !important;
    visibility: visible !important;
}

.login-input {
    max-height: 50px;
    border: 2px solid grey;
    border-radius: 10px;
    padding: 10px;
    font-size: 16px;
    background-color: var(--main-bgc);
}

#login-submit-btn {
    background-image: linear-gradient(45deg, #0ffa, #f0fa);
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    text-align: center;
    border: none;
    padding: 4px;
    cursor: pointer;
}

#empty-login {
    height: 100%;
    width: 100%;
    background-color: var(--main-bgc);
    border-radius: 10px;
    color: var(--text);
    padding: 10px;
    font-size: 20px;
}



/* WElcome  */
#Welcome-container {
    display: flex;
    width: 100%;
    height: auto;
    min-height: 500px;
    padding-left: var(--std-padding);
    padding-right: var(--std-padding);
}

.welcome-item {
    width: 50%;
}

h2 {
    font-size: 50px;
    font-family: Helvetica, Arial, sans-serif;
    margin-bottom: 5px;

}

h3 {
    font-size: 66px;
    font-family: Helvetica, Arial, sans-serif;
    margin: 0;
    font-weight: 1000;

}

h4 {
    font-size: 40px;
    font-family: Helvetica, Arial, sans-serif;
    margin-top: 10px;

}

#welcome-image {
    width: 100%;
    height: 100%;
    background-position: 50% 50%;
    background-position: 50%;
    background-size: contain;
    background-repeat: no-repeat;
    background-image: url("/Assets/GuyComputer.png");
}

/* About Container */
#about-container {
    margin-top: 50px;
    display: flex;
    padding-left: var(--std-padding);
    padding-right: var(--std-padding);
    height: 600px;
}

.about-item {
    width: 50%;
    position: relative;
}

p {
    color: var(--gray);
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 600;
    font-size: 15px;
    max-width: 500px;
}

#about-image {
    background-image: url("Assets/guyThinker.png");
    height: 100%;
    width: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

/* Services */
#service {
    height: fit-content;
    /* background-image: url('Assets/Background.svg'); */
    background-size: auto;
    background-repeat: repeat;
}

#service-card-container {
    min-height: 550px;
    width: calc(100% - var(--std-padding));
    padding-top: 50px;
    padding-bottom: 50px;
    margin-left: calc(var(--std-padding) / 2);
    margin-right: calc(var(--std-padding) / 2);
    display: flex;
    justify-items: center;
    justify-content: center;


}

.service-card {
    position: relative;
    width: 250px;
    aspect-ratio: 1.68;
    background-color: var(--main-bgc);
    border-radius: 10px;
    box-shadow: 0px 0px 10px #555;
    transition: .5s;
    margin: 20px;

}

.service-card:hover {
    height: 420px;
    width: 300px;
    box-shadow: 0px 0px 20px #555;
}

.service-icon-container {
    height: calc(100% * 1/3);
}

h5 {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    font-size: 30px;
    margin: 0;
    width: 100%;
    text-align: center;
}

.service-card>p {
    width: 100%;
    overflow: hidden;
    padding: 10px;
}

#a1 {
    background-image: url("Assets/website-ui-ux-icon.svg");
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: 100px;
}

#a2 {
    background-image: url("Assets/programmer-computer-icon.svg");
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: 100px;
}

#a3 {
    background-image: url("Assets/website-icon.svg");
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: 100px;
}

#a4 {
    background-image: url("Assets/advice-icon.svg");
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: 100px;
}

/* Contact */
#contact {
    max-width: 1300px;
}

#contact-container {
    height: 500px;
    width: calc(100% - var(--std-padding));
    padding-top: 50px;
    padding-bottom: 50px;
    margin-left: calc(var(--std-padding) / 2);
    margin-right: calc(var(--std-padding) / 2);
    display: flex;
    justify-items: center;
    justify-content: center;
}

@media (min-width:1300px) {
    #contact {
        margin-left: calc((100% - 1300px) / 2);
    }
}

#quick-info {
    width: 100%;
    text-align: center;

}

.contact-section {
    display: flex;
    flex-direction: column;
    justify-items: center;
    justify-content: flex-start;
}

.contact-input {
    width: 100%;
    height: 100%;
    padding: 10px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 20px;
    border-radius: 10px;
    border: 1px solid grey;
    background-color: var(--main-bgc);

}

.input-field {
    margin: 10px;
    height: 50px;
    border-radius: 10px;
}

#message {
    height: 255px;
    padding: 10px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    border-radius: 10px;
    border: 1px solid grey;
    background-color: var(--main-bgc);
    resize: none;
    width: calc(100% - 20px);
}

.contact-section {
    width: 50%;
    height: 100%;
}

#send-btn {
    width: 50px;
    height: 50px;
    background-image: linear-gradient(45deg, #0ffa, #f0fa);
    position: absolute;
    right: 20px;
    top: 205px;
    border-radius: 10px;
}

#send-btn>div {
    height: 100%;
    width: 100%;
    background-image: url('Assets/arrow-next-right-icon.svg');
    background-size: 50%;
    background-position: 50% 50%;
    background-repeat: no-repeat;
}

#send-btn:hover {
    cursor: pointer;
}

@media (max-width:1810px) {
    h3 {
        font-size: 50px;
    }
}

@media (max-width:1295px) {
    h3 {
        font-size: 40px;
    }

    .center {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
}

/* Tabletmode */
@media (max-width:1100px) {
    h3 {
        font-size: 40px;
    }

    h2 {
        font-size: 30px;
    }

    h4 {
        font-size: 25px;
    }

    :root {
        --main-bgc: #fff;
        --purple: #aa25fc;
        --std-padding: 50px;
        --gray: rgb(131, 131, 131);
        --text: #000;
    }

    #right-header-section {
        display: none;
    }

    #service-card-container {
        min-height: 500px;
        width: 300px;
        padding-top: 50px;
        padding-bottom: 50px;
        margin-left: calc(var(--std-padding) / 2);
        margin-right: calc(var(--std-padding) / 2);
        display: block;
        position: absolute;
        left: 50%;
        transform: translateX(-60%);
    }

    .service-card {
        margin: 50px;
        margin-left: 25px;
        margin-right: 25px;
    }

    .service-card:hover {
        margin-left: 0px;
        margin-right: 0px;
    }

    #service {
        height: 1800px;
    }
}

/* Smallest */
@media (max-width:850px) {
    #Welcome-container {
        display: block;
        width: 100%;
        height: auto;
        min-height: 500px;
        padding-left: var(--std-padding);
        padding-right: var(--std-padding);
        background-position: 50% 50%;
        background-position: 50%;
        background-size: contain;
        background-repeat: no-repeat;
        background-image: url("/Assets/GuyComputer.png");
    }

    #welcome-image {
        display: none;
    }

    .welcome-item {
        background-color: var(--see-through);
        border-radius: 20px;
        padding: 10px;
        width: fit-content;
    }

    .welcome-item:nth-last-of-type(1) {
        display: none;
    }

    #about-container {
        margin-top: 0px !important;
        display: block;
        padding-left: var(--std-padding);
        padding-right: var(--std-padding);
        height: 300px;
        margin-top: 200px;
        background-position: 50% 50%;
        background-position: 50%;
        background-size: contain;
        background-repeat: no-repeat;
        background-image: url("/Assets/guyThinker.png");
    }

    #about-container>.about-item>.center {
        background-color: var(--see-through);
        border-radius: 10px;
        padding: 10px;
    }

    .about-item {
        width: 100%;

    }

    #service {
        margin-top: 100px;
    }
}

@media (max-width:450px) {
    #logo {
        height: 50px;
        margin: 0;
    }

    #title-container {
        display: inline-block;
        height: 60px;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translateY(-50%) translateX(-50%);
    }

    header {
        display: block;
        width: 100%;
    }

    input {
        width: 100%;
        height: 100%;
        padding: 10px;
        font-family: Arial, Helvetica, sans-serif;
        font-size: 14px;
        border-radius: 10px;
        border: 1px solid grey;
        background-color: var(--main-bgc);

    }

    .input-field {
        margin: 10px;
        height: 50px;
        border-radius: 10px;
    }

    #message {
        height: 255px;
        padding: 10px;
        font-family: Arial, Helvetica, sans-serif;
        font-size: 14px;
        border-radius: 10px;
        border: 1px solid grey;
        background-color: var(--main-bgc);
        resize: none;
        width: calc(100% - 20px);
    }

}

/* mouse div */
#mousediv {
    height: 300px;
    width: 200px;
    background: linear-gradient(to right,
            #0ff,
            #f0f);
    position: fixed;
    z-index: -2;

    translate: -50% -50%;
    border-radius: 50%;
    transform-origin: center center;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from {
        rotate: 0deg;
    }

    50% {
        scale: 1 0.5;
    }

    to {
        rotate: 360deg;
    }
}

#blurrr {
    backdrop-filter: blur(100px);
    top: -0;
    right: -0;
    left: -0;
    bottom: -0;
    position: fixed;
    top: 0px !important;
    left: 0px !important;
    z-index: -1;
}



#account {
    position: absolute;
    height: 100px;
    width: 100px;
    right: 20px;
    display: none;
}

#account-btn {
    background-image: url("Assets/Account/person-icon.svg");
    height: 30px;
    width: 30px;
    position: fixed;
    top: 50px;
    transform: translateY(-50%);
    right: 30px;
    background-position: 50% 50%;
    background-size: contain;
    background-repeat: no-repeat;
    transition: .5s;
    cursor: pointer;
}

#account-btn:hover {
    height: 40px;
    width: 40px;
}

#sign-up {
    text-decoration: underline;
}

#signup-form {
    backdrop-filter: blur(10px);
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

#signup-area {
    height: 500px;
    width: 500px;
    position: inherit;
    top: 50%;
    left: 50%;
    translate: -50% -50%;
    border-radius: 10px;
    border: 2px solid black;
    background-color: var(--see-through);
}

#signup-inner-area {
    height: 400px;
    width: 400px;
    display: flex;
    flex-direction: column;
    position: absolute;
    left: 50%;
    top: 50%;
    translate: -50% -50%;
    justify-content: space-around;
}

.signup-input {
    height: 50px;
    border: 2px solid grey;
    border-radius: 10px;
    padding: 10px;
    font-size: 16px;
    background-color: var(--main-bgc);
}

#signup-btn {
    background-image: linear-gradient(45deg, #0ffa, #f0fa);
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    text-align: center;
    border: none;
    padding: 4px;
    cursor: pointer;
    font-size: 20px;
    padding: 13px;
}
#account-panel{
    height: 80%;
    width: 300px;
    position: fixed;
    top: 50%;
    translate: 0% -50%;
    right: -30px;
    background-color:var(--see-through);
    border-radius: 20px 0 0 20px;
    border: 1px dashed var(--text);
    transition: .4s;
    opacity: 0;
    visibility: hidden;
}
#accoutn-inner{
    position: relative;
    height: 100%;
    width: 100%;
    text-align: center;
}
#accoutn-inner>h2{
    font-size: 40px !important;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--text);
}
#logout-btn{
    position: absolute;
    bottom: 50px;
    height: 40px;
    border-top: 1px dashed var(--text);
    width: 100%;
    text-align: center;
}
#logout-btn:hover{
    cursor: pointer;
}
#logout-btn>h3{
    font-size: 30px;
    margin: 5px;
    height: 50px;

}
#accoutn-container{
    display: flex;
    flex-direction: column;
}
.account-item{
    height:60px;
    transition: .5s;
    color: var(--text);
}
.account-item:hover{
    background-color: var(--account-item-hover);
    color: var(--purple);
    cursor: pointer;
}
.account-item>h4{
    font-size: 25px;
    margin-top: 15px;
    font-family: Helvetica, Arial, sans-serif;
    color: inherit;
}
.account-show{
    right: 0px !important;
    visibility: visible !important;
    opacity: 1 !important;
}
.displaynone{
    display: none !important; 
}
#pp-notice{
    position: absolute;
    bottom: 10px;
    width: 100%;
    text-align: center;
}
@media (max-width:640px) {

    #login {
        position: absolute;
        height: 60px;
        width: 60px;
        right: 0px;
        top: 70px;
        background-color: var(--main-bgc);
        border-radius: 0px 0px 0px 20px;
    }

    #login-btn {
        position: absolute;
        top: 50%;
        right: 10px;

    }

    #login-area {
        width: 100vw !important;
        top: 120px !important;
    }

    #login-form {
        width: 100vw;
    }


    #signup-area {
        height: 500px;
        width: 100vw;

    }

    #signup-inner-area {
        height: 400px;
        width: 90%;

    }
    #about-container{
        height: 400px !important;
    }
}




/* MESSAGE BOX */
#message-box{
    min-height: 60px;
    min-width: 100px;
    max-width: 90%;
    height: fit-content;
    width: fit-content;
    position: fixed;
    border-radius: 0 0 10px 10px;
    left: 50%;
    translate: -50%;
    top: 0px;
    display:inline-flex;
    padding: 10px;
}
#message-box>h6{
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    margin: 10px;
    color: black;
}
#message-box>p{
    font-family: Arial, Helvetica, sans-serif;
    margin: 10px  ;
}
